diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index c92fb4a0902..665f62e0911 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -3971,7 +3971,7 @@ pci_rescan_method(device_t dev) if (hdrtype & PCIM_MFDEV) pcifunchigh = PCIB_MAXFUNCS(pcib); for (f = 0; f <= pcifunchigh; f++) { - if (REG(PCIR_VENDOR, 2) == 0xfff) + if (REG(PCIR_VENDOR, 2) == 0xffff) continue; /*