can: Topcliff: Add PCH_CAN driver.
CAN driver of Topcliff PCH Topcliff PCH is the platform controller hub that is going to be used in Intel's upcoming general embedded platform. All IO peripherals in Topcliff PCH are actually devices sitting on AMBA bus. Topcliff PCH has CAN I/F. This driver enables CAN function. Signed-off-by: Masayuki Ohtake <masa-korg@dsn.okisemi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
					parent
					
						
							
								6cebb17bee
							
						
					
				
			
			
				commit
				
					
						b21d18b51b
					
				
			
		
					 3 changed files with 1472 additions and 0 deletions
				
			
		|  | @ -82,6 +82,14 @@ config CAN_FLEXCAN | ||||||
| 	---help--- | 	---help--- | ||||||
| 	  Say Y here if you want to support for Freescale FlexCAN. | 	  Say Y here if you want to support for Freescale FlexCAN. | ||||||
| 
 | 
 | ||||||
|  | config PCH_CAN | ||||||
|  | 	tristate "PCH CAN" | ||||||
|  | 	depends on  CAN_DEV | ||||||
|  | 	---help--- | ||||||
|  | 	  This driver is for PCH CAN of Topcliff which is an IOH for x86 | ||||||
|  | 	  embedded processor. | ||||||
|  | 	  This driver can access CAN bus. | ||||||
|  | 
 | ||||||
| source "drivers/net/can/mscan/Kconfig" | source "drivers/net/can/mscan/Kconfig" | ||||||
| 
 | 
 | ||||||
| source "drivers/net/can/sja1000/Kconfig" | source "drivers/net/can/sja1000/Kconfig" | ||||||
|  |  | ||||||
|  | @ -17,5 +17,6 @@ obj-$(CONFIG_CAN_MCP251X)	+= mcp251x.o | ||||||
| obj-$(CONFIG_CAN_BFIN)		+= bfin_can.o | obj-$(CONFIG_CAN_BFIN)		+= bfin_can.o | ||||||
| obj-$(CONFIG_CAN_JANZ_ICAN3)	+= janz-ican3.o | obj-$(CONFIG_CAN_JANZ_ICAN3)	+= janz-ican3.o | ||||||
| obj-$(CONFIG_CAN_FLEXCAN)	+= flexcan.o | obj-$(CONFIG_CAN_FLEXCAN)	+= flexcan.o | ||||||
|  | obj-$(CONFIG_PCH_CAN)		+= pch_can.o | ||||||
| 
 | 
 | ||||||
| ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG | ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG | ||||||
|  |  | ||||||
							
								
								
									
										1463
									
								
								drivers/net/can/pch_can.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1463
									
								
								drivers/net/can/pch_can.c
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Masayuki Ohtake
				Masayuki Ohtake