Skip to content

Commit f190109

Browse files
piso77steveglen
authored andcommitted
smsc95xx: mark link down on startup and let PHY interrupt deal with carrier changes
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 <[email protected]> Acked-by: Steve Glendinning <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c272678 commit f190109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/usb/smsc95xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ static const struct driver_info smsc95xx_info = {
12471247
.rx_fixup = smsc95xx_rx_fixup,
12481248
.tx_fixup = smsc95xx_tx_fixup,
12491249
.status = smsc95xx_status,
1250-
.flags = FLAG_ETHER | FLAG_SEND_ZLP,
1250+
.flags = FLAG_ETHER | FLAG_SEND_ZLP | FLAG_LINK_INTR,
12511251
};
12521252

12531253
static const struct usb_device_id products[] = {

0 commit comments

Comments
 (0)