summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-31 13:00:02 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-31 13:00:02 +0200
commitad0fb5621bf7000a2a7cc787956180dfb9d51c78 (patch)
tree3e8f384cf5eb10127fcbf588988fc881b5f017eb
parentDummy securelevel_ge() and securelevel_gt() (diff)
downloadrtems-libbsd-ad0fb5621bf7000a2a7cc787956180dfb9d51c78.tar.bz2
Disable pcibus_pnp driver module
-rw-r--r--freebsd/sys/i386/pci/pci_bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/i386/pci/pci_bus.c b/freebsd/sys/i386/pci/pci_bus.c
index cfab0049..7e4e07f4 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
/*