svn commit: r306662 - stable/11/sys/dev/pci
John Baldwin
jhb at FreeBSD.org
Mon Oct 3 23:16:40 UTC 2016
Author: jhb
Date: Mon Oct 3 23:16:38 2016
New Revision: 306662
URL: https://svnweb.freebsd.org/changeset/base/306662
Log:
MFC 306126: Fix invalid vendor ID constant (typo).
During a bus rescan the check for an invalid vendor ID of a subfunction
used the wrong constant.
Modified:
stable/11/sys/dev/pci/pci.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/pci/pci.c
==============================================================================
--- stable/11/sys/dev/pci/pci.c Mon Oct 3 23:15:44 2016 (r306661)
+++ stable/11/sys/dev/pci/pci.c Mon Oct 3 23:16:38 2016 (r306662)
@@ -3970,7 +3970,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;
/*
More information about the svn-src-stable-11
mailing list