dnet: DNET should depend on HAS_IOMEM
authorIlya Yanok <yanok@emcraft.com>
Sat, 21 Mar 2009 23:58:47 +0000 (16:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Mar 2009 23:58:47 +0000 (16:58 -0700)
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig

index 435e2e3a82c84a076c8dd3e20aa7bf1851df9ea3..62d732a886f1996954addcc1fa7aadfb0fd56604 100644 (file)
@@ -1042,7 +1042,7 @@ config NI65
 
 config DNET
        tristate "Dave ethernet support (DNET)"
-       depends on NET_ETHERNET
+       depends on NET_ETHERNET && HAS_IOMEM
        select PHYLIB
        help
          The Dave ethernet interface (DNET) is found on Qong Board FPGA.