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.
This commit is contained in:
parent
1ba1685b25
commit
c9ccf50a36
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user