Fix PHY Lib support for gianfar and ucc_geth
authorAndy Fleming <afleming@freescale.com>
Tue, 5 Feb 2008 22:35:30 +0000 (16:35 -0600)
committerJeff Garzik <jeff@garzik.org>
Wed, 6 Feb 2008 11:42:04 +0000 (06:42 -0500)
commit15cf6dde99e40bf571a5ca48376650e163fcd30f
tree92ba98c4e5728ca78cc00dc27aaed0d185ee9c15
parent4e84f9b10461ad3c869ced4373dd85771dd67d20
Fix PHY Lib support for gianfar and ucc_geth

The PHY Lib now uses mutexes instead of spin_locks.  ucc_geth
and gianfar both grab the locks in their mdio_reset functions,
so they need to use mutex_(un)lock instead.  This was not caught
until someone tested it on an SMP system.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/gianfar_mii.c
drivers/net/ucc_geth_mii.c