summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev
diff options
context:
space:
mode:
authorJan Sommer <jan.sommer@dlr.de>2020-02-07 12:40:13 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-10 10:44:28 +0100
commitaf291fa3a04222bb7fe99b7ce1eab3036e529f29 (patch)
treeb56aa0234229a6410d024767ad2df47e19cff452 /freebsd/sys/dev
parenti386: Add to build (diff)
downloadrtems-libbsd-af291fa3a04222bb7fe99b7ce1eab3036e529f29.tar.bz2
i386: Port to RTEMS
- Update imported files to compile rtems-libbsd for i386 based BSPs - Currently does not support the option "dev_nic_e1000 = on"
Diffstat (limited to 'freebsd/sys/dev')
-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 cdcba150..7b048c83 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))