diff options
author | jhb <jhb@FreeBSD.org> | 2007-03-31 20:41:00 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-03-31 20:41:00 +0000 |
commit | c112f343639ce8adf5c65a38a9baea5307017959 (patch) | |
tree | a783da40a6034cb13d62666dd447919d139ca2b4 /sys/dev/pci/pci_pci.c | |
parent | 83630794dc79e996b2b3f02e2eb2ae7729fc22b6 (diff) | |
download | FreeBSD-src-c112f343639ce8adf5c65a38a9baea5307017959.zip FreeBSD-src-c112f343639ce8adf5c65a38a9baea5307017959.tar.gz |
- Add missing constants for subclasses.
- Add a few progif constants as well.
Diffstat (limited to 'sys/dev/pci/pci_pci.c')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 6e94798..d0ac287 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -253,7 +253,7 @@ pcib_attach_common(device_t dev) * parts as subtractive. */ if ((pci_get_devid(dev) & 0xff00ffff) == 0x24008086 || - pci_read_config(dev, PCIR_PROGIF, 1) == 1) + pci_read_config(dev, PCIR_PROGIF, 1) == PCIP_BRIDGE_PCI_SUBTRACTIVE) sc->flags |= PCIB_SUBTRACTIVE; if (bootverbose) { |