diff options
Diffstat (limited to 'sys/arch/sparc64/dev/vdsk.c')
-rw-r--r-- | sys/arch/sparc64/dev/vdsk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c index 9dd03d0eeea..a12e88f819d 100644 --- a/sys/arch/sparc64/dev/vdsk.c +++ b/sys/arch/sparc64/dev/vdsk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdsk.c,v 1.31 2012/11/21 21:20:13 kettenis Exp $ */ +/* $OpenBSD: vdsk.c,v 1.32 2012/11/21 23:02:37 kettenis Exp $ */ /* * Copyright (c) 2009, 2011 Mark Kettenis * @@ -27,6 +27,7 @@ #include <uvm/uvm.h> #include <scsi/scsi_all.h> +#include <scsi/cd.h> #include <scsi/scsi_disk.h> #include <scsi/scsiconf.h> @@ -960,6 +961,7 @@ vdsk_scsi_cmd(struct scsi_xfer *xs) case MODE_SENSE: case MODE_SENSE_BIG: case REPORT_LUNS: + case READ_TOC: vdsk_scsi_done(xs, XS_DRIVER_STUFFUP); return; } |