Recognize the SAB 82532 found in Fujitsu PRIMEPOWER650 and 900.
This commit is contained in:
parent
3bb1fd1bc4
commit
c71dacd168
@ -56,7 +56,8 @@ scc_ebus_probe(device_t dev)
|
||||
cmpt = ofw_bus_get_compat(dev);
|
||||
if (cmpt == NULL)
|
||||
cmpt = "";
|
||||
if (!strcmp(nm, "se") || !strcmp(cmpt, "sab82532")) {
|
||||
if (!strcmp(nm, "se") || !strcmp(nm, "FJSV,se") ||
|
||||
!strcmp(cmpt, "sab82532")) {
|
||||
device_set_desc(dev, "Siemens SAB 82532 dual channel SCC");
|
||||
sc->sc_class = &scc_sab82532_class;
|
||||
return (scc_bfe_probe(dev, EBUS_REGSHFT, EBUS_RCLK, 0));
|
||||
|
@ -238,7 +238,8 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
|
||||
di->bas.regshft = 0;
|
||||
di->bas.rclk = 0;
|
||||
class = NULL;
|
||||
if (!strcmp(buf, "se") || !strcmp(compat, "sab82532")) {
|
||||
if (!strcmp(buf, "se") || !strcmp(buf, "FJSV,se") ||
|
||||
!strcmp(compat, "sab82532")) {
|
||||
class = &uart_sab82532_class;
|
||||
/* SAB82532 are only known to be used for TTYs. */
|
||||
if ((di->bas.chan = uart_cpu_channel(dev)) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user