diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-09-24 17:14:23 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-09-24 17:14:23 +0000 |
commit | e7f748a814746f2fe276557bc8549cd106c0016a (patch) | |
tree | 65ebc1fdc30af68c2ca01a0e27a59113634d7b0b /lib/libcurses/addbytes.c | |
parent | a4a8884afb9c3ab04f91cfecf93557ab5332e676 (diff) | |
download | FreeBSD-src-e7f748a814746f2fe276557bc8549cd106c0016a.zip FreeBSD-src-e7f748a814746f2fe276557bc8549cd106c0016a.tar.gz |
Small tweak: force another reset of the adapter after probing for all the
PHYs in tl_attach(). This is mainly to suck away any possible stray
interrupts.
This prevents an intermittent problem on some systems where the adapter
probes correctly but yields a device timeout (and possible subsequent adapter
check) when configured. When I originally tested the driver, I ifconfig'ed
the interface after the system had already been booted and didn't notice
any problems, but when configuring the interface immediately at startup,
it would occasionally timeout and hang, until an adapter check interrupt
came along and reset things again. I'm not exactly sure if this is a
general problem of just something peculiar to this hardware (there are
three devices, including the tlan, all on IRQ 11) but the extra reset
shouldn't hurt anything. (It works fine with my 100Mbps Olicom adapter too.)
Thanks to Mark Taylor from Cybernet (mtaylor@cybernet.com) for allowing
me remote access to a Compaq system for debugging purposes.
Diffstat (limited to 'lib/libcurses/addbytes.c')
0 files changed, 0 insertions, 0 deletions