summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/addbytes.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-09-24 17:14:23 +0000
committerwpaul <wpaul@FreeBSD.org>1998-09-24 17:14:23 +0000
commite7f748a814746f2fe276557bc8549cd106c0016a (patch)
tree65ebc1fdc30af68c2ca01a0e27a59113634d7b0b /lib/libcurses/addbytes.c
parenta4a8884afb9c3ab04f91cfecf93557ab5332e676 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud