summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1997-02-10 02:22:35 +0000
committerdyson <dyson@FreeBSD.org>1997-02-10 02:22:35 +0000
commit10f666af84d48e89e4e2960415c9b616fce4077f (patch)
tree88a944de263165091f0a18abeedbaaccec532407 /sys/scsi
parent0960d7e91af3428ffba89b42228d82d8afaa0389 (diff)
downloadFreeBSD-src-10f666af84d48e89e4e2960415c9b616fce4077f.zip
FreeBSD-src-10f666af84d48e89e4e2960415c9b616fce4077f.tar.gz
This is the kernel Lite/2 commit. There are some requisite userland
changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes. The system boots and can mount UFS filesystems. Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed. Reviewed by: various people Submitted by: Jeffery Hsu <hsu@freebsd.org>
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 3a6fed2..8c79c59 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 7964e30..439a47e 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 bb310537..3162f1d 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 d3735f3..8100f04 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)
OpenPOWER on IntegriCloud