summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tlsb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/tlsb')
-rw-r--r--sys/alpha/tlsb/zs_tlsb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/tlsb/zs_tlsb.c b/sys/alpha/tlsb/zs_tlsb.c
index e13f196..544e0f2 100644
--- a/sys/alpha/tlsb/zs_tlsb.c
+++ b/sys/alpha/tlsb/zs_tlsb.c
@@ -361,7 +361,7 @@ zsstop(struct tty *tp, int flag)
splx(s);
}
-DEV_DRIVER_MODULE(zs, zsc, zs_driver, zs_devclass, zs_cdevsw, 0, 0);
+DRIVER_MODULE(zs, zsc, zs_driver, zs_devclass, 0, 0);
/*
* The zsc bus holds two zs devices, one for channel A, one for channel B.
@@ -443,6 +443,8 @@ zsc_tlsb_attach(device_t dev)
device_t parent = device_get_parent(dev);
void *ih;
+ cdevsw_add(&zs_cdevsw);
+
bus_generic_attach(dev);
/* XXX */
OpenPOWER on IntegriCloud