mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
usbnet: Use wwan%d interface name for mobile broadband devices
Add support for usbnet based devices like CDC-Ether to indicate that they are actually mobile broadband devices. In that case use wwan%d as default interface name. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0bfbedb14a
commit
e1e499eef2
3 changed files with 18 additions and 6 deletions
|
@ -90,6 +90,7 @@ struct driver_info {
|
|||
#define FLAG_WLAN 0x0080 /* use "wlan%d" names */
|
||||
#define FLAG_AVOID_UNLINK_URBS 0x0100 /* don't unlink urbs at usbnet_stop() */
|
||||
#define FLAG_SEND_ZLP 0x0200 /* hw requires ZLPs are sent */
|
||||
#define FLAG_WWAN 0x0400 /* use "wwan%d" names */
|
||||
|
||||
|
||||
/* init device ... can sleep, or cause probe() failure */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue