summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-09-04 03:13:16 +0000
committerjhb <jhb@FreeBSD.org>2002-09-04 03:13:16 +0000
commit9b9a63123d964a69ecc775b9e7f749c58dce551c (patch)
tree3b0607051e1aa744454b34cbb15fa0c9d0c30d7b /sys/dev/acpica
parent63ecc1767c44e2826d7f11e6c57b0b4b27244562 (diff)
downloadFreeBSD-src-9b9a63123d964a69ecc775b9e7f749c58dce551c.zip
FreeBSD-src-9b9a63123d964a69ecc775b9e7f749c58dce551c.tar.gz
- Make pci_load_vendor_data() static and do it during MOD_LOAD instead of
when the first PCI bus attaches. - Create /dev/pci during MOD_LOAD as well. - Destroy /dev/pci during MOD_UNLOAD (not that you can kldunload pci, but might as well get the code right)
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_pci.c b/sys/dev/acpica/acpi_pci.c
index 8c91352..077f6be 100644
--- a/sys/dev/acpica/acpi_pci.c
+++ b/sys/dev/acpica/acpi_pci.c
@@ -226,10 +226,8 @@ acpi_pci_attach(device_t dev)
* these devices.
*/
pci_add_children(dev, busno, sizeof(struct acpi_pci_devinfo));
-
(void) AcpiWalkNamespace(ACPI_TYPE_DEVICE, acpi_get_handle(dev), 1,
acpi_pci_save_handle, dev, NULL);
- pci_load_vendor_data();
return (bus_generic_attach(dev));
}
OpenPOWER on IntegriCloud