Re: powerpc allmodconfig




On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote:
drivers/dma/ioat_dca.c: In function 'dca_enabled_in_bios':
drivers/dma/ioat_dca.c:81: error: implicit declaration of function 'cpuid_eax'
drivers/dma/ioat_dca.c: In function 'system_has_dca_enabled':
drivers/dma/ioat_dca.c:91: error: implicit declaration of function 'boot_cpu_has'
drivers/dma/ioat_dca.c:91: error: 'X86_FEATURE_DCA' undeclared (first use in this function)
drivers/dma/ioat_dca.c:91: error: (Each undeclared identifier is reported only once
drivers/dma/ioat_dca.c:91: error: for each function it appears in.)
drivers/dma/ioat_dca.c: In function 'ioat_dca_get_tag':
drivers/dma/ioat_dca.c:190: error: implicit declaration of function 'cpu_physical_id'

Known issue. I tried to ping Jeff Garzik about doing a driver bug fix run in
order to fix this, but he hasn't shown any signs of life.

So I'll do it myself later tonight. :-/

The following seems to fix this up...

---snip--->
ixgbe, myri10ge: INTEL_IOATDMA can only be selected when X86=y

From: Dan Williams <dan.j.williams@xxxxxxxxx>

The INTEL_IOATDMA symbol depends on x86. 'select' ignores this
dependency.

Cc: Brice Goglin <brice@xxxxxxxx>
Cc: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
---

drivers/net/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 1d8af33..84983f8 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2410,7 +2410,7 @@ config IXGBE
tristate "Intel(R) 10GbE PCI Express adapters support"
depends on PCI && INET
select INET_LRO
- select INTEL_IOATDMA
+ select INTEL_IOATDMA if X86
---help---
This driver supports Intel(R) 10GbE PCI Express family of
adapters. For more information on how to identify your adapter, go
@@ -2462,7 +2462,7 @@ config MYRI10GE
select FW_LOADER
select CRC32
select INET_LRO
- select INTEL_IOATDMA
+ select INTEL_IOATDMA if X86
---help---
This driver supports Myricom Myri-10G Dual Protocol interface in
Ethernet mode. If the eeprom on your board is not recent enough,


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Linux 2.6.4-rc1
    ... And some large s390 driver updates too, ... PCI: ... USB: Remove unneeded and error-provoking variable in UHCI ... resource leak fix ...
    (Linux-Kernel)
  • The naming wars continue...
    ... merges from -mm, network (and net driver) updates, SATA ... USB: corrected digi_acceleport 2.6.9-rc1 fix for hang on disconnect ... PCI: fix up usb quirk __init marks ...
    (Linux-Kernel)
  • Linux 2.6.7-rc1
    ... : Fix typo in netlink_unicast ... fix cyclades compile with!PCI ... USB: Remove unusual_devs entries for Minolta DiMAGE 7, ... Eliminate dead code from the UHCI driver ...
    (Linux-Kernel)
  • Re: Enumerable I2C busses
    ... :>: prefer not to hack in to the bus driver. ... connecting the I2C bus layer to the I2C host adapters. ... The third option is to do what we do for pci, ...
    (freebsd-arch)
  • Re: [ANNOUNCE] e1000 to e1000e migration of PCI Express devices
    ... 82571/2/3 chipset based adapters and variants. ... This driver supports the PCI-Express IntelPRO/1000 gigabit ... For PCI or PCI-X e1000 adapters, ... Most kernel distributions will have enabled both Kconfig options anyway, so that leaves individual kernel hackers who missed the announcements as the only target audience for the patch quoted above. ...
    (Linux-Kernel)