commit | aa1eb452e8d8a97ee65ace0054e7a733ae12cf6d | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue Jun 24 22:16:03 2008 +0100 |
committer | Jeff Garzik <jgarzik@redhat.com> | Tue Jun 24 22:57:58 2008 -0400 |
tree | 2fd50def329fa3c7ee6ce8441f7941d548b09f6c | |
parent | f8d79e79a1700fdcf26a1dfcaefad905b1279600 [diff] |
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>