From a69293ca57c5a42402d7bbc26c52c6221c7d2f43 Mon Sep 17 00:00:00 2001 From: Jan Sommer Date: Fri, 17 Apr 2020 10:24:08 +0200 Subject: 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 --- freebsd/sys/dev/pci/pci_pci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'freebsd/sys/dev/pci/pci_pci.c') 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)) -- cgit v1.2.3