mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155968
|
@ -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…
Reference in a new issue