DragonFly BSD
DragonFly commits List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: acpi/pcib: If bus does not present, give other bus drivers chance


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Apr 2011 04:40:49 -0700 (PDT)

commit 2c61a93fa6fa30927436688cd4c9ea56d22fabdf
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun Apr 17 18:58:26 2011 +0800

    acpi/pcib: If bus does not present, give other bus drivers chance
    
    - Call acpi_DeviceIsPresent() during probing, so that if bus does not
      present other bus drivers could have chance to take over the bus.
    - In acpi_pcib_attach(), assert that bus is present, since the presence
      of the bus is checked during probing.
    
    Reported-by: swildner@

Summary of changes:
 sys/dev/acpica5/acpi_pcib.c      |   31 +++++++++++++++++++++++--------
 sys/dev/acpica5/acpi_pcib_acpi.c |   10 +++++++---
 sys/dev/acpica5/acpi_pcib_pci.c  |   11 ++++++-----
 sys/dev/acpica5/acpi_pcibvar.h   |    1 +
 4 files changed, 37 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c61a93fa6fa30927436688cd4c9ea56d22fabdf


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]