forked from Minki/linux
net: ethernet: broadcom: Drop dependency on OF
Both BCMGENET and SYSTEMPORT build just fine with CONFIG_OF=n, we do have a dependency on HAS_IOMEM that was not being reflected for SYSTEMPORT so add that. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8be7d96e5b
commit
7f7b757455
@ -61,7 +61,7 @@ config BCM63XX_ENET
|
|||||||
|
|
||||||
config BCMGENET
|
config BCMGENET
|
||||||
tristate "Broadcom GENET internal MAC support"
|
tristate "Broadcom GENET internal MAC support"
|
||||||
depends on OF && HAS_IOMEM
|
depends on HAS_IOMEM
|
||||||
select MII
|
select MII
|
||||||
select PHYLIB
|
select PHYLIB
|
||||||
select FIXED_PHY
|
select FIXED_PHY
|
||||||
@ -181,7 +181,7 @@ config BGMAC_PLATFORM
|
|||||||
|
|
||||||
config SYSTEMPORT
|
config SYSTEMPORT
|
||||||
tristate "Broadcom SYSTEMPORT internal MAC support"
|
tristate "Broadcom SYSTEMPORT internal MAC support"
|
||||||
depends on OF
|
depends on HAS_IOMEM
|
||||||
depends on NET_DSA || !NET_DSA
|
depends on NET_DSA || !NET_DSA
|
||||||
select MII
|
select MII
|
||||||
select PHYLIB
|
select PHYLIB
|
||||||
|
Loading…
Reference in New Issue
Block a user