diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-07 23:23:50 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-04-07 23:23:50 +0000 |
commit | 752fff194f19d2b87b971091292141daa060b18f (patch) | |
tree | 3a6a6853d650cec9fc59d5e0213772bf92e8192d /regress | |
parent | 22f3493ebcdf605c8797fed0a307101a53259eb3 (diff) |
Don't reset COR in wi_reset(), break it out into its own function and
only call it from wi_attach() and wi_pcmcia_activate() (ie: just once).
It would be nicer to have the COR reset be part of the bus-specific
code but we need to know whether or not we have a Lucent card since
old Lucent firmware revs get messed up on a COR soft reset.
Even with the COR reset we still need to avoid initializing Symbol
cards more than once. However, we *do* want to do a reset after
returning from suspend. Therefore, rename wi_gone to wi_flags and
store both the attach and init status in it. wi_reset() now checks
wi_flags to see if the card should be initialized in the Symbol case.
Info on initializing Symbol cards once from NetBSD.
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions