net/phy: Fix copper/fiber auto-selection for 88e1111
authorWang Jian <lark@linux.net.cn>
Wed, 16 Jul 2008 13:46:17 +0000 (21:46 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 21:58:10 +0000 (17:58 -0400)
commit9cf8fa4334e60f27b4a392f432c292f3af268215
treeef84f4c0ca3559518b085639340b8b392e6ffef2
parentc0e5a8c21bb9bb222917c36eba503ae88af52c34
net/phy: Fix copper/fiber auto-selection for 88e1111

The 27.15 bit (MII_M1111_HWCFG_FIBER_COPPER_AUTO) is disable bit. When
set to 1, copper/fiber auto selection is disabled. The current code
to enable but actually disable auto selection.

Signed-off-by: Wang Jian <lark@linux.net.cn>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/phy/marvell.c