aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/si/si.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 21:10:55 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 21:10:55 +0000
commitdc08ffec870569914f44bcf26aa838310e343764 (patch)
tree0896a7d99c90ad922a1e4b41f052d155256cb97e /sys/dev/si/si.c
parentc33f7bb853b2c9fc395b43274891a8975a675553 (diff)
downloadsrc-dc08ffec870569914f44bcf26aa838310e343764.tar.gz
src-dc08ffec870569914f44bcf26aa838310e343764.zip
Notes
Diffstat (limited to 'sys/dev/si/si.c')
-rw-r--r--sys/dev/si/si.c3
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;