aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-06-24 17:16:04 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-06-24 22:58:07 -0400
commitf8dd0ecbb74d4b220b105d77c0633945ebb5453e (patch)
tree967cf1edddd83c99f3b579747dd2f70c7f96aadc /drivers/net/Kconfig
parentaa1eb452e8d8a97ee65ace0054e7a733ae12cf6d (diff)
DM9000: Allow the use of the NSR register to get link status.
The DM9000's internal PHY reports a copy of the link status in the NSR register of the chip. Reading the status when polling for link status is faster as it eliminates the need to sleep, but does not print as much information. Add an platform flag to force this behaviour, and a Kconfig option to allow it to be forced to the faster method always. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 287d0873c60d..4d69474b6125 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -938,6 +938,15 @@ config DM9000
938 To compile this driver as a module, choose M here. The module 938 To compile this driver as a module, choose M here. The module
939 will be called dm9000. 939 will be called dm9000.
940 940
941config DM9000_FORCE_SIMPLE_PHY_POLL
942 bool "Force simple NSR based PHY polling"
943 depends on DM9000
944 ---help---
945 This configuration forces the DM9000 to use the NSR's LinkStatus
946 bit to determine if the link is up or down instead of the more
947 costly MII PHY reads. Note, this will not work if the chip is
948 operating with an external PHY.
949
941config ENC28J60 950config ENC28J60
942 tristate "ENC28J60 support" 951 tristate "ENC28J60 support"
943 depends on EXPERIMENTAL && SPI && NET_ETHERNET 952 depends on EXPERIMENTAL && SPI && NET_ETHERNET