Date: Tue, 30 May 2000 22:40:53 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_dc.c if_dcreg.h src/sys/dev/mii dcphy.c Message-ID: <200005310540.WAA97845@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2000/05/30 22:40:53 PDT Modified files: sys/pci if_dc.c if_dcreg.h sys/dev/mii dcphy.c Log: Rework the support for the internal autonegotiation on the 21143 and workalike chips (Macronix 98713A/98715 and PNIC II). Timing is somewhat critical: you need to bring the link as soon as possible after NWAY is done, and the old one second polling interval was too long. Now we poll every 10th of a second until NWAY completes (at which point we return to the 1 second interval again to keep an eye on the link state). I tested all the other cards I had on hand to make sure I didn't bust any of them and they seem to work (including the MII-based 21143 card). This should fix some autoneg problems with DE500-BA cards and the built-in 10/100 ethernet on some alpha systems. (Now before anyone asks why I never noticed this before, the old code worked just find with the Intel swich I used for testing back in NY. Apparently not all switches are as picky about the timing.) Revision Changes Path 1.13 +37 -17 src/sys/pci/if_dc.c 1.5 +2 -1 src/sys/pci/if_dcreg.h 1.4 +25 -62 src/sys/dev/mii/dcphy.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005310540.WAA97845>