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