Fix invalid vendor ID constant (typo).
During a bus rescan the check for an invalid vendor ID of a subfunction used the wrong constant. Submitted by: Dexuan Cui <decui@microsoft.com> MFC after: 3 days
This commit is contained in:
parent
5fca7e1f13
commit
bd71669277
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user