Commit 0932969e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller

via-rhine: Add platform dependencies

The VIA Rhine Ethernet interface is only present on PCI devices or
VIA/WonderMedia VT8500/WM85xx SoCs.  Add platform dependencies to the
VIA_RHINE config symbol, to avoid asking the user about it when
configuring a kernel without PCI or VT8500/WM85xx support.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 571cf296
...@@ -19,6 +19,7 @@ if NET_VENDOR_VIA ...@@ -19,6 +19,7 @@ if NET_VENDOR_VIA
config VIA_RHINE config VIA_RHINE
tristate "VIA Rhine support" tristate "VIA Rhine support"
depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP) depends on PCI || (OF_IRQ && GENERIC_PCI_IOMAP)
depends on PCI || ARCH_VT8500 || COMPILE_TEST
depends on HAS_DMA depends on HAS_DMA
select CRC32 select CRC32
select MII select MII
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment