diff options
author | marcel <marcel@FreeBSD.org> | 2006-02-24 02:06:57 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-02-24 02:06:57 +0000 |
commit | 1e73c990f42fa34d54eb0d81b946c14d211f4ebf (patch) | |
tree | e5d733be2984ab2c24a39108018d6e1bc4f4e709 /sys/dev | |
parent | 2be5755c770635536cb23a9ab04b725574b56a5d (diff) | |
download | FreeBSD-src-1e73c990f42fa34d54eb0d81b946c14d211f4ebf.zip FreeBSD-src-1e73c990f42fa34d54eb0d81b946c14d211f4ebf.tar.gz |
MFp4:
Return BUS_PROBE_LOW_PRIORITY for a successful probe. This is in
preparation of the introduction of scc(4), which is going to handle
SCCs in the near future.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/puc/puc_ebus.c | 2 | ||||
-rw-r--r-- | sys/dev/puc/puc_sbus.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/puc/puc_ebus.c b/sys/dev/puc/puc_ebus.c index a94576a..071bcad 100644 --- a/sys/dev/puc/puc_ebus.c +++ b/sys/dev/puc/puc_ebus.c @@ -54,7 +54,7 @@ puc_ebus_probe(device_t dev) cmpt = ofw_bus_get_compat(dev); if (!strcmp(nm, "se") || (cmpt != NULL && !strcmp(cmpt, "sab82532"))) { device_set_desc(dev, "Siemens SAB 82532 dual channel SCC"); - return (0); + return (BUS_PROBE_LOW_PRIORITY); } return (ENXIO); } diff --git a/sys/dev/puc/puc_sbus.c b/sys/dev/puc/puc_sbus.c index 8bd36d0..7fd702c 100644 --- a/sys/dev/puc/puc_sbus.c +++ b/sys/dev/puc/puc_sbus.c @@ -53,7 +53,7 @@ puc_sbus_probe(device_t dev) nm = ofw_bus_get_name(dev); if (!strcmp(nm, "zs")) { device_set_desc(dev, "Zilog Z8530 dual channel SCC"); - return (0); + return (BUS_PROBE_LOW_PRIORITY); } return (ENXIO); } |