diff options
author | joerg <joerg@FreeBSD.org> | 1997-12-20 23:05:14 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-12-20 23:05:14 +0000 |
commit | efc02439ae6f658dc47ccfa660f09f8706c4f756 (patch) | |
tree | 2ca90d0a41fc413fb897ce1420eb43ea6d5accac /sys/scsi | |
parent | 3de8948e8cdb62b80ff6647f24aee6154797564f (diff) | |
download | FreeBSD-src-efc02439ae6f658dc47ccfa660f09f8706c4f756.zip FreeBSD-src-efc02439ae6f658dc47ccfa660f09f8706c4f756.tar.gz |
Duplicate the entry for the Plasmon CD-R device, so both possibilities
(read/only and write/once) will be covered. This is necessary in order
to fill in the proper device information record.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsiconf.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 56baed1..c4dc2a3 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -16,7 +16,7 @@ * * New configuration setup: dufault@hda.com * - * $Id: scsiconf.c,v 1.97 1997/11/06 08:29:50 joerg Exp $ + * $Id: scsiconf.c,v 1.98 1997/12/20 00:28:49 bde Exp $ */ #include "opt_scsi.h" @@ -435,14 +435,17 @@ static struct scsidevs knowndevs[] = * The Plasmon's are dual-faced: they appear as T_WORM if the * drive is empty, or a CD-R medium is in the drive, and they * announce theirselves as T_READONLY if a CD-ROM (or fixated - * CD-R) is there. This record catches the latter case, while - * the former one falls under the terms of the generic T_WORM - * below. + * CD-R) is there. We need both entries here, so the worm_mode + * hook will be properly filled in. */ { T_READONLY, T_WORM, T_REMOV, "PLASMON", "RF41*", "*", "worm", SC_ONE_LU, 0, &worm_mode_plasmon }, + { + T_WORM, T_WORM, T_REMOV, "PLASMON", "RF41*", "*", + "worm", SC_ONE_LU, 0, &worm_mode_plasmon + }, #endif /* NWORM */ #if NPT > 0 /* |