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.
This commit is contained in:
Marcel Moolenaar 2006-02-24 02:06:57 +00:00
parent 1ba1685b25
commit c9ccf50a36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155968
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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);
}