diff options
author | Steve Glendinning <steve.glendinning@shawell.net> | 2012-04-30 07:56:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-30 21:52:39 -0400 |
commit | 7bdd305e024d78cfb4f32a1badeb5562791ee5b8 (patch) | |
tree | 097e91fb0b406bf15ec3b0f6d89babf31904b54c /drivers/connector | |
parent | 1cebce36d660c83bd1353e41f3e66abd4686f215 (diff) |
smsc75xx: mark link down on startup and let PHY interrupt deal with carrier changes
This patch fixes the same issue as reported on smsc95xx, where the
usb device is connected with no ethernet cable plugged-in.
Without this patch sysfs reports the cable as present
flag@flag-desktop:~$ cat /sys/class/net/eth0/carrier
1
while it's not:
flag@flag-desktop:~$ sudo mii-tool eth0
eth0: no link
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions