]> git.baikalelectronics.ru Git - kernel.git/commit
DM9000: Use NSR to determine link-status on internal PHY
authorBen Dooks <ben-linux@fluff.org>
Tue, 24 Jun 2008 21:16:03 +0000 (22:16 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Jun 2008 02:57:58 +0000 (22:57 -0400)
commita706c1672b9ea3b0664196bf50f4ce27c5818c12
tree2fd50def329fa3c7ee6ce8441f7941d548b09f6c
parent15c8a2d2d547619bf5d15cac2eff722cdf79ba92
DM9000: Use NSR to determine link-status on internal PHY

The DM9000_NSR register contains a copy of the internal PHY's
link status which we can use to determine if the link is up
or down. This eliminates the more costly (and sleeping) PHY
read when using the DM9000's own PHY.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/dm9000.c