forked from mirrors/linux
		
	can: kvaser_usb: Add support for Kvaser CAN/USB devices
This driver provides support for several Kvaser CAN/USB devices. Such kind of devices supports up to three CAN network interfaces. It has been tested with a Kvaser USB Leaf Light (one network interface) connected to a pch_can interface. The firmware version of the Kvaser device was 2.5.205. List of Kvaser devices supported by the driver: - Kvaser Leaf Light - Kvaser Leaf Professional HS - Kvaser Leaf SemiPro HS - Kvaser Leaf Professional LS - Kvaser Leaf Professional SWC - Kvaser Leaf Professional LIN - Kvaser Leaf SemiPro LS - Kvaser Leaf SemiPro SWC - Kvaser Memorator II HS/HS - Kvaser USBcan Professional HS/HS - Kvaser Leaf Light GI - Kvaser Leaf Professional HS (OBD-II connector) - Kvaser Memorator Professional HS/LS - Kvaser Leaf Light "China" - Kvaser BlackBird SemiPro - Kvaser USBcan R Signed-off-by: Daniel Berglund <db@kvaser.com> Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
		
							parent
							
								
									52cde85acc
								
							
						
					
					
						commit
						080f40a6fa
					
				
					 3 changed files with 1657 additions and 0 deletions
				
			
		|  | @ -13,6 +13,35 @@ config CAN_ESD_USB2 | ||||||
|           This driver supports the CAN-USB/2 interface |           This driver supports the CAN-USB/2 interface | ||||||
|           from esd electronic system design gmbh (http://www.esd.eu). |           from esd electronic system design gmbh (http://www.esd.eu). | ||||||
| 
 | 
 | ||||||
|  | config CAN_KVASER_USB | ||||||
|  | 	tristate "Kvaser CAN/USB interface" | ||||||
|  | 	---help--- | ||||||
|  | 	  This driver adds support for Kvaser CAN/USB devices like Kvaser | ||||||
|  | 	  Leaf Light. | ||||||
|  | 
 | ||||||
|  | 	  The driver gives support for the following devices: | ||||||
|  | 	    - Kvaser Leaf Light | ||||||
|  | 	    - Kvaser Leaf Professional HS | ||||||
|  | 	    - Kvaser Leaf SemiPro HS | ||||||
|  | 	    - Kvaser Leaf Professional LS | ||||||
|  | 	    - Kvaser Leaf Professional SWC | ||||||
|  | 	    - Kvaser Leaf Professional LIN | ||||||
|  | 	    - Kvaser Leaf SemiPro LS | ||||||
|  | 	    - Kvaser Leaf SemiPro SWC | ||||||
|  | 	    - Kvaser Memorator II HS/HS | ||||||
|  | 	    - Kvaser USBcan Professional HS/HS | ||||||
|  | 	    - Kvaser Leaf Light GI | ||||||
|  | 	    - Kvaser Leaf Professional HS (OBD-II connector) | ||||||
|  | 	    - Kvaser Memorator Professional HS/LS | ||||||
|  | 	    - Kvaser Leaf Light "China" | ||||||
|  | 	    - Kvaser BlackBird SemiPro | ||||||
|  | 	    - Kvaser USBcan R | ||||||
|  | 
 | ||||||
|  | 	  If unsure, say N. | ||||||
|  | 
 | ||||||
|  | 	  To compile this driver as a module, choose M here: the | ||||||
|  | 	  module will be called kvaser_usb. | ||||||
|  | 
 | ||||||
| config CAN_PEAK_USB | config CAN_PEAK_USB | ||||||
| 	tristate "PEAK PCAN-USB/USB Pro interfaces" | 	tristate "PEAK PCAN-USB/USB Pro interfaces" | ||||||
| 	---help--- | 	---help--- | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o | obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o | ||||||
| obj-$(CONFIG_CAN_ESD_USB2) += esd_usb2.o | obj-$(CONFIG_CAN_ESD_USB2) += esd_usb2.o | ||||||
|  | obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb.o | ||||||
| obj-$(CONFIG_CAN_PEAK_USB) += peak_usb/ | obj-$(CONFIG_CAN_PEAK_USB) += peak_usb/ | ||||||
| 
 | 
 | ||||||
| ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG | ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG | ||||||
|  |  | ||||||
							
								
								
									
										1627
									
								
								drivers/net/can/usb/kvaser_usb.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1627
									
								
								drivers/net/can/usb/kvaser_usb.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
		Reference in a new issue
	
	 Olivier Sobrie
						Olivier Sobrie