diff options
author | jake <jake@FreeBSD.org> | 2003-03-31 18:21:52 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-03-31 18:21:52 +0000 |
commit | 0ab41a76583e0f1a267c092541c930b4883f35ff (patch) | |
tree | f48d76304f4d9927ce4ba6c1d389470fbc13558e /sys | |
parent | dabde356aa24c39f2dbcabb263c090545b01f03f (diff) | |
download | FreeBSD-src-0ab41a76583e0f1a267c092541c930b4883f35ff.zip FreeBSD-src-0ab41a76583e0f1a267c092541c930b4883f35ff.tar.gz |
Match "serial" as well as "se".
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sab/sab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sab/sab.c b/sys/dev/sab/sab.c index 0944637..8989a2f 100644 --- a/sys/dev/sab/sab.c +++ b/sys/dev/sab/sab.c @@ -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, |