]> git.baikalelectronics.ru Git - kernel.git/commit
[net] Gracefully handle shared e1000/1000e driver PCI ID's
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jan 2008 13:30:15 +0000 (00:30 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jan 2008 13:30:15 +0000 (00:30 +1100)
commit6b1794ac5787030ad17586d50c3284131cc65a0a
tree83e45dc7396b03fddf72f75f050e306d9d4e244f
parent8eddc50bda0f9e104a0d9c11b4f814f5b8dab0ec
[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>
drivers/net/Kconfig
drivers/net/e1000/e1000_main.c