GNU Linux-libre 5.10.217-gnu1
[releases.git] / drivers / net / usb / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # USB Network devices configuration
4 #
5 comment "Host-side USB support is needed for USB Network Adapter support"
6         depends on !USB && NET
7
8 menuconfig USB_NET_DRIVERS
9         tristate "USB Network Adapters"
10         default USB if USB
11         depends on USB && NET
12
13 if USB_NET_DRIVERS
14
15 config USB_CATC
16         tristate "USB CATC NetMate-based Ethernet device support"
17         select CRC32
18         help
19           Say Y if you want to use one of the following 10Mbps USB Ethernet
20           device based on the EL1210A chip. Supported devices are:
21           Belkin F5U011
22           Belkin F5U111
23           CATC NetMate
24           CATC NetMate II
25           smartBridges smartNIC
26
27           This driver makes the adapter appear as a normal Ethernet interface,
28           typically on eth0, if it is the only ethernet device, or perhaps on
29           eth1, if you have a PCI or ISA ethernet card installed.
30
31           To compile this driver as a module, choose M here: the
32           module will be called catc.
33
34 config USB_KAWETH
35         tristate "USB KLSI KL5USB101-based ethernet device support"
36         help
37           Say Y here if you want to use one of the following 10Mbps only
38           USB Ethernet adapters based on the KLSI KL5KUSB101B chipset:
39           3Com 3C19250
40           ADS USB-10BT
41           ATEN USB Ethernet
42           ASANTE USB To Ethernet Adapter
43           AOX Endpoints USB Ethernet
44           Correga K.K.
45           D-Link DSB-650C and DU-E10
46           Entrega / Portgear E45
47           I-O DATA USB-ET/T
48           Jaton USB Ethernet Device Adapter
49           Kingston Technology USB Ethernet Adapter
50           Linksys USB10T
51           Mobility USB-Ethernet Adapter
52           NetGear EA-101
53           Peracom Enet and Enet2
54           Portsmith Express Ethernet Adapter
55           Shark Pocket Adapter
56           SMC 2202USB
57           Sony Vaio port extender
58
59           This driver is likely to work with most 10Mbps only USB Ethernet
60           adapters, including some "no brand" devices. It does NOT work on
61           SmartBridges smartNIC or on Belkin F5U111 devices - you should use
62           the CATC NetMate driver for those. If you are not sure which one
63           you need, select both, and the correct one should be selected for
64           you.
65
66           This driver makes the adapter appear as a normal Ethernet interface,
67           typically on eth0, if it is the only ethernet device, or perhaps on
68           eth1, if you have a PCI or ISA ethernet card installed.
69
70           To compile this driver as a module, choose M here: the
71           module will be called kaweth.
72
73 config USB_PEGASUS
74         tristate "USB Pegasus/Pegasus-II based ethernet device support"
75         select MII
76         help
77           Say Y here if you know you have Pegasus or Pegasus-II based adapter.
78           If in doubt then look at <file:drivers/net/usb/pegasus.h> for the
79           complete list of supported devices.
80
81           If your particular adapter is not in the list and you are _sure_ it
82           is Pegasus or Pegasus II based then send me
83           <petkan@users.sourceforge.net> vendor and device IDs.
84
85           To compile this driver as a module, choose M here: the
86           module will be called pegasus.
87
88 config USB_RTL8150
89         tristate "USB RTL8150 based ethernet device support"
90         select MII
91         help
92           Say Y here if you have RTL8150 based usb-ethernet adapter.
93           Send me <petkan@users.sourceforge.net> any comments you may have.
94           You can also check for updates at <http://pegasus2.sourceforge.net/>.
95
96           To compile this driver as a module, choose M here: the
97           module will be called rtl8150.
98
99 config USB_RTL8152
100         tristate "Realtek RTL8152/RTL8153 Based USB Ethernet Adapters"
101         select MII
102         select CRC32
103         select CRYPTO
104         select CRYPTO_HASH
105         select CRYPTO_SHA256
106         help
107           This option adds support for Realtek RTL8152 based USB 2.0
108           10/100 Ethernet adapters and RTL8153 based USB 3.0 10/100/1000
109           Ethernet adapters.
110
111           To compile this driver as a module, choose M here: the
112           module will be called r8152.
113
114 config USB_LAN78XX
115         tristate "Microchip LAN78XX Based USB Ethernet Adapters"
116         select MII
117         select PHYLIB
118         select MICROCHIP_PHY
119         select FIXED_PHY
120         select CRC32
121         help
122           This option adds support for Microchip LAN78XX based USB 2
123           & USB 3 10/100/1000 Ethernet adapters.
124           LAN7800 : USB 3 to 10/100/1000 Ethernet adapter
125           LAN7850 : USB 2 to 10/100/1000 Ethernet adapter
126           LAN7801 : USB 3 to 10/100/1000 Ethernet adapter (MAC only)
127
128           Proper PHY driver is required for LAN7801.
129
130           To compile this driver as a module, choose M here: the
131           module will be called lan78xx.
132
133 config USB_USBNET
134         tristate "Multi-purpose USB Networking Framework"
135         select MII
136         help
137           This driver supports several kinds of network links over USB,
138           with "minidrivers" built around a common network driver core
139           that supports deep queues for efficient transfers.  (This gives
140           better performance with small packets and at high speeds).
141
142           The USB host runs "usbnet", and the other end of the link might be:
143
144           - Another USB host, when using USB "network" or "data transfer"
145             cables.  These are often used to network laptops to PCs, like
146             "Laplink" parallel cables or some motherboards.  These rely
147             on specialized chips from many suppliers.
148
149           - An intelligent USB gadget, perhaps embedding a Linux system.
150             These include PDAs running Linux (iPaq, Yopy, Zaurus, and
151             others), and devices that interoperate using the standard
152             CDC-Ethernet specification (including many cable modems).
153
154           - Network adapter hardware (like those for 10/100 Ethernet) which
155             uses this driver framework.
156
157           The link will appear with a name like "usb0", when the link is
158           a two-node link, or "eth0" for most CDC-Ethernet devices.  Those
159           two-node links are most easily managed with Ethernet Bridging
160           (CONFIG_BRIDGE) instead of routing.
161
162           For more information see <http://www.linux-usb.org/usbnet/>.
163
164           To compile this driver as a module, choose M here: the
165           module will be called usbnet.
166
167 config USB_NET_AX8817X
168         tristate "ASIX AX88xxx Based USB 2.0 Ethernet Adapters"
169         depends on USB_USBNET
170         select CRC32
171         select PHYLIB
172         default y
173         help
174           This option adds support for ASIX AX88xxx based USB 2.0
175           10/100 Ethernet adapters.
176
177           This driver should work with at least the following devices:
178             * Aten UC210T
179             * ASIX AX88172
180             * Billionton Systems, USB2AR
181             * Billionton Systems, GUSB2AM-1G-B
182             * Buffalo LUA-U2-KTX
183             * Corega FEther USB2-TX
184             * D-Link DUB-E100
185             * Hawking UF200
186             * Linksys USB200M
187             * Netgear FA120
188             * Sitecom LN-029
189             * Sitecom LN-028
190             * Intellinet USB 2.0 Ethernet
191             * ST Lab USB 2.0 Ethernet
192             * TrendNet TU2-ET100
193
194           This driver creates an interface named "ethX", where X depends on
195           what other networking devices you have in use.
196
197 config USB_NET_AX88179_178A
198         tristate "ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet"
199         depends on USB_USBNET
200         select CRC32
201         select PHYLIB
202         default y
203         help
204           This option adds support for ASIX AX88179 based USB 3.0/2.0
205           to Gigabit Ethernet adapters.
206
207           This driver should work with at least the following devices:
208             * ASIX AX88179
209             * ASIX AX88178A
210             * Sitcomm LN-032
211
212           This driver creates an interface named "ethX", where X depends on
213           what other networking devices you have in use.
214
215 config USB_NET_CDCETHER
216         tristate "CDC Ethernet support (smart devices such as cable modems)"
217         depends on USB_USBNET
218         default y
219         help
220           This option supports devices conforming to the Communication Device
221           Class (CDC) Ethernet Control Model, a specification that's easy to
222           implement in device firmware.  The CDC specifications are available
223           from <http://www.usb.org/>.
224
225           CDC Ethernet is an implementation option for DOCSIS cable modems
226           that support USB connectivity, used for non-Microsoft USB hosts.
227           The Linux-USB CDC Ethernet Gadget driver is an open implementation.
228           This driver should work with at least the following devices:
229
230             * Dell Wireless 5530 HSPA
231             * Ericsson PipeRider (all variants)
232             * Ericsson Mobile Broadband Module (all variants)
233             * Motorola (DM100 and SB4100)
234             * Broadcom Cable Modem (reference design)
235             * Toshiba (PCX1100U and F3507g/F3607gw)
236             * ...
237
238           This driver creates an interface named "ethX", where X depends on
239           what other networking devices you have in use.  However, if the
240           IEEE 802 "local assignment" bit is set in the address, a "usbX"
241           name is used instead.
242
243 config USB_NET_CDC_EEM
244         tristate "CDC EEM support"
245         depends on USB_USBNET
246         help
247           This option supports devices conforming to the Communication Device
248           Class (CDC) Ethernet Emulation Model, a specification that's easy to
249           implement in device firmware.  The CDC EEM specifications are available
250           from <http://www.usb.org/>.
251
252           This driver creates an interface named "ethX", where X depends on
253           what other networking devices you have in use.  However, if the
254           IEEE 802 "local assignment" bit is set in the address, a "usbX"
255           name is used instead.
256
257 config USB_NET_CDC_NCM
258         tristate "CDC NCM support"
259         depends on USB_USBNET
260         select USB_NET_CDCETHER
261         default y
262         help
263           This driver provides support for CDC NCM (Network Control Model
264           Device USB Class Specification). The CDC NCM specification is
265           available from <http://www.usb.org/>.
266
267           Say "y" to link the driver statically, or "m" to build a
268           dynamically linked module.
269
270           This driver should work with at least the following devices:
271             * ST-Ericsson M700 LTE FDD/TDD Mobile Broadband Modem (ref. design)
272             * ST-Ericsson M5730 HSPA+ Mobile Broadband Modem (reference design)
273             * ST-Ericsson M570 HSPA+ Mobile Broadband Modem (reference design)
274             * ST-Ericsson M343 HSPA Mobile Broadband Modem (reference design)
275             * Ericsson F5521gw Mobile Broadband Module
276
277 config USB_NET_HUAWEI_CDC_NCM
278         tristate "Huawei NCM embedded AT channel support"
279         depends on USB_USBNET
280         select USB_WDM
281         select USB_NET_CDC_NCM
282         help
283                 This driver supports huawei-style NCM devices, that use NCM as a
284                 transport for other protocols, usually an embedded AT channel.
285                 Good examples are:
286                 * Huawei E3131
287                 * Huawei E3251
288
289                 To compile this driver as a module, choose M here: the module will be
290                 called huawei_cdc_ncm.ko.
291
292 config USB_NET_CDC_MBIM
293         tristate "CDC MBIM support"
294         depends on USB_USBNET
295         select USB_WDM
296         select USB_NET_CDC_NCM
297         help
298           This driver provides support for CDC MBIM (Mobile Broadband
299           Interface Model) devices. The CDC MBIM specification is
300           available from <http://www.usb.org/>.
301
302           MBIM devices require configuration using the management
303           protocol defined by the MBIM specification.  This driver
304           provides unfiltered access to the MBIM control channel
305           through the associated /dev/cdc-wdmx character device.
306
307           To compile this driver as a module, choose M here: the
308           module will be called cdc_mbim.
309
310 config USB_NET_DM9601
311         tristate "Davicom DM96xx based USB 10/100 ethernet devices"
312         depends on USB_USBNET
313         select CRC32
314         help
315           This option adds support for Davicom DM9601/DM9620/DM9621A
316           based USB 10/100 Ethernet adapters.
317
318 config USB_NET_SR9700
319         tristate "CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices"
320         depends on USB_USBNET
321         select CRC32
322         help
323           This option adds support for CoreChip-sz SR9700 based USB 1.1
324           10/100 Ethernet adapters.
325
326 config USB_NET_SR9800
327         tristate "CoreChip-sz SR9800 based USB 2.0 10/100 ethernet devices"
328         depends on USB_USBNET
329         select CRC32
330         help
331           Say Y if you want to use one of the following 100Mbps USB Ethernet
332           device based on the CoreChip-sz SR9800 chip.
333
334           This driver makes the adapter appear as a normal Ethernet interface,
335           typically on eth0, if it is the only ethernet device, or perhaps on
336           eth1, if you have a PCI or ISA ethernet card installed.
337
338           To compile this driver as a module, choose M here: the
339           module will be called sr9800.
340
341 config USB_NET_SMSC75XX
342         tristate "SMSC LAN75XX based USB 2.0 gigabit ethernet devices"
343         depends on USB_USBNET
344         select BITREVERSE
345         select CRC16
346         select CRC32
347         help
348           This option adds support for SMSC LAN75XX based USB 2.0
349           Gigabit Ethernet adapters.
350
351 config USB_NET_SMSC95XX
352         tristate "SMSC LAN95XX based USB 2.0 10/100 ethernet devices"
353         depends on USB_USBNET
354         select PHYLIB
355         select SMSC_PHY
356         select BITREVERSE
357         select CRC16
358         select CRC32
359         help
360           This option adds support for SMSC LAN95XX based USB 2.0
361           10/100 Ethernet adapters.
362
363 config USB_NET_GL620A
364         tristate "GeneSys GL620USB-A based cables"
365         depends on USB_USBNET
366         help
367           Choose this option if you're using a host-to-host cable,
368           or PC2PC motherboard, with this chip.
369
370           Note that the half-duplex "GL620USB" is not supported.
371
372 config USB_NET_NET1080
373         tristate "NetChip 1080 based cables (Laplink, ...)"
374         default y
375         depends on USB_USBNET
376         help
377           Choose this option if you're using a host-to-host cable based
378           on this design:  one NetChip 1080 chip and supporting logic,
379           optionally with LEDs that indicate traffic
380
381 config USB_NET_PLUSB
382         tristate "Prolific PL-2301/2302/25A1/27A1 based cables"
383         # if the handshake/init/reset problems, from original 'plusb',
384         # are ever resolved ... then remove "experimental"
385         depends on USB_USBNET
386         help
387           Choose this option if you're using a host-to-host cable
388           with one of these chips.
389
390 config USB_NET_MCS7830
391         tristate "MosChip MCS7830 based Ethernet adapters"
392         depends on USB_USBNET
393         help
394           Choose this option if you're using a 10/100 Ethernet USB2
395           adapter based on the MosChip 7830 controller. This includes
396           adapters marketed under the DeLOCK brand.
397
398 config USB_NET_RNDIS_HOST
399         tristate "Host for RNDIS and ActiveSync devices"
400         depends on USB_USBNET
401         select USB_NET_CDCETHER
402         help
403           This option enables hosting "Remote NDIS" USB networking links,
404           as encouraged by Microsoft (instead of CDC Ethernet!) for use in
405           various devices that may only support this protocol.  A variant
406           of this protocol (with even less public documentation) seems to
407           be at the root of Microsoft's "ActiveSync" too.
408
409           Avoid using this protocol unless you have no better options.
410           The protocol specification is incomplete, and is controlled by
411           (and for) Microsoft; it isn't an "Open" ecosystem or market.
412
413 config USB_NET_CDC_SUBSET_ENABLE
414         tristate
415         depends on USB_NET_CDC_SUBSET
416
417 config USB_NET_CDC_SUBSET
418         tristate "Simple USB Network Links (CDC Ethernet subset)"
419         depends on USB_USBNET
420         default y
421         help
422           This driver module supports USB network devices that can work
423           without any device-specific information.  Select it if you have
424           one of these drivers.
425
426           Note that while many USB host-to-host cables can work in this mode,
427           that may mean not being able to talk to Win32 systems or more
428           commonly not being able to handle certain events (like replugging
429           the host on the other end) very well.  Also, these devices will
430           not generally have permanently assigned Ethernet addresses.
431
432 config USB_ALI_M5632
433         bool "ALi M5632 based 'USB 2.0 Data Link' cables"
434         depends on USB_NET_CDC_SUBSET
435         select USB_NET_CDC_SUBSET_ENABLE
436         help
437           Choose this option if you're using a host-to-host cable
438           based on this design, which supports USB 2.0 high speed.
439
440 config USB_AN2720
441         bool "AnchorChips 2720 based cables (Xircom PGUNET, ...)"
442         depends on USB_NET_CDC_SUBSET
443         select USB_NET_CDC_SUBSET_ENABLE
444         help
445           Choose this option if you're using a host-to-host cable
446           based on this design.  Note that AnchorChips is now a
447           Cypress brand.
448
449 config USB_BELKIN
450         bool "eTEK based host-to-host cables (Advance, Belkin, ...)"
451         depends on USB_NET_CDC_SUBSET
452         select USB_NET_CDC_SUBSET_ENABLE
453         default y
454         help
455           Choose this option if you're using a host-to-host cable
456           based on this design:  two NetChip 2890 chips and an Atmel
457           microcontroller, with LEDs that indicate traffic.
458
459 config USB_ARMLINUX
460         bool "Embedded ARM Linux links (iPaq, ...)"
461         depends on USB_NET_CDC_SUBSET
462         select USB_NET_CDC_SUBSET_ENABLE
463         default y
464         help
465           Choose this option to support the "usb-eth" networking driver
466           used by most of the ARM Linux community with device controllers
467           such as the SA-11x0 and PXA-25x UDCs, or the tftp capabilities
468           in some PXA versions of the "blob" boot loader.
469
470           Linux-based "Gumstix" PXA-25x based systems use this protocol
471           to talk with other Linux systems.
472
473           Although the ROMs shipped with Sharp Zaurus products use a
474           different link level framing protocol, you can have them use
475           this simpler protocol by installing a different kernel.
476
477 config USB_EPSON2888
478         bool "Epson 2888 based firmware (DEVELOPMENT)"
479         depends on USB_NET_CDC_SUBSET
480         select USB_NET_CDC_SUBSET_ENABLE
481         help
482           Choose this option to support the usb networking links used
483           by some sample firmware from Epson.
484
485 config USB_KC2190
486         bool "KT Technology KC2190 based cables (InstaNet)"
487         depends on USB_NET_CDC_SUBSET
488         select USB_NET_CDC_SUBSET_ENABLE
489         help
490           Choose this option if you're using a host-to-host cable
491           with one of these chips.
492
493 config USB_NET_ZAURUS
494         tristate "Sharp Zaurus (stock ROMs) and compatible"
495         depends on USB_USBNET
496         select USB_NET_CDCETHER
497         select CRC32
498         default y
499         help
500           Choose this option to support the usb networking links used by
501           Zaurus models like the SL-5000D, SL-5500, SL-5600, A-300, B-500.
502           This also supports some related device firmware, as used in some
503           PDAs from Olympus and some cell phones from Motorola.
504
505           If you install an alternate image, such as the Linux 2.6 based
506           versions of OpenZaurus, you should no longer need to support this
507           protocol.  Only the "eth-fd" or "net_fd" drivers in these devices
508           really need this non-conformant variant of CDC Ethernet (or in
509           some cases CDC MDLM) protocol, not "g_ether".
510
511 config USB_NET_CX82310_ETH
512         tristate "Conexant CX82310 USB ethernet port"
513         depends on USB_USBNET
514         help
515           Choose this option if you're using a Conexant CX82310-based ADSL
516           router with USB ethernet port. This driver is for routers only,
517           it will not work with ADSL modems (use cxacru driver instead).
518
519 config USB_NET_KALMIA
520         tristate "Samsung Kalmia based LTE USB modem"
521         depends on USB_USBNET
522         help
523           Choose this option if you have a Samsung Kalmia based USB modem
524           as Samsung GT-B3730.
525
526           To compile this driver as a module, choose M here: the
527           module will be called kalmia.
528
529 config USB_NET_QMI_WWAN
530         tristate "QMI WWAN driver for Qualcomm MSM based 3G and LTE modems"
531         depends on USB_USBNET
532         select USB_WDM
533         help
534           Support WWAN LTE/3G devices based on Qualcomm Mobile Data Modem
535           (MDM) chipsets.  Examples of such devices are
536             * Huawei E392/E398
537
538           This driver will only drive the ethernet part of the chips.
539           The devices require additional configuration to be usable.
540           Multiple management interfaces with linux drivers are
541           available:
542
543             * option: AT commands on /dev/ttyUSBx
544             * cdc-wdm: Qualcomm MSM Interface (QMI) protocol on /dev/cdc-wdmx
545
546           A modem manager with support for QMI is recommended.
547
548           To compile this driver as a module, choose M here: the
549           module will be called qmi_wwan.
550
551 config USB_HSO
552         tristate "Option USB High Speed Mobile Devices"
553         depends on USB && RFKILL && TTY
554         default n
555         help
556           Choose this option if you have an Option HSDPA/HSUPA card.
557           These cards support downlink speeds of 7.2Mbps or greater.
558
559           To compile this driver as a module, choose M here: the
560           module will be called hso.
561
562 config USB_NET_INT51X1
563         tristate "Intellon PLC based usb adapter"
564         depends on USB_USBNET
565         help
566           Choose this option if you're using a 14Mb USB-based PLC
567           (Powerline Communications) solution with an Intellon
568           INT51x1/INT5200 chip, like the "devolo dLan duo".
569
570 config USB_CDC_PHONET
571         tristate "CDC Phonet support"
572         depends on PHONET && USB_USBNET
573         help
574           Choose this option to support the Phonet interface to a Nokia
575           cellular modem, as found on most Nokia handsets with the
576           "PC suite" USB profile.
577
578 config USB_IPHETH
579         tristate "Apple iPhone USB Ethernet driver"
580         default n
581         help
582           Module used to share Internet connection (tethering) from your
583           iPhone (Original, 3G and 3GS) to your system.
584           Note that you need userspace libraries and programs that are needed
585           to pair your device with your system and that understand the iPhone
586           protocol.
587
588           For more information: http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver
589
590 config USB_SIERRA_NET
591         tristate "USB-to-WWAN Driver for Sierra Wireless modems"
592         depends on USB_USBNET
593         help
594           Choose this option if you have a Sierra Wireless USB-to-WWAN device.
595
596           To compile this driver as a module, choose M here: the
597           module will be called sierra_net.
598
599 config USB_VL600
600         tristate "LG VL600 modem dongle"
601         depends on USB_NET_CDCETHER && TTY
602         select USB_ACM
603         help
604           Select this if you want to use an LG Electronics 4G/LTE usb modem
605           called VL600.  This driver only handles the ethernet
606           interface exposed by the modem firmware.  To establish a connection
607           you will first need a userspace program that sends the right
608           command to the modem through its CDC ACM port, and most
609           likely also a DHCP client.  See this thread about using the
610           4G modem from Verizon:
611
612           http://ubuntuforums.org/showpost.php?p=10589647&postcount=17
613
614 config USB_NET_CH9200
615         tristate "QingHeng CH9200 USB ethernet support"
616         depends on USB_USBNET
617         select MII
618         help
619           Choose this option if you have a USB ethernet adapter with a QinHeng
620           CH9200 chipset.
621
622           To compile this driver as a module, choose M here: the
623           module will be called ch9200.
624
625 config USB_NET_AQC111
626         tristate "Aquantia AQtion USB to 5/2.5GbE Controllers support"
627         depends on USB_USBNET
628         select CRC32
629         help
630           This option adds support for Aquantia AQtion USB
631           Ethernet adapters based on AQC111U/AQC112 chips.
632
633           This driver should work with at least the following devices:
634           * Aquantia AQtion USB to 5GbE
635
636 endif # USB_NET_DRIVERS