]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11f6d6778c00d9a84973b610ad6c5a62c1425e1e
tree8875061f829c8adcbc1e1649e055cd450ea87096
parent0ae35c4148e7814f5ffa0241056ee835e4ed20f9
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