Skip to contentSkip to conversation

usb driver for intellon int51x1 based PLC like devolo dlan duo

PATCH In review Peter Holik 2 participants 2 messages Apr 18, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 usb driver for intellon int51x1 based PLC like devolo dlan duo

usb driver for intellon int51x1 based PLC like devolo dlan duo with improvements suggested by the guys of the mailinglist:
- name and prefix with int51x1 (Florian Fainelli)
- use conversion functions cpu_to_le16 / le16_to_cpu (Oliver Neukum)
- use pskb_may_pull instead of skb->len (Ilpo Järvinen)
- better code in tx_fixup (Ilpo Järvinen)
- use gotos for error handling (Ilpo Järvinen)

---
 drivers/net/usb/Kconfig   |    8 ++
 drivers/net/usb/Makefile  |    1 +
 drivers/net/usb/int51x1.c |  253 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 262 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/usb/int51x1.c
drivers/net/usb/Kconfig +8 -0
index 8ee2103..86c9e86 100644
@@ -345,4 +345,12 @@ config USB_HSO
 	  To compile this driver as a module, choose M here: the
 	  module will be called hso.
 
+config USB_NET_INT51X1
+	tristate "Intellon PLC based usb adapter"
+	depends on USB_USBNET
+	help
+	  Choose this option if you're using a USB-based PLC
+	  (Powerline Communications) solution with an Intellon
+	  int51x1 chip, like the "devolo dLan duo".
+
 endmenu
drivers/net/usb/Makefile +1 -0
index 88a87ee..f4402a0 100644
@@ -19,4 +19,5 @@ obj-$(CONFIG_USB_NET_CDC_SUBSET)	+= cdc_subset.o
 obj-$(CONFIG_USB_NET_ZAURUS)	+= zaurus.o
 obj-$(CONFIG_USB_NET_MCS7830)	+= mcs7830.o
 obj-$(CONFIG_USB_USBNET)	+= usbnet.o
+obj-$(CONFIG_USB_NET_INT51X1)	+= int51x1.o
 
drivers/net/usb/int51x1.c new file +253 -0

253 lines not on this page · raw message

Signature · 9 lines
1.6.2.1




--
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
#1 lore raw
Quoted 24 lines · Peter Holik

usb driver for intellon int51x1 based PLC like devolo dlan duo with improvements suggested by the guys of the mailinglist:
- name and prefix with int51x1 (Florian Fainelli)
- use conversion functions cpu_to_le16 / le16_to_cpu (Oliver Neukum)
- use pskb_may_pull instead of skb->len (Ilpo Järvinen)
- better code in tx_fixup (Ilpo Järvinen)
- use gotos for error handling (Ilpo Järvinen)

---
 drivers/net/usb/Kconfig   |    8 ++
 drivers/net/usb/Makefile  |    1 +
 drivers/net/usb/int51x1.c |  253 +++++++++++++++++++++++++++++++++++++++++++++

 3 files changed, 262 insertions(+), 0 deletions(-)

 create mode 100644 drivers/net/usb/int51x1.c

drivers/net/usb/Kconfig +0 -0
index 8ee2103..86c9e86 100644
@@ -345,4 +345,12 @@ config USB_HSO

         To compile this driver as a module, choose M here: the module will be called hso.

Quoted 7 lines

+config USB_NET_INT51X1
+       tristate "Intellon PLC based usb adapter"
+       depends on USB_USBNET
+       help
+         Choose this option if you're using a USB-based PLC
+         (Powerline Communications) solution with an Intellon
+         int51x1 chip, like the "devolo dLan duo".

A few more details...

+         Choose this option if you're using a 14Mb USB-based PLC
+         (Powerline Communications) solution with an Intellon
+         INT51x1/INT5200 chip, like the "devolo dLan duo".

Is Homeplug a valid name too for this device? There are so many Home... "standards" I get them confused.

Signature · 2 lines
Jon Smirl
[email protected]