summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-03-31 18:21:52 +0000
committerjake <jake@FreeBSD.org>2003-03-31 18:21:52 +0000
commit0ab41a76583e0f1a267c092541c930b4883f35ff (patch)
treef48d76304f4d9927ce4ba6c1d389470fbc13558e /sys
parentdabde356aa24c39f2dbcabb263c090545b01f03f (diff)
downloadFreeBSD-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.c3
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,
OpenPOWER on IntegriCloud