mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Revert attach() back to the old behaviour of calling bus_generic_attach().
The new way doesn't seem to work reliably and was causing devices to not be seen. Approved by: msmith
This commit is contained in:
parent
794cd879fe
commit
3cd59d7b9c
2 changed files with 10 additions and 8 deletions
|
|
@ -181,11 +181,12 @@ acpi_pcib_attach(device_t dev)
|
|||
}
|
||||
|
||||
/*
|
||||
* Note that we defer the actual scan of the child PCI bus; ACPI will call
|
||||
* bus_generic_attach on its children a second time after the first pass
|
||||
* is complete. This leads to slightly neater output.
|
||||
* Now go scan the bus.
|
||||
*
|
||||
* XXX It would be nice to defer this and count on the nexus getting it
|
||||
* after the first pass, but this does not seem to be reliable.
|
||||
*/
|
||||
return(0);
|
||||
return(bus_generic_attach(dev));
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
|
|
@ -181,11 +181,12 @@ acpi_pcib_attach(device_t dev)
|
|||
}
|
||||
|
||||
/*
|
||||
* Note that we defer the actual scan of the child PCI bus; ACPI will call
|
||||
* bus_generic_attach on its children a second time after the first pass
|
||||
* is complete. This leads to slightly neater output.
|
||||
* Now go scan the bus.
|
||||
*
|
||||
* XXX It would be nice to defer this and count on the nexus getting it
|
||||
* after the first pass, but this does not seem to be reliable.
|
||||
*/
|
||||
return(0);
|
||||
return(bus_generic_attach(dev));
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue