Skip to content

Commit

Permalink
wiznet: Fix Kconfig dependencies.
Browse files Browse the repository at this point in the history
Both drivers need to depend upon HAS_IOMEM, otherwise we
get a build failure on platforms like S390.

All the driver specific config options need to depend upon
the drivers themselves.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Apr 10, 2012
1 parent 2f6f9d6 commit 32ed53b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/ethernet/wiznet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if NET_VENDOR_WIZNET

config WIZNET_W5100
tristate "WIZnet W5100 Ethernet support"
depends on HAS_IOMEM
---help---
Support for WIZnet W5100 chips.

Expand All @@ -31,6 +32,7 @@ config WIZNET_W5100

config WIZNET_W5300
tristate "WIZnet W5300 Ethernet support"
depends on HAS_IOMEM
---help---
Support for WIZnet W5300 chips.

Expand All @@ -43,6 +45,7 @@ config WIZNET_W5300

choice
prompt "WIZnet interface mode"
depends on WIZNET_W5100 || WIZNET_W5300
default WIZNET_BUS_ANY

config WIZNET_BUS_DIRECT
Expand All @@ -69,6 +72,7 @@ endchoice

config WIZNET_TX_FLOW
bool "Use transmit flow control"
depends on WIZNET_W5100 || WIZNET_W5300
default y
help
This enables transmit flow control for WIZnet chips.
Expand Down

0 comments on commit 32ed53b

Please sign in to comment.