e1000e: set CONFIG_E1000E=y in x86 defconfigs
Subsystems (7)
PATCH RESEND 1/3 e1000e: set CONFIG_E1000E=y in x86 defconfigs
From: Auke Kok <[email protected]>
This adds to the already default CONFIG_E1000=y in these files.
---
arch/x86/configs/i386_defconfig | 1 + arch/x86/configs/x86_64_defconfig | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
arch/x86/configs/i386_defconfig +1 -0
@@ -814,6 +814,7 @@ CONFIG_NETDEV_1000=y CONFIG_E1000=y # CONFIG_E1000_NAPI is not set # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set +CONFIG_E1000E=y # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set
arch/x86/configs/x86_64_defconfig +1 -0
@@ -740,6 +740,7 @@ CONFIG_NETDEV_1000=y CONFIG_E1000=y # CONFIG_E1000_NAPI is not set # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set +CONFIG_E1000E=y # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set
PATCH RESEND 2/3 e1000: remove PCI Express device IDs
From: Auke Kok <[email protected]>
We do not want to prolong the situation much longer that e1000 and e1000e support these devices at the same time. As a result, take out the bandage that was added for the interim period and remove all the PCI Express device IDs from e1000.
---
drivers/net/Kconfig | 3 --- drivers/net/e1000/e1000_main.c | 33 --------------------------------- 2 files changed, 0 insertions(+), 36 deletions(-)
drivers/net/Kconfig +0 -3
@@ -2014,9 +2014,6 @@ config E1000E To compile this driver as a module, choose M here. The module will be called e1000e. -config E1000E_ENABLED - def_bool E1000E != n - config IP1000 tristate "IP1000 Gigabit Ethernet support" depends on PCI && EXPERIMENTAL
drivers/net/e1000/e1000_main.c +0 -33
@@ -47,12 +47,6 @@ static const char e1000_copyright[] = "Copyright (c) 1999-2006 Intel Corporation* Macro expands to... * {PCI_DEVICE(PCI_VENDOR_ID_INTEL, device_id)} */ -#ifdef CONFIG_E1000E_ENABLED -#define PCIE (x) -#else -#define PCIE (x) x, -#endif -static struct pci_device_id e1000_pci_tbl[] = {INTEL_E1000_ETHERNET_DEVICE (0x1000 ),INTEL_E1000_ETHERNET_DEVICE (0x1001 ),
@@ -79,14 +73,6 @@ static struct pci_device_id e1000_pci_tbl[] = {INTEL_E1000_ETHERNET_DEVICE (0x1026 ),INTEL_E1000_ETHERNET_DEVICE (0x1027 ),INTEL_E1000_ETHERNET_DEVICE (0x1028 ), -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x1049)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x104A)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x104B)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x104C)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x104D)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x105E)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x105F)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x1060))INTEL_E1000_ETHERNET_DEVICE (0x1075 ),INTEL_E1000_ETHERNET_DEVICE (0x1076 ), INTEL_E1000_ETHERNET_DEVICE(0x1077),
@@ -95,28 +81,9 @@ PCIE( INTEL_E1000_ETHERNET_DEVICE(0x1060))INTEL_E1000_ETHERNET_DEVICE (0x107A ),INTEL_E1000_ETHERNET_DEVICE (0x107B ),INTEL_E1000_ETHERNET_DEVICE (0x107C ), -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x107D)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x107E)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x107F))INTEL_E1000_ETHERNET_DEVICE (0x108A ), -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x108B)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x108C)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x1096)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x1098))INTEL_E1000_ETHERNET_DEVICE (0x1099 ), -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x109A)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10A4)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10A5))INTEL_E1000_ETHERNET_DEVICE (0x10B5 ), -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10B9)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10BA)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10BB)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10BC)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10C4)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10C5)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10D5)) -PCIE( INTEL_E1000_ETHERNET_DEVICE(0x10D9)) -PCIE (INTEL_E1000_ETHERNET_DEVICE (0x10DA ))/* required last entry */ {0,} };
Jeff Garzik
AppliedRe: [RESEND PATCH 2/3] e1000: remove PCI Express device IDs
Quoted 7 lines · Jeff Kirsher
From: Auke Kok <[email protected]>
We do not want to prolong the situation much longer that e1000 and e1000e support these devices at the same time. As a result, take out the bandage that was added for the interim period and remove all the PCI Express device IDs from e1000.
Quoted 8 lines
Signed-off-by Auke Kok <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>Cc Jeff Garzik <[email protected]>---
drivers/net/Kconfig | 3 --- drivers/net/e1000/e1000_main.c | 33 --------------------------------- 2 files changed, 0 insertions(+), 36 deletions(-)
applied to #upstream-next (queued for 2.6.27)
BIG FLASHING WARNING NOTE to x86 maintainers and others:
Make sure your defconfig changes are in place for this change.
PATCH RESEND 3/3 e1000: enable NAPI by default in defconfig
In reply to Jeff KirsherFrom: Auke Kok <[email protected]>
It's preferred to run with NAPI enabled, even for e1000. e1000e runs at all times in NAPI mode so this setting is not used.
In the future we'll make e1000 NAPI-only.
---
arch/ia64/configs/generic_defconfig | 2 +- arch/ia64/configs/gensparse_defconfig | 2 +- arch/ia64/configs/tiger_defconfig | 2 +- arch/ia64/configs/zx1_defconfig | 2 +- arch/mips/configs/mtx1_defconfig | 2 +- arch/parisc/configs/c3000_defconfig | 2 +- arch/powerpc/configs/83xx/mpc832x_rdb_defconfig | 2 +- arch/powerpc/configs/g5_defconfig | 2 +- arch/powerpc/configs/iseries_defconfig | 2 +- arch/powerpc/configs/maple_defconfig | 2 +- arch/powerpc/configs/ppc64_defconfig | 2 +- arch/powerpc/configs/prpmc2800_defconfig | 2 +- arch/powerpc/configs/pseries_defconfig | 2 +- arch/ppc/configs/bamboo_defconfig | 2 +- arch/ppc/configs/katana_defconfig | 2 +- arch/sh/configs/r7780mp_defconfig | 2 +- arch/x86/configs/i386_defconfig | 2 +- arch/x86/configs/x86_64_defconfig | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-)
arch/ia64/configs/generic_defconfig +1 -1
@@ -592,7 +592,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set
arch/ia64/configs/gensparse_defconfig +1 -1
@@ -594,7 +594,7 @@ CONFIG_E100=m # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set
arch/ia64/configs/tiger_defconfig +1 -1
@@ -574,7 +574,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set
arch/ia64/configs/zx1_defconfig +1 -1
@@ -634,7 +634,7 @@ CONFIG_E100=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set
arch/mips/configs/mtx1_defconfig +1 -1
@@ -1297,7 +1297,7 @@ CONFIG_ACENIC=m # CONFIG_ACENIC_OMIT_TIGON_I is not set CONFIG_DL2K=m CONFIG_E1000=m -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set CONFIG_NS83820=m CONFIG_HAMACHI=m
arch/parisc/configs/c3000_defconfig +1 -1
@@ -552,7 +552,7 @@ CONFIG_ACENIC=m # CONFIG_ACENIC_OMIT_TIGON_I is not set # CONFIG_DL2K is not set CONFIG_E1000=m -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_NS83820 is not set
arch/powerpc/configs/83xx/mpc832x_rdb_defconfig +1 -1
@@ -520,7 +520,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/powerpc/configs/g5_defconfig +1 -1
@@ -740,7 +740,7 @@ CONFIG_ACENIC=y CONFIG_ACENIC_OMIT_TIGON_I=y # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/powerpc/configs/iseries_defconfig +1 -1
@@ -662,7 +662,7 @@ CONFIG_ACENIC=m # CONFIG_ACENIC_OMIT_TIGON_I is not set # CONFIG_DL2K is not set CONFIG_E1000=m -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/powerpc/configs/maple_defconfig +1 -1
@@ -607,7 +607,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_NS83820 is not set
arch/powerpc/configs/ppc64_defconfig +1 -1
@@ -949,7 +949,7 @@ CONFIG_ACENIC=y CONFIG_ACENIC_OMIT_TIGON_I=y # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/powerpc/configs/prpmc2800_defconfig +1 -1
@@ -741,7 +741,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/powerpc/configs/pseries_defconfig +1 -1
@@ -767,7 +767,7 @@ CONFIG_ACENIC=y CONFIG_ACENIC_OMIT_TIGON_I=y # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/ppc/configs/bamboo_defconfig +1 -1
@@ -498,7 +498,7 @@ CONFIG_NATSEMI=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set
arch/ppc/configs/katana_defconfig +1 -1
@@ -487,7 +487,7 @@ CONFIG_E100=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set
arch/sh/configs/r7780mp_defconfig +1 -1
@@ -622,7 +622,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=m -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set
arch/x86/configs/i386_defconfig +1 -1
@@ -812,7 +812,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set CONFIG_E1000E=y # CONFIG_NS83820 is not set
arch/x86/configs/x86_64_defconfig +1 -1
@@ -738,7 +738,7 @@ CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=y -# CONFIG_E1000_NAPI is not set +CONFIG_E1000_NAPI=y # CONFIG_E1000_DISABLE_PACKET_SPLIT is not set CONFIG_E1000E=y # CONFIG_NS83820 is not set
Quoted 10 lines · Jeff Kirsher
From: Auke Kok <[email protected]>
This adds to the already default
CONFIG_E1000=yin these files.Signed-off-by Auke Kok <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>---
arch/x86/configs/i386_defconfig | 1 + arch/x86/configs/x86_64_defconfig | 1 +
that is not an e1000 patch but an arch/x86 defconfig patch. NAK on this route of patch propagation.
Ingo
Quoted 11 lines · Ingo Molnar
Quoted 8 lines · Jeff Kirsher
From: Auke Kok <[email protected]>
This adds to the already default
CONFIG_E1000=yin these files.Signed-off-by Auke Kok <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>---
Quoted 6 lines
Quoted 2 lines
arch/x86/configs/i386_defconfig | 1 + arch/x86/configs/x86_64_defconfig | 1 +that is not an e1000 patch but an
arch/x86defconfig patch. NAK on this route of patch propagation.
So you are fine with the patch contents, just not the title/subject line. So if the subject line was:
[RESEND PATCH 1/3] x86 defconfig: set CONFIG_E1000E=y in x86 defconfigs
Would that have been alright?
Signature · 2 lines
Cheers, Jeff
Quoted 6 lines · Ingo Molnar
Quoted 4 lines · Jeff Kirsher
From: Auke Kok <[email protected]>
This adds to the already default
CONFIG_E1000=yin these files.
Quoted 8 lines
Quoted 6 lines
Signed-off-by Auke Kok <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>---
arch/x86/configs/i386_defconfig | 1 + arch/x86/configs/x86_64_defconfig | 1 +that is not an e1000 patch but an
arch/x86defconfig patch. NAK on this route of patch propagation.
But it's dependent on an e1000 patch. Maybe we could follow the lead of ppc and other arch maintainers, and work together?
Typically if there are arch dependencies and little drivers/net changes, I'll ACK the drivers/net change and then let it go through the arch tree.
In this case, there is far more drivers/net code, so it would make the most sense to work with you to change the defconfigs to your liking, and then merge them via netdev when the other E1000 changes go in.
Jeff
Quoted 20 lines · Jeff Garzik
Quoted 10 lines · Ingo Molnar
Quoted 8 lines · Jeff Kirsher
From: Auke Kok <[email protected]>
This adds to the already default
CONFIG_E1000=yin these files.Signed-off-by Auke Kok <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>---
Quoted 5 lines
Quoted 2 lines
arch/x86/configs/i386_defconfig | 1 + arch/x86/configs/x86_64_defconfig | 1 +that is not an e1000 patch but an
arch/x86defconfig patch. NAK on this route of patch propagation.But it's dependent on an e1000 patch. Maybe we could follow the lead of ppc and other arch maintainers, and work together?
Quoted 7 lines
Typically if there are arch dependencies and little
drivers/netchanges, I'll ACK thedrivers/netchange and then let it go through the arch tree.In this case, there is far more
drivers/netcode, so it would make the most sense to work with you to change the defconfigs to your liking, and then merge them via netdev when the other E1000 changes go in.
the normal flow for defconfig changes is to first do the driver changes, then later on propagate anything that is needed into the defconfig, once the driver change is upstream.
for example we've already got this queued up in tip/x86:
| commit b5d958ea66ac11b1190c24f042f517adf9229a98 | Author: Auke Kok <[email protected]> | Date: Wed Apr 9 13:17:39 2008 -0700 | | e1000e: set CONFIG_E1000E=y in x86 defconfigs | | This adds to the already default CONFIG_E1000=y in these files.
and there's a fair number of other changes as well to the defconfigs for v2.6.27 which might collide. So it would be nice to keep it separate please.
Ingo