diff options
author | Paolo Pisati <paolo.pisati@canonical.com> | 2012-04-23 04:05:20 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-05-11 13:15:05 +0100 |
commit | 3d3b4deaea79288bad25eedf6d72de533d9eebb0 (patch) | |
tree | 6efba6e10444d672cf37936144bc9128ba9914e4 /kernel/events/internal.h | |
parent | 7d97c19bdbda447053a489811763837bbab20400 (diff) |
smsc95xx: mark link down on startup and let PHY interrupt deal with carrier changes
commit 07d69d4238418746a7b85c5d05ec17c658a2a390 upstream.
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
Tested on my Beagle XM.
v2: added mantainer to the list of recipient
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel/events/internal.h')
0 files changed, 0 insertions, 0 deletions