Skip to content

Commit f860b05

Browse files
author
Jeff Kirsher
committed
drivers/net: Kconfig and Makefile cleanup
After the move of the Ethernet drivers into drivers/net/ethernet/ there was some leftover cleanup to do in the Kconfig and Makefile. Removed the 10/100, 1000, and 10GbE Kconfig menus. Removed the out-dated pci-skeleton.c file which was used an example driver. With the current networking features and structure, the file is no longer a good example to use for driver creation. CC: Jeff Garzik <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 531c4f8 commit f860b05

File tree

4 files changed

+6
-2043
lines changed

4 files changed

+6
-2043
lines changed

drivers/net/Kconfig

Lines changed: 0 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -192,122 +192,6 @@ source "drivers/net/phy/Kconfig"
192192

193193
source "drivers/net/ethernet/Kconfig"
194194

195-
menuconfig NET_ETHERNET
196-
bool "Ethernet (10 or 100Mbit)"
197-
depends on !UML
198-
---help---
199-
Ethernet (also called IEEE 802.3 or ISO 8802-2) is the most common
200-
type of Local Area Network (LAN) in universities and companies.
201-
202-
Common varieties of Ethernet are: 10BASE-2 or Thinnet (10 Mbps over
203-
coaxial cable, linking computers in a chain), 10BASE-T or twisted
204-
pair (10 Mbps over twisted pair cable, linking computers to central
205-
hubs), 10BASE-F (10 Mbps over optical fiber links, using hubs),
206-
100BASE-TX (100 Mbps over two twisted pair cables, using hubs),
207-
100BASE-T4 (100 Mbps over 4 standard voice-grade twisted pair
208-
cables, using hubs), 100BASE-FX (100 Mbps over optical fiber links)
209-
[the 100BASE varieties are also known as Fast Ethernet], and Gigabit
210-
Ethernet (1 Gbps over optical fiber or short copper links).
211-
212-
If your Linux machine will be connected to an Ethernet and you have
213-
an Ethernet network interface card (NIC) installed in your computer,
214-
say Y here and read the Ethernet-HOWTO, available from
215-
<http://www.tldp.org/docs.html#howto>. You will then also have
216-
to say Y to the driver for your particular NIC.
217-
218-
Note that the answer to this question won't directly affect the
219-
kernel: saying N will just cause the configurator to skip all
220-
the questions about Ethernet network cards. If unsure, say N.
221-
222-
if NET_ETHERNET
223-
224-
config NET_PCI
225-
bool "EISA, VLB, PCI and on board controllers"
226-
depends on ISA || EISA || PCI
227-
help
228-
This is another class of network cards which attach directly to the
229-
bus. If you have one of those, say Y and read the Ethernet-HOWTO,
230-
available from <http://www.tldp.org/docs.html#howto>.
231-
232-
Note that the answer to this question doesn't directly affect the
233-
kernel: saying N will just cause the configurator to skip all
234-
the questions about this class of network cards. If you say Y, you
235-
will be asked for your specific card in the following questions. If
236-
you are unsure, say Y.
237-
238-
config NET_POCKET
239-
bool "Pocket and portable adapters"
240-
depends on PARPORT
241-
---help---
242-
Cute little network (Ethernet) devices which attach to the parallel
243-
port ("pocket adapters"), commonly used with laptops. If you have
244-
one of those, say Y and read the Ethernet-HOWTO, available from
245-
<http://www.tldp.org/docs.html#howto>.
246-
247-
If you want to plug a network (or some other) card into the PCMCIA
248-
(or PC-card) slot of your laptop instead (PCMCIA is the standard for
249-
credit card size extension cards used by all modern laptops), you
250-
need the pcmcia-cs package (location contained in the file
251-
<file:Documentation/Changes>) and you can say N here.
252-
253-
Laptop users should read the Linux Laptop home page at
254-
<http://www.linux-on-laptops.com/> or
255-
Tuxmobil - Linux on Mobile Computers at <http://www.tuxmobil.org/>.
256-
257-
Note that the answer to this question doesn't directly affect the
258-
kernel: saying N will just cause the configurator to skip all
259-
the questions about this class of network devices. If you say Y, you
260-
will be asked for your specific device in the following questions.
261-
262-
endif # NET_ETHERNET
263-
264-
#
265-
# Gigabit Ethernet
266-
#
267-
268-
menuconfig NETDEV_1000
269-
bool "Ethernet (1000 Mbit)"
270-
depends on !UML
271-
default y
272-
---help---
273-
Ethernet (also called IEEE 802.3 or ISO 8802-2) is the most common
274-
type of Local Area Network (LAN) in universities and companies.
275-
276-
Say Y here to get to see options for Gigabit Ethernet drivers.
277-
This option alone does not add any kernel code.
278-
Note that drivers supporting both 100 and 1000 MBit may be listed
279-
under "Ethernet (10 or 100MBit)" instead.
280-
281-
If you say N, all options in this submenu will be skipped and disabled.
282-
283-
if NETDEV_1000
284-
285-
endif # NETDEV_1000
286-
287-
#
288-
# 10 Gigabit Ethernet
289-
#
290-
291-
menuconfig NETDEV_10000
292-
bool "Ethernet (10000 Mbit)"
293-
depends on !UML
294-
default y
295-
---help---
296-
Say Y here to get to see options for 10 Gigabit Ethernet drivers.
297-
This option alone does not add any kernel code.
298-
299-
If you say N, all options in this submenu will be skipped and disabled.
300-
301-
if NETDEV_10000
302-
303-
config MDIO
304-
tristate
305-
306-
config SUNGEM_PHY
307-
tristate
308-
309-
endif # NETDEV_10000
310-
311195
source "drivers/net/tokenring/Kconfig"
312196

313197
source "drivers/net/wireless/Kconfig"

drivers/net/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ obj-$(CONFIG_VMXNET3) += vmxnet3/
1313
# link order important here
1414
#
1515
obj-$(CONFIG_PLIP) += plip.o
16-
1716
obj-$(CONFIG_ROADRUNNER) += rrunner.o
18-
1917
obj-$(CONFIG_SKFP) += skfp/
2018
obj-$(CONFIG_RIONET) += rionet.o
2119

@@ -25,7 +23,6 @@ obj-$(CONFIG_RIONET) += rionet.o
2523

2624
obj-$(CONFIG_NET) += Space.o loopback.o
2725
obj-$(CONFIG_NET_SB1000) += sb1000.o
28-
2926
obj-$(CONFIG_PPP) += ppp_generic.o
3027
obj-$(CONFIG_PPP_ASYNC) += ppp_async.o
3128
obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o
@@ -35,7 +32,6 @@ obj-$(CONFIG_PPP_MPPE) += ppp_mppe.o
3532
obj-$(CONFIG_PPPOE) += pppox.o pppoe.o
3633
obj-$(CONFIG_PPPOL2TP) += pppox.o
3734
obj-$(CONFIG_PPTP) += pppox.o pptp.o
38-
3935
obj-$(CONFIG_SLIP) += slip.o
4036
obj-$(CONFIG_SLHC) += slhc.o
4137

drivers/net/ethernet/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ menuconfig ETHERNET
1111

1212
if ETHERNET
1313

14+
config MDIO
15+
tristate
16+
17+
config SUNGEM_PHY
18+
tristate
19+
1420
source "drivers/net/ethernet/3com/Kconfig"
1521
source "drivers/net/ethernet/adaptec/Kconfig"
1622
source "drivers/net/ethernet/aeroflex/Kconfig"

0 commit comments

Comments
 (0)