diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-09-08 23:42:10 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-09-08 23:42:10 +0000 |
commit | 166efce87664bcc58f164d78dd7f0710ea66a474 (patch) | |
tree | b5c872fd9db2698215f5bbe7b4445c7c4981ed0f /tools | |
parent | 347d8d653af3d3e6592aa5cf28282feb71ba8efe (diff) | |
download | FreeBSD-src-166efce87664bcc58f164d78dd7f0710ea66a474.zip FreeBSD-src-166efce87664bcc58f164d78dd7f0710ea66a474.tar.gz |
- If the OACTIVE flag is set on entry to xl_start(), check to see if the
transmitter is wedged. If so, try to unwedge it, process any descriptors
that might need to be free()d, then proceed.
- Disable the 'background' autonegotiation performed during bootstrap.
What happens currently is that the driver starts an autoneg session,
the sets a timeout in the ifnet structure and returns. Later, when the
timer expires, the watchdog routine calls the autoneg handler to check
the results of the session. The problem with this is that the session
may not complete until some point after we have started to mount NFS
filesystems, which can cause the mounts to fail. This is especially
troublesome if booting with an NFS rootfs: we need the interface up
and running before reaching the mountroot() code.
The default behavior now is to do the autoneg synchronously, i.e. wait
5 seconds for the autoneg to complete before exiting the driver attach
routine. People who want the old behavior can compile the driver with
XL_BACKGROUND_AUTONEG #defined. This has no effect on autoneg sessions
initiated by 'ifconfig xl0 media autoselect.'
This slows the probe down a little, but it's either that or botching
NFS mounts at bootup.
- If xl_setmode_mii() is called and there's an autoneg session in progress,
cancel it, _then_ set the modes.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions