From bbdf63fab86cb50847f10fa03c59421e2d3335e9 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 13 Jun 1998 04:20:24 +0000 Subject: [PATCH] The ATAPI disktype is now rather fixed in stone since a device uses it for booting (Shark). Add to mainline. --- sys/sys/disklabel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 194f8abc0079..af487b067cad 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.43 1997/06/20 15:18:03 christos Exp $ */ +/* $NetBSD: disklabel.h,v 1.44 1998/06/13 04:20:24 tv Exp $ */ /* * Copyright (c) 1987, 1988, 1993 @@ -195,6 +195,7 @@ struct disklabel { #define DTYPE_FLOPPY 10 /* floppy */ #define DTYPE_CCD 11 /* concatenated disk device */ #define DTYPE_VND 12 /* vnode pseudo-disk */ +#define DTYPE_ATAPI 13 /* ATAPI */ #ifdef DKTYPENAMES static char *dktypenames[] = { @@ -211,6 +212,7 @@ static char *dktypenames[] = { "floppy", "ccd", "vnd", + "ATAPI", NULL }; #define DKMAXTYPES (sizeof(dktypenames) / sizeof(dktypenames[0]) - 1)