can/usb: Add PEAK-System PCAN USB adapters driver
v8 cover can/usb: Add PEAK-System PCAN USB adapters driver
That serie of patches adds the peak_usb driver which handles the PCAN-USB and PCAN-USB Pro adapters from PEAK-System (http://www.peak-system.com).
These patches are planned for kernel v3.03.00 and above.
Stephane Grosjean (3):
v8 changelog:
- fix v7 patches serie non breakable issue
can/usb: PEAK-System Technik USB adapters driver core can/usb: PEAK-System Technik PCAN-USB specific part can/usb: PEAK-System Technik PCAN-USB Pro specific part
drivers/net/can/usb/Kconfig | 6 + drivers/net/can/usb/Makefile | 1 + drivers/net/can/usb/peak_usb/Makefile | 2 + drivers/net/can/usb/peak_usb/pcan_usb.c | 901 ++++++++++++++++++++++ drivers/net/can/usb/peak_usb/pcan_usb_core.c | 951 +++++++++++++++++++++++ drivers/net/can/usb/peak_usb/pcan_usb_core.h | 146 ++++ drivers/net/can/usb/peak_usb/pcan_usb_pro.c | 1036 ++++++++++++++++++++++++++ drivers/net/can/usb/peak_usb/pcan_usb_pro.h | 178 +++++ 8 files changed, 3221 insertions(+), 0 deletions(-) create mode 100644 drivers/net/can/usb/peak_usb/Makefile create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb.c create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_core.c create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_core.h create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_pro.c create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_pro.h
Signature · 6 lines
1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1330701186-28734-1-git-send-email-s.grosjean-g4cQ8AsIbFbL9ATBNaCtXw@public.gmane.org
PATCH v8 2/3 can/usb: PEAK-System Technik PCAN-USB specific part
This patch adds the specific part which handles the PCAN-USB adapter from PEAK-System Technik (http://www.peak-system.com). The PCAN-USB adapter is a sja1000 based, mono-channel USB 1.1 adapter compliant with CAN specifications 2.0A (11-bit ID) and 2.0B (29-bit ID).
--- drivers/net/can/usb/peak_usb/Makefile | 2 +- drivers/net/can/usb/peak_usb/pcan_usb.c | 901 +++++++++++++++++++++++++++++++ 2 files changed, 902 insertions(+), 1 deletions(-) create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb.c
drivers/net/can/usb/peak_usb/Makefile +1 -1
@@ -1,2 +1,2 @@ obj-$(CONFIG_CAN_PEAK_USB) += peak_usb.o -peak_usb-y = pcan_usb_core.o +peak_usb-y = pcan_usb_core.o pcan_usb.o
drivers/net/can/usb/peak_usb/pcan_usb.c new file +901 -0
901 lines not on this page · raw message
Signature · 6 lines
1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Stephane Grosjean
That serie of patches adds the
peak_usbdriver which handles the PCAN-USB and PCAN-USB Pro adapters from PEAK-System (http://www.peak-system.com).
These patches are planned for kernel v3.03.00 and above.
Tnx, pushed to can-next/master.
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
PATCH v8 1/3 can/usb: PEAK-System Technik USB adapters driver core
In reply to Stephane GrosjeanThis patch adds the core of the peak_usb driver which handles PEAK-System Technik PCAN USB adapters. It defines the parts which are common to the PCAN-USB adapters: can network interfaces management, network-to/from-usb data path interface, timestamps management...
--- drivers/net/can/usb/Kconfig | 6 + drivers/net/can/usb/Makefile | 1 + drivers/net/can/usb/peak_usb/Makefile | 2 + drivers/net/can/usb/peak_usb/pcan_usb_core.c | 951 ++++++++++++++++++++++++++ drivers/net/can/usb/peak_usb/pcan_usb_core.h | 146 ++++ 5 files changed, 1106 insertions(+), 0 deletions(-) create mode 100644 drivers/net/can/usb/peak_usb/Makefile create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_core.c create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_core.h
drivers/net/can/usb/Kconfig +6 -0
@@ -13,4 +13,10 @@ config CAN_ESD_USB2 This driver supports the CAN-USB/2 interface from esd electronic system design gmbh (http://www.esd.eu). +config CAN_PEAK_USB + tristate "PEAK PCAN-USB/USB Pro interfaces" + ---help--- + This driver supports the PCAN-USB and PCAN-USB Pro adapters + from PEAK-System Technik (http://www.peak-system.com). + endmenu
drivers/net/can/usb/Makefile +1 -0
@@ -4,5 +4,6 @@ obj-$(CONFIG_CAN_EMS_USB) += ems_usb.o obj-$(CONFIG_CAN_ESD_USB2) += esd_usb2.o +obj-$(CONFIG_CAN_PEAK_USB) += peak_usb/ ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
drivers/net/can/usb/peak_usb/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +obj-$(CONFIG_CAN_PEAK_USB) += peak_usb.o +peak_usb-y = pcan_usb_core.o
drivers/net/can/usb/peak_usb/pcan_usb_core.c new file +951 -0
951 lines not on this page · raw message
drivers/net/can/usb/peak_usb/pcan_usb_core.h new file +146 -0
146 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH v8 3/3 can/usb: PEAK-System Technik PCAN-USB Pro specific part
In reply to Stephane GrosjeanThis patch adds the specific part which handles the PCAN-USB Pro adapter from PEAK-System Technik (http://www.peak-system.com). The PCAN-USB Pro adapter is a dual-channel USB 2.0 adapter compliant with CAN specifications
--- drivers/net/can/usb/peak_usb/Makefile | 2 +- drivers/net/can/usb/peak_usb/pcan_usb_pro.c | 1036 +++++++++++++++++++++++++++ drivers/net/can/usb/peak_usb/pcan_usb_pro.h | 178 +++++ 3 files changed, 1215 insertions(+), 1 deletions(-) create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_pro.c create mode 100644 drivers/net/can/usb/peak_usb/pcan_usb_pro.h
drivers/net/can/usb/peak_usb/Makefile +1 -1
@@ -1,2 +1,2 @@ obj-$(CONFIG_CAN_PEAK_USB) += peak_usb.o -peak_usb-y = pcan_usb_core.o pcan_usb.o +peak_usb-y = pcan_usb_core.o pcan_usb.o pcan_usb_pro.o
drivers/net/can/usb/peak_usb/pcan_usb_pro.c new file +1036 -0
1,036 lines not on this page · raw message
drivers/net/can/usb/peak_usb/pcan_usb_pro.h new file +178 -0
178 lines not on this page · raw message
Signature · 1 line
1.7.5.4