aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-06-30 06:27:24 +0000
committerWarner Losh <imp@FreeBSD.org>2006-06-30 06:27:24 +0000
commit6c6d4885ee4de59f14b213d06ed34fa917c1f95a (patch)
tree2871d279c9eab699f24702aa3e539940190b7749 /sys/dev/sio
parentaa1d7ce72f7d4f8fc982ae0400bbf7eb5344cff3 (diff)
downloadsrc-6c6d4885ee4de59f14b213d06ed34fa917c1f95a.tar.gz
src-6c6d4885ee4de59f14b213d06ed34fa917c1f95a.zip
Notes
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index d815dc6b2fee..a2057e0d49c0 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -700,7 +700,7 @@ sioprobe(dev, xrid, rclk, noprobe)
device_set_softc(dev, NULL);
free(com, M_DEVBUF);
}
- return (result);
+ return (result == 0 ? BUS_PROBE_DEFAULT : result);
}
/*
@@ -777,7 +777,7 @@ sioprobe(dev, xrid, rclk, noprobe)
device_set_softc(dev, NULL);
free(com, M_DEVBUF);
}
- return (result);
+ return (result == 0 ? BUS_PROBE_DEFAULT : result);
}
#ifdef COM_ESP