summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/Kconfig
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-07-23 23:28:49 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-07-24 11:05:19 -0400
commit72bb2f2678878dd4a758e628957f29ce28000d88 (patch)
treee14b5809f8bcfbb41e99f6a063445e4693cb09e2 /drivers/net/ethernet/broadcom/Kconfig
parent637065267eab4817c0b06cbf3c7fc80842acab99 (diff)
downloadlinux-72bb2f2678878dd4a758e628957f29ce28000d88.tar.bz2
bgmac: make bgmac depend on bcm47xx
bgmac uses bcm47xx_nvram.h which is only available when BCM47XX was selected. Earlier BCMA_HOST_SOC depended on BCM47XX so this was not build on any other archs, but that changed. We should modify this driver to get access to the nvram or the variables through platform data. This fixes a build problem in linux-next reported by Stephen Rothwell: drivers/net/ethernet/broadcom/bgmac.c:19:27: fatal error: bcm47xx_nvram.h: No such file or directory #include <bcm47xx_nvram.h> ^ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
-rw-r--r--drivers/net/ethernet/broadcom/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index 1d680baf43d6..7b839bf5bb7a 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -130,7 +130,7 @@ config BNX2X_SRIOV
config BGMAC
tristate "BCMA bus GBit core support"
- depends on BCMA_HOST_SOC && HAS_DMA
+ depends on BCMA_HOST_SOC && HAS_DMA && BCM47XX
---help---
This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus.
They can be found on BCM47xx SoCs and provide gigabit ethernet.