diff options
author | imp <imp@FreeBSD.org> | 2008-08-23 07:43:03 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-08-23 07:43:03 +0000 |
commit | b06e92ed2896a3c87c3d8a64f23c8a458d36feb0 (patch) | |
tree | 88666ccee3162dea2f0d4b6a5ac3f2b0c621d98e /sys/dev/sis | |
parent | 8d9d4a6dea7fe8ebdcb514b5a960e2a1e3cf46dd (diff) | |
download | FreeBSD-src-b06e92ed2896a3c87c3d8a64f23c8a458d36feb0.zip FreeBSD-src-b06e92ed2896a3c87c3d8a64f23c8a458d36feb0.tar.gz |
Actually revert last... Upon closer inspection the code works in the
face of errors already... A bit unorthodox, but none-the-less valid.
Diffstat (limited to 'sys/dev/sis')
-rw-r--r-- | sys/dev/sis/if_sis.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/sis/if_sis.c b/sys/dev/sis/if_sis.c index 5c82cc1..e5292eb 100644 --- a/sys/dev/sis/if_sis.c +++ b/sys/dev/sis/if_sis.c @@ -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 && |