PERFORCE change 1190665 for review
John Baldwin
jhb at FreeBSD.org
Wed Feb 5 20:56:14 UTC 2014
http://p4web.freebsd.org/@@1190665?ac=10
Change 1190665 by jhb at jhb_ralph on 2014/02/05 20:55:35
Fix a nit in the quirk handling.
Affected files ...
.. //depot/projects/pci/sys/dev/pci/pci.c#56 edit
Differences ...
==== //depot/projects/pci/sys/dev/pci/pci.c#56 (text+ko) ====
@@ -3260,6 +3260,8 @@
if (sup_bus != 0xff) {
sec_bus = sup_bus + 1;
sub_bus = sup_bus + 1;
+ PCI_WRITE_CONFIG(bus, dev, sec_reg, sec_bus, 1);
+ PCI_WRITE_CONFIG(bus, dev, sub_reg, sub_bus, 1);
}
break;
@@ -3279,8 +3281,10 @@
break;
}
freeenv(cp);
- if (sub_bus < 0xa)
+ if (sub_bus < 0xa) {
sub_bus = 0xa;
+ PCI_WRITE_CONFIG(bus, dev, sub_reg, sub_bus, 1);
+ }
break;
}
More information about the p4-projects
mailing list