summaryrefslogtreecommitdiffstats
path: root/sys/dev/mcd
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/dev/mcd
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/dev/mcd')
-rw-r--r--sys/dev/mcd/mcd.c4
1 files changed, 2 insertions, 2 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)
OpenPOWER on IntegriCloud