[patch] drivers/net/3c59x: notice carrier a little sooner

2006-01-12 Thread Dan Williams
Hi, This patch attempts to notice carrier 'on' state a little sooner. Since the carrier watchdog only fires in really, really long intervals (like, 60s in most cases), it takes up to 60s to notice that a cable has been plugged/unplugged. This patch fires the carrier watchdog if (1) the carrier

Re: [patch] drivers/net/3c59x: notice carrier a little sooner

2006-01-12 Thread Steffen Klassert
Did you give the patch a try? Actually I have no possibility to test, but I think that netif_carrier_{on,off} still does not work proper. The timer function does just nothing if vp-medialock is set. Steffen On Thu, Jan 12, 2006 at 01:29:23PM -0500, Dan Williams wrote: Hi, This patch

Re: [patch] drivers/net/3c59x: notice carrier a little sooner

2006-01-12 Thread Dan Williams
On Thu, 2006-01-12 at 20:57 +0100, Steffen Klassert wrote: Did you give the patch a try? Actually I have no possibility to test, but I think that netif_carrier_{on,off} still does not work proper. The timer function does just nothing if vp-medialock is set. Worked for me with 3c905 card

Re: [patch] drivers/net/3c59x: notice carrier a little sooner

2006-01-12 Thread Steffen Klassert
On Thu, Jan 12, 2006 at 03:02:25PM -0500, Dan Williams wrote: On Thu, 2006-01-12 at 20:57 +0100, Steffen Klassert wrote: Did you give the patch a try? Actually I have no possibility to test, but I think that netif_carrier_{on,off} still does not work proper. The timer function does

Re: [patch] drivers/net/3c59x: notice carrier a little sooner

2006-01-12 Thread Dan Williams
On Thu, 12 Jan 2006, Steffen Klassert wrote: On Thu, Jan 12, 2006 at 03:02:25PM -0500, Dan Williams wrote: On Thu, 2006-01-12 at 20:57 +0100, Steffen Klassert wrote: Did you give the patch a try? Actually I have no possibility to test, but I think that netif_carrier_{on,off} still