[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120424.002530.64732260146351305.davem@davemloft.net>
Date: Tue, 24 Apr 2012 00:25:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: paolo.pisati@...onical.com
Cc: netdev@...r.kernel.org, steve.glendinning@...c.com
Subject: Re: [PATCH] smsc95xx: mark link down on startup and let PHY
interrupt deal with carrier changes
From: Paolo Pisati <paolo.pisati@...onical.com>
Date: Fri, 20 Apr 2012 11:35:21 +0200
> Without this patch sysfs reports the cable as present
>
> flag@...g-desktop:~$ cat /sys/class/net/eth0/carrier
> 1
>
> while it's not:
>
> flag@...g-desktop:~$ sudo mii-tool eth0
> eth0: no link
>
> Signed-off-by: Paolo Pisati <paolo.pisati@...onical.com>
I suspect Steve didn't set the FLAG_LINK_INTR bit intentionally, and
that the link status IRQ is not reliable on all smsc95xx chips.
Steve?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists