summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-05-10 12:13:17 +0000
committerjoerg <joerg@FreeBSD.org>1997-05-10 12:13:17 +0000
commitd9fdebe04598bf96fc017e0443681ba19fb01fd5 (patch)
treedb622313725c5b51acaee07e7f4dd368c0136f34 /sys/scsi
parent466cea7091e7b9d457e1deb200495768bcfc1d93 (diff)
downloadFreeBSD-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/scsi')
-rw-r--r--sys/scsi/worm.c4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud