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