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/si/si.c | |
parent | c33f7bb853b2c9fc395b43274891a8975a675553 (diff) | |
download | src-dc08ffec870569914f44bcf26aa838310e343764.tar.gz src-dc08ffec870569914f44bcf26aa838310e343764.zip |
Notes
Diffstat (limited to 'sys/dev/si/si.c')
-rw-r--r-- | sys/dev/si/si.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index fa0d9dba4f6d..1b76ad07abcc 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -118,12 +118,13 @@ static d_write_t siwrite; static d_ioctl_t siioctl; static struct cdevsw si_cdevsw = { + .d_version = D_VERSION, .d_open = siopen, .d_close = siclose, .d_write = siwrite, .d_ioctl = siioctl, .d_name = "si", - .d_flags = D_TTY, + .d_flags = D_TTY | D_NEEDGIANT, }; static int si_Nports; |