summaryrefslogtreecommitdiffstats
path: root/sys/dev/sis
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-08-23 07:43:03 +0000
committerimp <imp@FreeBSD.org>2008-08-23 07:43:03 +0000
commitb06e92ed2896a3c87c3d8a64f23c8a458d36feb0 (patch)
tree88666ccee3162dea2f0d4b6a5ac3f2b0c621d98e /sys/dev/sis
parent8d9d4a6dea7fe8ebdcb514b5a960e2a1e3cf46dd (diff)
downloadFreeBSD-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.c3
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 &&
OpenPOWER on IntegriCloud