summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev/pci/pci_pci.c
diff options
context:
space:
mode:
authorJan Sommer <jan.sommer@dlr.de>2020-04-17 10:24:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-17 13:18:06 +0200
commita69293ca57c5a42402d7bbc26c52c6221c7d2f43 (patch)
treecf97c3a0d0dd1fe4a96a28396e62fc838def1162 /freebsd/sys/dev/pci/pci_pci.c
parenti386: Delete old machine dependent files (diff)
downloadrtems-libbsd-a69293ca57c5a42402d7bbc26c52c6221c7d2f43.tar.bz2
i386: Port to RTEMS
- Update imported files to compile rtems-libbsd for i386 based BSPs - Mostly commenting out parts which create compile or link errors in RTEMS, but aren't needed
Diffstat (limited to 'freebsd/sys/dev/pci/pci_pci.c')
-rw-r--r--freebsd/sys/dev/pci/pci_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/dev/pci/pci_pci.c b/freebsd/sys/dev/pci/pci_pci.c
index 43c71461..5ba3e9a0 100644
--- a/freebsd/sys/dev/pci/pci_pci.c
+++ b/freebsd/sys/dev/pci/pci_pci.c
@@ -1593,6 +1593,7 @@ pcib_attach_common(device_t dev)
sc->flags |= PCIB_SUBTRACTIVE;
break;
+#ifndef __rtems__
#if !(defined(NEW_PCIB) && defined(PCI_RES_BUS))
/* Compaq R3000 BIOS sets wrong subordinate bus number. */
case 0x00dd10de:
@@ -1620,6 +1621,7 @@ pcib_attach_common(device_t dev)
break;
}
#endif
+#endif /* __rtems__ */
}
if (pci_msi_device_blacklisted(dev))