net: sierra_net: device IDs for Aircard 320U++
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 net: sierra_net: device IDs for Aircard 320U++
Adding device IDs for Aircard 320U and two other devices found in the out-of-tree version of this driver.
--- drivers/net/usb/sierra_net.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
drivers/net/usb/sierra_net.c +10 -4
@@ -946,7 +946,7 @@ struct sk_buff *sierra_net_tx_fixup(struct usbnet *dev, struct sk_buff *skb, }static const u8 sierra_net_ifnum_list[] = {7 ,10 ,11 }; -static const struct sierra_net_info_data sierra_net_info_data_68A3 = { +static const struct sierra_net_info_data sierra_net_info_data_direct_ip = { .rx_urb_size =8 *1024 , .whitelist = { .infolen =ARRAY_SIZE (sierra_net_ifnum_list),
@@ -954,7 +954,7 @@ static const struct sierra_net_info_data sierra_net_info_data_68A3 = { } }; -static const struct driver_info sierra_net_info_68A3 = { +static const struct driver_info sierra_net_info_direct_ip = { .description ="Sierra Wireless USB-to-WWAN Modem" , .flags =FLAG_WWAN |FLAG_SEND_ZLP , .bind = sierra_net_bind,
@@ -962,12 +962,18 @@ static const struct driver_info sierra_net_info_68A3 = { .status = sierra_net_status, .rx_fixup = sierra_net_rx_fixup, .tx_fixup = sierra_net_tx_fixup, - .data = (unsigned long)&sierra_net_info_data_68A3, + .data = (unsigned long)&sierra_net_info_data_direct_ip, };static const struct usb_device_id products[] = { {USB_DEVICE (0x1199 ,0x68A3 ),/* Sierra Wireless USB-to-WWAN modem */ - .driver_info = (unsigned long ) &sierra_net_info_68A3}, + .driver_info = (unsigned long ) &sierra_net_info_direct_ip}, + {USB_DEVICE (0x0F3D ,0x68A3 ),/* AT&T Direct IP modem */ + .driver_info = (unsigned long ) &sierra_net_info_direct_ip}, + {USB_DEVICE (0x1199 ,0x68AA ),/* Sierra Wireless Direct IP LTE modem */ + .driver_info = (unsigned long ) &sierra_net_info_direct_ip}, + {USB_DEVICE (0x0F3D ,0x68AA ),/* AT&T Direct IP LTE modem */ + .driver_info = (unsigned long ) &sierra_net_info_direct_ip}, {},/* last item */ };
Signature · 6 lines
1.7.10 -- 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): 1338967090-7119-1-git-send-email-bjorn-yOkvZcmFvRU@public.gmane.org
Quoted 11 lines · Bjørn Mork
Adding device IDs for Aircard 320U and two other devices found in the out-of-tree version of this driver.
Cc Autif Khan <[email protected]>Cc Tom Cassidy <[email protected]>Signed-off-by Bjørn Mork <[email protected]>--- drivers/net/usb/sierra_net.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
Wait, Tom just sent me a patch adding these device ids to the sierra serial driver, why would the same device work for both drivers? Where should the device id go?
confused,
greg k-h
--
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): [email protected]
Quoted 13 lines · Greg KH
Quoted 11 lines · Bjørn Mork
Adding device IDs for Aircard 320U and two other devices found in the out-of-tree version of this driver.
Cc Autif Khan <[email protected]>Cc Tom Cassidy <[email protected]>Signed-off-by Bjørn Mork <[email protected]>--- drivers/net/usb/sierra_net.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
Quoted 2 lines
Wait, Tom just sent me a patch adding these device ids to the sierra serial driver, why would the same device work for both drivers?
Because it's a composite device. Was this a trick question? :-)
Quoted 1 line
Where should the device id go?
To both drivers. The device is similar to the 1199:68a3 device already supported by both drivers. It has a number of serial ports (depending on how many features like GPS etc is enabled) supported by the "sierra" driver and one ethernet interface speaking Sierra's HIP protocol supported by the "sierra_net" driver.
Bjørn
--
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): 87wr3kua2k.fsf-lbf33ChDnrE/[email protected]
Greg KH
Acked-byQuoted 19 lines · Bjørn Mork
Quoted 13 lines · Greg KH
Quoted 11 lines · Bjørn Mork
Adding device IDs for Aircard 320U and two other devices found in the out-of-tree version of this driver.
Cc Autif Khan <[email protected]>Cc Tom Cassidy <[email protected]>Signed-off-by Bjørn Mork <[email protected]>--- drivers/net/usb/sierra_net.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)Quoted 2 lines
Wait, Tom just sent me a patch adding these device ids to the sierra serial driver, why would the same device work for both drivers?
Because it's a composite device. Was this a trick question? :-)
Quoted 7 lines
Quoted 1 line
Where should the device id go?
To both drivers. The device is similar to the 1199:68a3 device already supported by both drivers. It has a number of serial ports (depending on how many features like GPS etc is enabled) supported by the "sierra" driver and one ethernet interface speaking Sierra's HIP protocol supported by the "
sierra_net" driver.
Ok, thanks for clearing that up, I'll take the serial patch, and I'm sure that David will take this one.
--
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
David Miller
maintainerFrom: Greg KH <[email protected]>
Date: Wed, 6 Jun 2012 21:16:33 +0900
Quoted 4 lines
Ok, thanks for clearing that up, I'll take the serial patch, and I'm sure that David will take this one.
I'll apply this, thanks.
Greg, could you not put that TAB at the beginning of your signoffs? It causes patchwork not to pick them up so I have to add it manually.
Thanks.
A message that is not in the archive (sent off-list or not yet received): 20120606.104018.1721491470277229085.davem-fT/PcQaiUtIeIZ0/[email protected]
Quoted 6 lines · David Miller
From: Greg KH <[email protected]>
Date: Wed, 6 Jun 2012 21:16:33 +0900Quoted 3 lines
Ok, thanks for clearing that up, I'll take the serial patch, and I'm sure that David will take this one.
Quoted 7 lines
Quoted 1 line
I'll apply this, thanks.
Greg, could you not put that TAB at the beginning of your signoffs? It causes patchwork not to pick them up so I have to add it manually.
Sorry, I didn't know that, I'll not do that in the future.
greg k-h
--
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