Debian Codegraph @

drivers/net/ethernet/smsc/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Western Digital/SMC network device configuration
4 #
5
6 config NET_VENDOR_SMSC
7 bool "SMC (SMSC)/Western Digital devices"
8 default y
9 depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \
10 ISA || MAC || MIPS || NIOS2 || PCI || \
11 PCMCIA || SUPERH || XTENSA || COMPILE_TEST
12 help
13 If you have a network (Ethernet) card belonging to this class, say Y.
14
15 Note that the answer to this question doesn't directly affect the
16 kernel: saying N will just cause the configurator to skip all
17 the questions about SMC/Western Digital cards. If you say Y, you will
18 be asked for your specific card in the following questions.
19
20 if NET_VENDOR_SMSC
21
22 config SMC91X
23 tristate "SMC 91C9x/91C1xxx support"
24 select CRC32
25 select MII
26 depends on !OF || GPIOLIB
27 depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \
28 MIPS || NIOS2 || SUPERH || XTENSA || COMPILE_TEST
29 help
30 This is a driver for SMC's 91x series of Ethernet chipsets,
31 including the SMC91C94 and the SMC91C111. Say Y if you want it
32 compiled into the kernel, and read the file
33 <file:Documentation/networking/device_drivers/ethernet/smsc/smc9.rst>.
34
35 This driver is also available as a module ( = code which can be
36 inserted in and removed from the running kernel whenever you want).
37 The module will be called smc91x. If you want to compile it as a
38 module, say M here and read <file:Documentation/kbuild/modules.rst>.
39
40 config EPIC100
41 tristate "SMC EtherPower II"
42 depends on PCI
43 select CRC32
44 select MII
45 help
46 This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC,
47 which is based on the SMC83c17x (EPIC/100).
48 More specific information and updates are available from
49 <http://www.scyld.com/network/epic100.html>.
50
51 config SMSC911X
52 tristate "SMSC LAN911x/LAN921x families embedded ethernet support"
53 depends on HAS_IOMEM
54 select CRC32
55 select MII
56 select PHYLIB
57 help
58 Say Y here if you want support for SMSC LAN911x and LAN921x families
59 of ethernet controllers.
60
61 To compile this driver as a module, choose M here. The module
62 will be called smsc911x.
63
64 config SMSC911X_ARCH_HOOKS
65 def_bool n
66 depends on SMSC911X
67 help
68 If the arch enables this, it allows the arch to implement various
69 hooks for more comprehensive interrupt control and also to override
70 the source of the MAC address.
71
72 config SMSC9420
73 tristate "SMSC LAN9420 PCI ethernet adapter support"
74 depends on PCI
75 select CRC32
76 select PHYLIB
77 select SMSC_PHY
78 help
79 This is a driver for SMSC's LAN9420 PCI ethernet adapter.
80 Say Y here if you want it compiled into the kernel.
81
82 This driver is also available as a module. The module will be
83 called smsc9420. If you want to compile it as a module, say M
84 here and read <file:Documentation/kbuild/modules.rst>
85
86 endif # NET_VENDOR_SMSC