diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-02 23:10:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-02 23:10:19 +0000 |
commit | 9aebc676361f459df5ba83581d437ee61cca5e87 (patch) | |
tree | 2b1b5e2db4611e7960a3d4c1dce4c6a42680680b /sys/lib | |
parent | 7f16c5207e0c3867ab527eb90fe75d1dbf4e64d9 (diff) |
Rework the card insertion/removal detection logic:
- instead of queueing events each time the sense information changes,
only remember that the slot needs attention
- when processing a slot needing attention, decide what to do depending upon
its current sense information, rather than what it was when the change
was detected
- handle the ``only one sensor asserted'' state happening during slow
insertion or removal.
This makes the driver much more reactive to insertions and removals, and
also removes unnecessary attach/detach calls.
ok deraadt@
Diffstat (limited to 'sys/lib')
0 files changed, 0 insertions, 0 deletions