linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu
@ 2003-02-18 13:02 Marc-Christian Petersen
  2003-02-19  5:18 ` Jeff Garzik
  2003-02-19 13:21 ` Roman Zippel
  0 siblings, 2 replies; 4+ messages in thread
From: Marc-Christian Petersen @ 2003-02-18 13:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds

[-- Attachment #1: Type: text/plain, Size: 47 bytes --]

so you can disable all 1000Mbit NICs at once.

[-- Attachment #2: ethernet-1000mbit-menu.patch --]
[-- Type: text/x-diff, Size: 5037 bytes --]

diff -Naurp linux-2.5.62-vanilla/drivers/net/Kconfig linux-2.5.62-mcp1/drivers/net/Kconfig
--- linux-2.5.62-vanilla/drivers/net/Kconfig	2003-02-18 13:36:43.000000000 +0100
+++ linux-2.5.62-mcp1/drivers/net/Kconfig	2003-02-18 13:40:18.000000000 +0100
@@ -1839,12 +1839,38 @@ endmenu
 #	Gigabit Ethernet
 #
 
-menu "Ethernet (1000 Mbit)"
+menu "Ethernet (1000Mbit)"
 	depends on NETDEVICES
 
+config NET_ETHERNETGBIT
+        bool "Ethernet (1000Mbit)"
+        ---help---
+          Ethernet (also called IEEE 802.3 or ISO 8802-2) is the most common
+          type of Local Area Network (LAN) in universities and companies.
+          
+          Common varieties of Ethernet are: 10BASE-2 or Thinnet (10 Mbps over
+          coaxial cable, linking computers in a chain), 10BASE-T or twisted
+          pair (10 Mbps over twisted pair cable, linking computers to central
+          hubs), 10BASE-F (10 Mbps over optical fiber links, using hubs),
+          100BASE-TX (100 Mbps over two twisted pair cables, using hubs),
+          100BASE-T4 (100 Mbps over 4 standard voice-grade twisted pair
+          cables, using hubs), 100BASE-FX (100 Mbps over optical fiber links)
+          [the 100BASE varieties are also known as Fast Ethernet], and Gigabit
+          Ethernet (1 Gbps over optical fiber or short copper links).
+          
+          If your Linux machine will be connected to an Ethernet and you have
+          an Ethernet network interface card (NIC) installed in your computer,
+          say Y here and read the Ethernet-HOWTO, available from
+          <http://www.linuxdoc.org/docs.html#howto>. You will then also have
+          to say Y to the driver for your particular NIC.
+        
+          Note that the answer to this question won't directly affect the
+          kernel: saying N will just cause the configurator to skip all 
+          the questions about Ethernet network cards. If unsure, say N.
+
 config ACENIC
 	tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	---help---
 	  Say Y here if you have an Alteon AceNIC, 3Com 3C985(B), NetGear
 	  GA620, SGI Gigabit or Farallon PN9000-SX PCI Gigabit Ethernet
@@ -1860,7 +1886,7 @@ config ACENIC
 
 config ACENIC_OMIT_TIGON_I
 	bool "Omit support for old Tigon I based AceNICs"
-	depends on ACENIC
+	depends on ACENIC && NET_ETHERNETGBIT
 	help
 	  Say Y here if you only have Tigon II based AceNICs and want to leave
 	  out support for the older Tigon I based cards which are no longer
@@ -1873,7 +1899,7 @@ config ACENIC_OMIT_TIGON_I
 
 config DL2K
 	tristate "D-Link DL2000-based Gigabit Ethernet support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	help
 	  This driver supports D-Link 2000-based gigabit ethernet cards, which
 	  includes
@@ -1887,7 +1913,7 @@ config DL2K
 
 config E1000
 	tristate "Intel(R) PRO/1000 Gigabit Ethernet support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	---help---
 	  This driver supports Intel(R) PRO/1000 gigabit ethernet family of
 	  adapters, which includes:
@@ -1935,7 +1961,7 @@ config E1000_NAPI
 
 config MYRI_SBUS
 	tristate "MyriCOM Gigabit Ethernet support"
-	depends on SBUS
+	depends on SBUS && NET_ETHERNETGBIT
 	help
 	  This driver supports MyriCOM Sbus gigabit Ethernet cards.
 
@@ -1946,7 +1972,7 @@ config MYRI_SBUS
 
 config NS83820
 	tristate "National Semiconduct DP83820 support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	help
 	  This is a driver for the National Semiconductor DP83820 series
 	  of gigabit ethernet MACs.  Cards using this chipset include
@@ -1956,7 +1982,7 @@ config NS83820
 
 config HAMACHI
 	tristate "Packet Engines Hamachi GNIC-II support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	help
 	  If you have a Gigabit Ethernet card of this type, say Y and read
 	  the Ethernet-HOWTO, available from
@@ -1970,7 +1996,7 @@ config HAMACHI
 
 config YELLOWFIN
 	tristate "Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)"
-	depends on PCI && EXPERIMENTAL
+	depends on PCI && NET_ETHERNETGBIT && EXPERIMENTAL
 	---help---
 	  Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet
 	  adapter or the SYM53C885 Ethernet controller. The Gigabit adapter is
@@ -1985,7 +2011,7 @@ config YELLOWFIN
 
 config R8169
 	tristate "Realtek 8169 gigabit ethernet support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	---help---
 	  Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.
 
@@ -1996,7 +2022,7 @@ config R8169
 
 config SK98LIN
 	tristate "SysKonnect SK-98xx support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	---help---
 	  Say Y here if you have a SysKonnect SK-98xx Gigabit Ethernet Server
 	  Adapter. The following adapters are supported by this driver:
@@ -2024,7 +2050,7 @@ config SK98LIN
 
 config TIGON3
 	tristate "Broadcom Tigon3 support"
-	depends on PCI
+	depends on PCI && NET_ETHERNETGBIT
 	help
 	  This driver supports Broadcom Tigon3 based gigabit Ethernet cards.
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu
  2003-02-18 13:02 [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu Marc-Christian Petersen
@ 2003-02-19  5:18 ` Jeff Garzik
  2003-02-19  9:39   ` Marc-Christian Petersen
  2003-02-19 13:21 ` Roman Zippel
  1 sibling, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2003-02-19  5:18 UTC (permalink / raw)
  To: Marc-Christian Petersen; +Cc: linux-kernel, Linus Torvalds

How about saving my fingers and making it CONFIG_NET_GIGE or something 
like that?

Other than the long config option, I'll apply your patch, it looks good 
to me.

	Jeff




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu
  2003-02-19  5:18 ` Jeff Garzik
@ 2003-02-19  9:39   ` Marc-Christian Petersen
  0 siblings, 0 replies; 4+ messages in thread
From: Marc-Christian Petersen @ 2003-02-19  9:39 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel, Linus Torvalds

On Wednesday 19 February 2003 06:18, Jeff Garzik wrote:

Hi Jeff,

> How about saving my fingers and making it CONFIG_NET_GIGE or something
> like that?
Well, the name doesn't really matter ;) but I thought about using 
"NET_ETHERNETGBIT" because 10/100mbit has "NET_ETHERNET" ...

> Other than the long config option, I'll apply your patch, it looks good
> to me.
thanks.

ciao, Marc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu
  2003-02-18 13:02 [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu Marc-Christian Petersen
  2003-02-19  5:18 ` Jeff Garzik
@ 2003-02-19 13:21 ` Roman Zippel
  1 sibling, 0 replies; 4+ messages in thread
From: Roman Zippel @ 2003-02-19 13:21 UTC (permalink / raw)
  To: Marc-Christian Petersen; +Cc: linux-kernel

Hi,

On Tue, 18 Feb 2003, Marc-Christian Petersen wrote:

> so you can disable all 1000Mbit NICs at once.

For a larger group of config options you can also put them between 'if 
NET_ETHERNETGBIT' and 'endif'. It has the same effect.

bye, Roman


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-19 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-18 13:02 [PATCH 2.5.62]: 1/3: Make Ethernet 1000Mbit also a seperate, complete selectable submenu Marc-Christian Petersen
2003-02-19  5:18 ` Jeff Garzik
2003-02-19  9:39   ` Marc-Christian Petersen
2003-02-19 13:21 ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).