usb to serial
device, mush them all into one file, with a macro, so as to make it easy
to add new ones.
Cc: René Bürgel rene.buer...@sohard.de
Cc: Wei Shuai cpuw...@gmail.com
Cc: Josh Triplett j...@joshtriplett.org
Cc: Frans Klaver frans.kla...@xsens.com
Cc: Wesley W. Terpstra w.terps
If you want to download Infineon modem via USB, this Infineon USB
flashloader driver is required.
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/usb/serial/Kconfig | 10 ++
drivers/usb/serial/Makefile |1 +
drivers/usb/serial/flashloader.c | 39
Thank you David. yes in the core driver, FLAG_NOARP will be translated
to IFF_NOARP
2013/1/21, David Miller da...@davemloft.net:
From: Wei Shuai cpuw...@gmail.com
Date: Mon, 21 Jan 2013 10:20:22 +0800
The main problem is that these devices don't support ethernet.
He's saying your comment
We do have some USB net devices, which cannot do ARP.
so we can introduce a new flag FLAG_NOARP, then client drivers
can easily handle this kind of devices
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files
Infineon(now Intel) HSPA Modem platform NCM cannot support ARP.
we can define a new common structure wwan_noarp_info.
Then more similiar NO ARP devices can be handled easily
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/cdc_ncm.c | 21 +
1 files changed
we do have some USB net devices, which cannot do ARP. so we can introduce a new
flag
FLAG_NOARP, then client drivers can easily handle these kind of devices
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 3d4bf01..f34b2eb 100644
--- a/drivers/net/usb
we do have some USB net devices, which cannot do ARP. so we can introduce a new
flag
FLAG_NOARP, then client drivers can easily handle these kind of devices
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 3d4bf01..f34b2eb 100644
--- a/drivers/net/usb
Infineon(now Intel) HSPA Modem platform NCM cannot support ARP. we can define a
new common structure wwan_noarp_info.
Then more similiar NO ARP devices can be handled easily
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/cdc_ncm.c | 21 +
1 files changed
sorry for wrongly use git, I cannot recall them back. There is no
different between them. Anything else I can fix this? Resubmit?
2013/1/19, David Miller da...@davemloft.net:
Why did you submit this _4_ times?
I'm deleteing everything, I'm not even going to try and guess why
you submitted
we do have some USB net devices, which cannot do ARP. so we can introduce a new
flag
FLAG_NOARP, then client drivers can easily handle these kind of devices
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files
we do have some USB net devices, which cannot do ARP. so we can introduce a new
flag
FLAG_NOARP, then client drivers can easily handle these kind of devices
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/usbnet.c |4
include/linux/usb/usbnet.h |1 +
2 files
Infineon(now Intel) HSPA Modem platform NCM cannot support ARP. we can define a
new common structure wwan_noarp_info.
Then more similiar NO ARP devices can be handled easily
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/cdc_ncm.c | 21 +
1 files changed
OK, I will follow up. after add FLAG_NOARP, how should I handle
IFF_NOARP? will I do it in cdc_ncm.c or usb_net.c?
2013/1/17 Dan Williams d...@redhat.com:
On Sat, 2013-01-12 at 19:34 +0800, Wei Shuai wrote:
Infineon(now Intel) HSPA Modem platform NCM cannot support ARP. so I
introduce a flag
...@redhat.com:
On Sat, 2013-01-12 at 15:35 -0800, David Miller wrote:
From: Wei Shuai cpuw...@gmail.com
Date: Sat, 12 Jan 2013 19:34:39 +0800
Infineon(now Intel) HSPA Modem platform NCM cannot support ARP. so I
introduce a flag CDC_NCM_DRIVER_DATA_NOARP which is defined in
driver_info:data. so
Infineon(now Intel) HSPA Modem platform NCM cannot support ARP. so I introduce
a flag CDC_NCM_DRIVER_DATA_NOARP which is defined in driver_info:data. so later
on, if more such buggy devices are found, they could use same flag to handle.
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers
Signed-off-by: Wei Shuai cpuw...@gmail.com
---
drivers/net/usb/cdc_ncm.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index 71b6e92..9903f79 100644
--- a/drivers/net/usb/cdc_ncm.c
+++ b/drivers/net
Hi Alexey,
Recently I met a Modem which cannot do ARP. But I found our
cdc_ncm_bind() function cannot handle this special case. Do you have any
plan to handle it?
static int cdc_ncm_bind(struct usbnet *dev, struct usb_interface *intf)
{
...
/* cannot do ARP */
19 matches
Mail list logo