Fix some incorrect #if conditions around older workarounds for bus

numbering goofs.

MFC after:	1 week
This commit is contained in:
jhb 2015-04-22 21:47:51 +00:00
parent 51d58f94ce
commit 2defd52d9a

View File

@ -950,7 +950,7 @@ pcib_attach_common(device_t dev)
* Quirk handling.
*/
switch (pci_get_devid(dev)) {
#if !defined(NEW_PCIB) && !defined(PCI_RES_BUS)
#if !(defined(NEW_PCIB) && defined(PCI_RES_BUS))
case 0x12258086: /* Intel 82454KX/GX (Orion) */
{
uint8_t supbus;
@ -976,7 +976,7 @@ pcib_attach_common(device_t dev)
sc->flags |= PCIB_SUBTRACTIVE;
break;
#if !defined(NEW_PCIB) && !defined(PCI_RES_BUS)
#if !(defined(NEW_PCIB) && defined(PCI_RES_BUS))
/* Compaq R3000 BIOS sets wrong subordinate bus number. */
case 0x00dd10de:
{