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