Skip to content

Commit 51f3baa

Browse files
Remigiusz Kołłątajmarckleinebudde
authored andcommitted
can: mcba_usb: Add support for Microchip CAN BUS Analyzer
SocketCAN driver for Microchip CAN BUS Analyzer (http://www.microchip.com/development-tools/) Changes in v4: - possible memory leak fixed in mcba_usb_write_bulk_callback - LED support added - failure handling in mcba_usb_probe improved - C99 initializers for structs on stack Changes in v3: - improved/simplified CAN ID conversion - functions for transmission of skb and cmd separated - fixed/improved netif_stop_queue handling - style/cosmetic corrections Changes in v2: - Termination handling reimplemented to fit new netlink API (IFLA_CAN_TERMINATION) - Bitrate handling reimplemented to fit new netlink API (IFLA_CAN_BITRATE) - CAN ID conversion refactored (changed from macro to inline functions) - CAN DLC handling using get_can_dlc() - Endianness handling for can_speed introduced - Debugging removed - Redundant error prints removed - Style/cosmetic corrections (i.e. macro names, redefs, inits etc.) Signed-off-by: Remigiusz Kołłątaj <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 10c1c39 commit 51f3baa

File tree

3 files changed

+911
-0
lines changed

3 files changed

+911
-0
lines changed

drivers/net/can/usb/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,10 @@ config CAN_8DEV_USB
8181
This driver supports the USB2CAN interface
8282
from 8 devices (http://www.8devices.com).
8383

84+
config CAN_MCBA_USB
85+
tristate "Microchip CAN BUS Analyzer interface"
86+
---help---
87+
This driver supports the CAN BUS Analyzer interface
88+
from Microchip (http://www.microchip.com/development-tools/).
89+
8490
endmenu

drivers/net/can/usb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ obj-$(CONFIG_CAN_GS_USB) += gs_usb.o
88
obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb.o
99
obj-$(CONFIG_CAN_PEAK_USB) += peak_usb/
1010
obj-$(CONFIG_CAN_8DEV_USB) += usb_8dev.o
11+
obj-$(CONFIG_CAN_MCBA_USB) += mcba_usb.o

0 commit comments

Comments
 (0)