OSDN Git Service

smsc75xx: enable mac to detect speed/duplex from phy
authorSteve Glendinning <steve.glendinning@shawell.net>
Mon, 30 Apr 2012 07:56:56 +0000 (07:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2012 01:52:42 +0000 (21:52 -0400)
commit2f3a081ea2f63cd5b3e549a0040c760d87483f99
tree8875061f829c8adcbc1e1649e055cd450ea87096
parentc0b92e4d44ecaab3cd3f09f9f905306a5989b0d4
smsc75xx: enable mac to detect speed/duplex from phy

This patch sets the automatic speed and duplex detection bits
in MAC_CR to enable the mac to determine its speed automatically
from the phy.

Note this must be done BEFORE the receiver or transmitter is
enabled.

Signed-off-by: Stephane Fillod <fillods@users.sf.net>
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c