]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mv643xx_eth: use MII library for PHY management
authorJames Chapman <jchapman@katalix.com>
Fri, 27 Jan 2006 08:13:15 +0000 (01:13 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 27 Jan 2006 16:11:16 +0000 (11:11 -0500)
commitc28a4f8947f1b08996502967e348dc88363749a7
treea0afa38353ebb02f2cef528d1b84e2e8e89443c2
parent9f8dd319459bb5ab9efcc1c345bed7895cc41768
[PATCH] mv643xx_eth: use MII library for PHY management

Modify link up/down handling to use the functions from the MII
library.  Note that I track link state using the MII PHY registers
rather than the mv643xx chip's link state registers because I think
it's cleaner to use the MII library code rather than writing local
driver support code. It is also useful to make the actual MII
registers available to the user with maskable kernel printk messages
so the MII registers are being read anyway

Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/mv643xx_eth.c
drivers/net/mv643xx_eth.h