diff options
author | joerg <joerg@FreeBSD.org> | 1997-05-10 12:13:17 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-05-10 12:13:17 +0000 |
commit | d9fdebe04598bf96fc017e0443681ba19fb01fd5 (patch) | |
tree | db622313725c5b51acaee07e7f4dd368c0136f34 /sys | |
parent | 466cea7091e7b9d457e1deb200495768bcfc1d93 (diff) | |
download | FreeBSD-src-d9fdebe04598bf96fc017e0443681ba19fb01fd5.zip FreeBSD-src-d9fdebe04598bf96fc017e0443681ba19fb01fd5.tar.gz |
Add the D_DISK flag to the cdevsw structs of various CD-ROM drivers.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mcd/mcd.c | 4 | ||||
-rw-r--r-- | sys/dev/scd/scd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/matcd/matcd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/mcd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/scd.c | 4 | ||||
-rw-r--r-- | sys/scsi/worm.c | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index f7eecb8..f774b00 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.88 1997/04/20 17:26:54 bde Exp $ + * $Id: mcd.c,v 1.89 1997/05/04 15:24:20 joerg Exp $ */ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -223,7 +223,7 @@ static d_strategy_t mcdstrategy; static struct cdevsw mcd_cdevsw; static struct bdevsw mcd_bdevsw = { mcdopen, mcdclose, mcdstrategy, mcdioctl, /*7*/ - nodump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 }; + nodump, mcdsize, D_DISK, "mcd", &mcd_cdevsw, -1 }; #define mcd_put(port,byte) outb(port,byte) diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index acd1968..d58f90b 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -41,7 +41,7 @@ */ -/* $Id: scd.c,v 1.29 1997/04/20 17:26:55 bde Exp $ */ +/* $Id: scd.c,v 1.30 1997/05/04 15:24:20 joerg Exp $ */ /* Please send any comments to micke@dynas.se */ @@ -197,7 +197,7 @@ static d_strategy_t scdstrategy; static struct cdevsw scd_cdevsw; static struct bdevsw scd_bdevsw = { scdopen, scdclose, scdstrategy, scdioctl, /*16*/ - nodump, nopsize, 0, "scd", &scd_cdevsw, -1 }; + nodump, nopsize, D_DISK, "scd", &scd_cdevsw, -1 }; int scd_attach(struct isa_device *dev) { diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c index 0ed243f..6c8a393 100644 --- a/sys/i386/isa/matcd/matcd.c +++ b/sys/i386/isa/matcd/matcd.c @@ -337,7 +337,7 @@ static char MATCDVERSION[]="Version 1(26) 18-Oct-95"; static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank Durda IV"; /* The proceeding strings may not be changed*/ -/* $Id: matcd.c,v 1.25 1997/04/20 18:02:40 bde Exp $ */ +/* $Id: matcd.c,v 1.26 1997/05/04 15:24:21 joerg Exp $ */ /*--------------------------------------------------------------------------- Include declarations @@ -523,7 +523,7 @@ static d_strategy_t matcdstrategy; static struct cdevsw matcd_cdevsw; static struct bdevsw matcd_bdevsw = { matcdopen, matcdclose, matcdstrategy, matcdioctl, /*17*/ - nodump, matcdsize, 0, "matcd", + nodump, matcdsize, D_DISK, "matcd", &matcd_cdevsw, -1 }; /*--------------------------------------------------------------------------- diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index f7eecb8..f774b00 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.88 1997/04/20 17:26:54 bde Exp $ + * $Id: mcd.c,v 1.89 1997/05/04 15:24:20 joerg Exp $ */ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -223,7 +223,7 @@ static d_strategy_t mcdstrategy; static struct cdevsw mcd_cdevsw; static struct bdevsw mcd_bdevsw = { mcdopen, mcdclose, mcdstrategy, mcdioctl, /*7*/ - nodump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 }; + nodump, mcdsize, D_DISK, "mcd", &mcd_cdevsw, -1 }; #define mcd_put(port,byte) outb(port,byte) diff --git a/sys/i386/isa/scd.c b/sys/i386/isa/scd.c index acd1968..d58f90b 100644 --- a/sys/i386/isa/scd.c +++ b/sys/i386/isa/scd.c @@ -41,7 +41,7 @@ */ -/* $Id: scd.c,v 1.29 1997/04/20 17:26:55 bde Exp $ */ +/* $Id: scd.c,v 1.30 1997/05/04 15:24:20 joerg Exp $ */ /* Please send any comments to micke@dynas.se */ @@ -197,7 +197,7 @@ static d_strategy_t scdstrategy; static struct cdevsw scd_cdevsw; static struct bdevsw scd_bdevsw = { scdopen, scdclose, scdstrategy, scdioctl, /*16*/ - nodump, nopsize, 0, "scd", &scd_cdevsw, -1 }; + nodump, nopsize, D_DISK, "scd", &scd_cdevsw, -1 }; int scd_attach(struct isa_device *dev) { diff --git a/sys/scsi/worm.c b/sys/scsi/worm.c index cf50c65..08906ac 100644 --- a/sys/scsi/worm.c +++ b/sys/scsi/worm.c @@ -43,7 +43,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: worm.c,v 1.36 1997/04/04 22:12:55 jkh Exp $ + * $Id: worm.c,v 1.37 1997/05/05 13:35:01 joerg Exp $ */ #include "opt_bounce.h" @@ -155,7 +155,7 @@ static d_strategy_t wormstrategy; static struct cdevsw worm_cdevsw; static struct bdevsw worm_bdevsw = { wormopen, wormclose, wormstrategy, wormioctl, /*23*/ - nodump, nopsize, 0, "worm", &worm_cdevsw, -1 }; + nodump, nopsize, D_DISK, "worm", &worm_cdevsw, -1 }; static int |