aboutsummaryrefslogtreecommitdiff
path: root/sys/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/fd.c3
-rw-r--r--sys/isa/psm.c2
-rw-r--r--sys/isa/vga_isa.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 5a506334d5c4..808c537e3f0f 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -482,6 +482,7 @@ fdin_rd(fdc_p fdc)
}
static struct cdevsw fd_cdevsw = {
+ .d_version = D_VERSION,
.d_open = fdopen,
.d_close = fdclose,
.d_read = physread,
@@ -489,7 +490,7 @@ static struct cdevsw fd_cdevsw = {
.d_ioctl = fdioctl,
.d_strategy = fdstrategy,
.d_name = "fd",
- .d_flags = D_DISK,
+ .d_flags = D_DISK | D_NEEDGIANT,
};
/*
diff --git a/sys/isa/psm.c b/sys/isa/psm.c
index e886e8cc9e4b..dd2fd7e2cc89 100644
--- a/sys/isa/psm.c
+++ b/sys/isa/psm.c
@@ -348,6 +348,8 @@ static driver_t psm_driver = {
static struct cdevsw psm_cdevsw = {
+ .d_version = D_VERSION,
+ .d_flags = D_NEEDGIANT,
.d_open = psmopen,
.d_close = psmclose,
.d_read = psmread,
diff --git a/sys/isa/vga_isa.c b/sys/isa/vga_isa.c
index c820be21ce55..ce330f8ec919 100644
--- a/sys/isa/vga_isa.c
+++ b/sys/isa/vga_isa.c
@@ -72,6 +72,8 @@ static d_ioctl_t isavga_ioctl;
static d_mmap_t isavga_mmap;
static struct cdevsw isavga_cdevsw = {
+ .d_version = D_VERSION,
+ .d_flags = D_NEEDGIANT,
.d_open = isavga_open,
.d_close = isavga_close,
.d_read = isavga_read,