diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/presto.c | 3 | ||||
-rw-r--r-- | sys/dev/ramdisk.c | 3 | ||||
-rw-r--r-- | sys/sys/disklabel.h | 5 |
3 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/presto.c b/sys/arch/sparc/dev/presto.c index bcbcaac87b4..c8afd736c8f 100644 --- a/sys/arch/sparc/dev/presto.c +++ b/sys/arch/sparc/dev/presto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: presto.c,v 1.5 2006/08/14 01:04:58 krw Exp $ */ +/* $OpenBSD: presto.c,v 1.6 2006/09/24 20:29:52 krw Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -387,7 +387,6 @@ presto_getdisklabel(struct presto_softc *sc) strncpy(lp->d_packname, sc->sc_model, 16); lp->d_rpm = 3600; lp->d_interleave = 1; - lp->d_flags = D_RAMDISK; lp->d_partitions[RAW_PART].p_offset = 0; lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; diff --git a/sys/dev/ramdisk.c b/sys/dev/ramdisk.c index c2d2220b996..d2b7d733e58 100644 --- a/sys/dev/ramdisk.c +++ b/sys/dev/ramdisk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ramdisk.c,v 1.28 2006/08/14 01:04:58 krw Exp $ */ +/* $OpenBSD: ramdisk.c,v 1.29 2006/09/24 20:29:52 krw Exp $ */ /* $NetBSD: ramdisk.c,v 1.8 1996/04/12 08:30:09 leo Exp $ */ /* @@ -495,7 +495,6 @@ rdgetdisklabel(struct rd_softc *sc) lp->d_secperunit = lp->d_nsectors; lp->d_rpm = 3600; lp->d_interleave = 1; - lp->d_flags = D_RAMDISK; lp->d_partitions[RAW_PART].p_offset = 0; lp->d_partitions[RAW_PART].p_size = lp->d_secperunit; diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 4f463f2a9dd..08d840d2cf4 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.26 2005/03/29 16:30:21 deraadt Exp $ */ +/* $OpenBSD: disklabel.h,v 1.27 2006/09/24 20:29:52 krw Exp $ */ /* $NetBSD: disklabel.h,v 1.41 1996/05/10 23:07:37 mark Exp $ */ /* @@ -307,10 +307,7 @@ static char *fstypesnames[] = { * flags shared by various drives: */ #define D_REMOVABLE 0x01 /* removable media */ -#define D_ECC 0x02 /* supports ECC */ #define D_BADSECT 0x04 /* supports bad sector forw. */ -#define D_RAMDISK 0x08 /* disk emulator */ -#define D_CHAIN 0x10 /* can do back-back transfers */ /* * Drive data for SMD. |