diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 21:10:55 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 21:10:55 +0000 |
| commit | dc08ffec870569914f44bcf26aa838310e343764 (patch) | |
| tree | 0896a7d99c90ad922a1e4b41f052d155256cb97e /sys/dev/sab | |
| parent | c33f7bb853b2c9fc395b43274891a8975a675553 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sab')
| -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 36b6c1f9c53f..af1bf131278d 100644 --- a/sys/dev/sab/sab.c +++ b/sys/dev/sab/sab.c @@ -161,11 +161,12 @@ static void sabttystop(struct tty *tp, int rw); static int sabttyparam(struct tty *tp, struct termios *t); static struct cdevsw sabtty_cdevsw = { + .d_version = D_VERSION, .d_open = sabttyopen, .d_close = sabttyclose, .d_ioctl = sabttyioctl, .d_name = "sabtty", - .d_flags = D_TTY, + .d_flags = D_TTY | D_NEEDGIANT, }; static device_method_t sab_methods[] = { |
