Actually revert last... Upon closer inspection the code works in the
face of errors already... A bit unorthodox, but none-the-less valid.
This commit is contained in:
parent
b52943f026
commit
83bda63e3e
@ -348,8 +348,7 @@ sis_find_bridge(device_t dev)
|
||||
|
||||
for (i = 0, busp = pci_devices; i < pci_count; i++, busp++) {
|
||||
pci_childcount = 0;
|
||||
if (device_get_children(*busp, &pci_children, &pci_childcount))
|
||||
break;
|
||||
device_get_children(*busp, &pci_children, &pci_childcount);
|
||||
for (j = 0, childp = pci_children;
|
||||
j < pci_childcount; j++, childp++) {
|
||||
if (pci_get_vendor(*childp) == SIS_VENDORID &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user