aboutsummaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1997-02-10 02:22:35 +0000
committerJohn Dyson <dyson@FreeBSD.org>1997-02-10 02:22:35 +0000
commit996c772f581f5624846dcd8470ca6860c1678b7c (patch)
tree88a944de263165091f0a18abeedbaaccec532407 /sys/scsi
parentd243e2f7f456304830e7f832629bc24c504c2385 (diff)
Notes
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/cd.c2
-rw-r--r--sys/scsi/od.c2
-rw-r--r--sys/scsi/sd.c3
-rw-r--r--sys/scsi/st.c2
4 files changed, 5 insertions, 4 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 3a6fed2632bd..8c79c590b21d 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -75,7 +75,7 @@ static d_strategy_t cdstrategy;
static struct cdevsw cd_cdevsw;
static struct bdevsw cd_bdevsw =
{ cdopen, cdclose, cdstrategy, cdioctl, /*6*/
- nodump, nopsize, 0, "cd", &cd_cdevsw, -1 };
+ nodump, nopsize, D_DISK, "cd", &cd_cdevsw, -1 };
static int32_t cdstrats, cdqueues;
diff --git a/sys/scsi/od.c b/sys/scsi/od.c
index 7964e30df55e..439a47e99678 100644
--- a/sys/scsi/od.c
+++ b/sys/scsi/od.c
@@ -152,7 +152,7 @@ static d_strategy_t odstrategy;
static struct cdevsw od_cdevsw;
static struct bdevsw od_bdevsw =
{ odopen, odclose, odstrategy, odioctl, /*20*/
- nodump, nopsize, 0, "od", &od_cdevsw, -1 };
+ nodump, nopsize, D_DISK, "od", &od_cdevsw, -1 };
/*
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index bb3105371138..3162f1d28c00 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,3 +1,4 @@
+
/*
* Written by Julian Elischer (julian@dialix.oz.au)
* for TRW Financial Systems for use under the MACH(2.5) operating system.
@@ -120,7 +121,7 @@ static d_strategy_t sdstrategy;
static struct cdevsw sd_cdevsw;
static struct bdevsw sd_bdevsw =
{ sdopen, sdclose, sdstrategy, sdioctl, /*4*/
- sddump, sdsize, 0, "sd", &sd_cdevsw, -1 };
+ sddump, sdsize, D_DISK, "sd", &sd_cdevsw, -1 };
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index d3735f337843..8100f0457a41 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -165,7 +165,7 @@ static d_strategy_t ststrategy;
static struct cdevsw st_cdevsw;
static struct bdevsw st_bdevsw =
{ stopen, stclose, ststrategy, stioctl, /*5*/
- nodump, nopsize, 0, "st", &st_cdevsw, -1 };
+ nodump, nopsize, D_TAPE, "st", &st_cdevsw, -1 };
SCSI_DEVICE_ENTRIES(st)