diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-30 08:30:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-30 08:30:15 -0500 |
commit | 60e233172eabdd1f831bd48631b9626ce2279d9b (patch) | |
tree | 83e45dc7396b03fddf72f75f050e306d9d4e244f /drivers/net/Kconfig | |
parent | 44c45eb911845ec58fc3e26cc8994ba868ea2572 (diff) |
[net] Gracefully handle shared e1000/1000e driver PCI ID's
Both the old e1000 driver and the new e1000e driver can drive some
PCI-Express e1000 cards, and we should avoid ambiguity about which
driver will pick up the support for those cards when both drivers are
enabled.
This solves the problem by having the old driver support those cards if
the new driver isn't configured, but otherwise ceding support for PCI
Express versions of the e1000 chipset to the newer driver. Thus
allowing both legacy configurations where only the old driver is active
(and handles all chips it knows about) and the new configuration with
the new driver handling the more modern PCIE variants.
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 5a2d1dd487f6..6c575403bd39 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1992,7 +1992,7 @@ config E1000_DISABLE_PACKET_SPLIT | |||
1992 | 1992 | ||
1993 | config E1000E | 1993 | config E1000E |
1994 | tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" | 1994 | tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" |
1995 | depends on PCI && EXPERIMENTAL | 1995 | depends on PCI |
1996 | ---help--- | 1996 | ---help--- |
1997 | This driver supports the PCI-Express Intel(R) PRO/1000 gigabit | 1997 | This driver supports the PCI-Express Intel(R) PRO/1000 gigabit |
1998 | ethernet family of adapters. For PCI or PCI-X e1000 adapters, | 1998 | ethernet family of adapters. For PCI or PCI-X e1000 adapters, |
@@ -2009,6 +2009,9 @@ config E1000E | |||
2009 | To compile this driver as a module, choose M here. The module | 2009 | To compile this driver as a module, choose M here. The module |
2010 | will be called e1000e. | 2010 | will be called e1000e. |
2011 | 2011 | ||
2012 | config E1000E_ENABLED | ||
2013 | def_bool E1000E != n | ||
2014 | |||
2012 | config IP1000 | 2015 | config IP1000 |
2013 | tristate "IP1000 Gigabit Ethernet support" | 2016 | tristate "IP1000 Gigabit Ethernet support" |
2014 | depends on PCI && EXPERIMENTAL | 2017 | depends on PCI && EXPERIMENTAL |