Match "serial" as well as "se".

This commit is contained in:
Jake Burkholder 2003-03-31 18:21:52 +00:00
parent 6a37003ce4
commit a11d7214fd

View File

@ -253,7 +253,8 @@ sab_probe(device_t dev)
uint8_t r;
int rid;
if (strcmp(ebus_get_name(dev), "se") != 0)
if (strcmp(ebus_get_name(dev), "se") != 0 &&
strcmp(ebus_get_name(dev), "serial") != 0)
return (ENXIO);
rid = 0;
res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1,