From: Hauke Mehrtens <hauke@hauke-m.de> To: davem@davemloft.net Cc: zajec5@gmail.com, netdev@vger.kernel.org, linville@tuxdriver.com, linux-next@vger.kernel.org, sfr@canb.auug.org.au, Hauke Mehrtens <hauke@hauke-m.de> Subject: [PATCH] bgmac: make bgmac depend on bcm47xx Date: Tue, 23 Jul 2013 23:28:49 +0200 [thread overview] Message-ID: <1374614929-7528-1-git-send-email-hauke@hauke-m.de> (raw) 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> --- drivers/net/ethernet/broadcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index 52c9603..2fa5b86 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 select PHYLIB ---help--- This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus. -- 1.7.10.4
next reply other threads:[~2013-07-23 21:29 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-07-23 21:28 Hauke Mehrtens [this message] 2013-07-24 1:08 ` Stephen Rothwell 2013-07-24 3:26 ` Stephen Rothwell 2013-07-24 13:54 ` John W. Linville 2013-07-24 19:40 ` David Miller
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1374614929-7528-1-git-send-email-hauke@hauke-m.de \ --to=hauke@hauke-m.de \ --cc=davem@davemloft.net \ --cc=linux-next@vger.kernel.org \ --cc=linville@tuxdriver.com \ --cc=netdev@vger.kernel.org \ --cc=sfr@canb.auug.org.au \ --cc=zajec5@gmail.com \ --subject='Re: [PATCH] bgmac: make bgmac depend on bcm47xx' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).