summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-08-19 15:07:46 +0000
committerwpaul <wpaul@FreeBSD.org>1998-08-19 15:07:46 +0000
commit8bc3ff8acba0028ec1b28ff50e9d04904dc33460 (patch)
tree7928180d25c8aec4658fbaa197837a684294fb0f /sys/dev/sio/sio.c
parent63da8b3c12331724375c9ac9a0b2b034200803a8 (diff)
downloadFreeBSD-src-8bc3ff8acba0028ec1b28ff50e9d04904dc33460.zip
FreeBSD-src-8bc3ff8acba0028ec1b28ff50e9d04904dc33460.tar.gz
Make two changes:
If I'm reading the manual correctly, the 3c905B actually loses its PCI configuration during the transition from D3(hot) back to D0, not during the transition from D0 to D3(hot). This means it should be possible to save the existing PCI settings, restet the power state, then restore the PCI settings afterwards. Changed xl_attach() to attempt this first thing before the normal PCI setup. I'm not certain this will work correctly, but it shouldn't hurt. If xl_init() is called while an autoneg session is in progress, the autoneg timeout and chip state will get clobbered. Try to avoid this by checking sc->xl_autoneg at the start of xl_init() and defer the initialization until later if it's set. (xl_init() is always called at the end of an autoneg session by xl_autoneg_mii().) Problem pointed out by: Larry Baird <lab@gta.com>
Diffstat (limited to 'sys/dev/sio/sio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud