cvs commit: src/sys/dev/acpica acpi_ec.c

Nate Lawson njl at FreeBSD.org
Sun Jul 20 14:11:33 PDT 2003


njl         2003/07/20 14:11:32 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_ec.c 
  Log:
  Close a race condition by passing status retrieved via a non-SCI call
  to EcGpeQueryHandler on to any waiting threads through the softc.  Similar
  behavior was in the original version.
  
  Also:
  * Merge EcQuery into EcGpeQueryHandler to simplify locking
  * Hold EcLock from the initial read of the CSR down to the wakeup or
    until after the query command has been processed.
  * ec_gpebit only needs to be a UINT8
  
  Revision  Changes    Path
  1.35      +32 -43    src/sys/dev/acpica/acpi_ec.c


More information about the cvs-all mailing list