diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-10-02 01:15:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-05 03:43:33 -0400 |
commit | e1e499eef2200c2a7120c9ebf297d48b195cf887 (patch) | |
tree | e05c21cbd039f5f922087074b68a7d2cd8d75bb6 /include/linux/usb | |
parent | 0bfbedb14a8a96c529341bec88991a92b41fac72 (diff) |
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/usbnet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index f81473052059..86c31b753266 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||
@@ -90,6 +90,7 @@ struct driver_info { | |||
90 | #define FLAG_WLAN 0x0080 /* use "wlan%d" names */ | 90 | #define FLAG_WLAN 0x0080 /* use "wlan%d" names */ |
91 | #define FLAG_AVOID_UNLINK_URBS 0x0100 /* don't unlink urbs at usbnet_stop() */ | 91 | #define FLAG_AVOID_UNLINK_URBS 0x0100 /* don't unlink urbs at usbnet_stop() */ |
92 | #define FLAG_SEND_ZLP 0x0200 /* hw requires ZLPs are sent */ | 92 | #define FLAG_SEND_ZLP 0x0200 /* hw requires ZLPs are sent */ |
93 | #define FLAG_WWAN 0x0400 /* use "wwan%d" names */ | ||
93 | 94 | ||
94 | 95 | ||
95 | /* init device ... can sleep, or cause probe() failure */ | 96 | /* init device ... can sleep, or cause probe() failure */ |