cvs commit: src/sys/dev/pccbb pccbb.c

Warner Losh imp at FreeBSD.org
Sun Jul 17 07:48:29 GMT 2005


imp         2005-07-17 07:48:28 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccbb        pccbb.c 
  Log:
  The CD interrupt should only be enabled after we've initialized the
  card.  Mask it while we're doing power things, as the PC Card standard
  suggests.  Also, poll the POWER_CYCLE bit 10x a second as well as
  providing a timeout for power cycle interrupt to happen.
  
  The Ricoh '475 that I have doesn't seem to generate an interrupt for
  power at the present time, so the polling is necessary for reasons as
  yet unknown.  This results in an interrupt storm warning that I'm
  still trying to quantify (the o2micro trick doesn't work to mitigate
  this storm).  At the very least, this should help those users that
  lost pccards on boot with the prior rev of this code.  My VAIO
  PCG-505TS is now happier, but more investigation is necessary.
  
  Revision  Changes    Path
  1.125     +38 -10    src/sys/dev/pccbb/pccbb.c


More information about the cvs-all mailing list