[rtems-libbsd commit] Disable pcibus_pnp driver module
Sebastian Huber
sebh at rtems.org
Fri Jul 31 11:56:56 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: ad0fb5621bf7000a2a7cc787956180dfb9d51c78
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=ad0fb5621bf7000a2a7cc787956180dfb9d51c78
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jul 31 13:00:02 2015 +0200
Disable pcibus_pnp driver module
---
freebsd/sys/i386/pci/pci_bus.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/freebsd/sys/i386/pci/pci_bus.c b/freebsd/sys/i386/pci/pci_bus.c
index cfab004..7e4e07f 100644
--- a/freebsd/sys/i386/pci/pci_bus.c
+++ b/freebsd/sys/i386/pci/pci_bus.c
@@ -645,6 +645,7 @@ DEFINE_CLASS_0(pcib, legacy_pcib_driver, legacy_pcib_methods, 1);
DRIVER_MODULE(pcib, legacy, legacy_pcib_driver, hostb_devclass, 0, 0);
+#ifndef __rtems__
/*
* Install placeholder to claim the resources owned by the
* PCI bus interface. This could be used to extract the
@@ -692,6 +693,7 @@ static devclass_t pcibus_pnp_devclass;
DEFINE_CLASS_0(pcibus_pnp, pcibus_pnp_driver, pcibus_pnp_methods, 1);
DRIVER_MODULE(pcibus_pnp, isa, pcibus_pnp_driver, pcibus_pnp_devclass, 0, 0);
+#endif /* __rtems__ */
#ifdef __HAVE_PIR
/*
More information about the vc
mailing list