freebsd-nq/sys/dev/pccbb
Warner Losh fd4e475233 Omnibus power and interrupt fixes:
o Don't busy wait on powerup.  Instead, use the power up interrupt to wait
  for the card to power up.  Don't wait when we're turning the card off,
  since no interrupt happens in that case.
o Convert many of the long DELAYs to tsleeps.  We do not run before
  the timer have stared, so DELAY isn't necessary.  More DELAYs can likely
  be eliminated in the future.
o When powering up the card, don't do anything if the card is already
  powered up (before we'd power cycle it).  This means that for most
  cards we power them up once and then never change the power.
o On card eject, mask (by clearing) the CD bit.  Before we set it, which
  was wrong.  We don't want to see any CD events past the first one since
  they need to be debounced.

With these changes, I can insert/eject 16bit cards without glitching xmms'
sound output.  Something very important to the development of better pccard
drivers :-)
2005-07-14 20:46:59 +00:00
..
pccbb_isa.c Use the FreeBSD standard license, since there's no reason to use the 2005-01-11 05:33:18 +00:00
pccbb_pci.c Omnibus power and interrupt fixes: 2005-07-14 20:46:59 +00:00
pccbb.c Omnibus power and interrupt fixes: 2005-07-14 20:46:59 +00:00
pccbbdevid.h Use the FreeBSD standard license, since there's no reason to use the 2005-01-11 05:33:18 +00:00
pccbbreg.h Use the standard FreeBSD license for these files. 2005-01-13 19:05:25 +00:00
pccbbvar.h Omnibus power and interrupt fixes: 2005-07-14 20:46:59 +00:00