]> git.hungrycats.org Git - linux/commit
[PATCH] fix media detection for nForce 2 nics
authorManfred Spraul <manfred@colorfullife.com>
Fri, 3 Sep 2004 18:16:14 +0000 (14:16 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 3 Sep 2004 18:16:14 +0000 (14:16 -0400)
commit498566aeffc821e4538f763823b42fb4080d3429
treebb17bac35660b6c04499478f1f6bca000ceae7a1
parent3649017765bd2978dec4a2a6f8e47d01ac909fa1
[PATCH] fix media detection for nForce 2 nics

attached is a patch that polls the media setting for non GigE nForce
nics:
Without polling, media changes are not autodetected. This is fatal,
because the nic initialization is asynchroneous, thus "modprobe;ifup"
resulted in a dead network connection. The attached patch fixes that
problem.

It's a repost of a patch I sent around three weeks ago: you objected
that I rely on the nic irq instead of a software timer. I've documented
why this is ok.
drivers/net/forcedeth.c