summaryrefslogtreecommitdiff
path: root/sys/arch/aviion
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-10-03 01:37:23 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-10-03 01:37:23 +0000
commit2701db09a71daf730aa4e2da0ed592a141683f35 (patch)
tree623016f93dacf3f59b06eccd868988cd79a0397f /sys/arch/aviion
parente1ca223320b5c19d983f34c51a654f11c774471a (diff)
Don't load bad144 bad sector information into disklabels for archs that
don't have wd* in GENERIC, since wd* is the only place such info is being used. First step of eliminating bad144 bad sector info from all disklabels. 'go go go' deraadt@
Diffstat (limited to 'sys/arch/aviion')
-rw-r--r--sys/arch/aviion/include/disklabel.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/aviion/include/disklabel.h b/sys/arch/aviion/include/disklabel.h
index c5ae83c7559..061b43f4543 100644
--- a/sys/arch/aviion/include/disklabel.h
+++ b/sys/arch/aviion/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.3 2006/07/01 16:50:33 krw Exp $ */
+/* $OpenBSD: disklabel.h,v 1.4 2006/10/03 01:37:22 krw Exp $ */
/* $NetBSD: disklabel.h,v 1.2 2001/11/25 19:02:03 thorpej Exp $ */
/*
@@ -52,8 +52,6 @@
#define MAXPARTITIONS 16 /* number of partitions */
#define RAW_PART 2 /* raw partition: XX?c */
-#include <sys/dkbad.h>
-
/* MBR partition table */
#define DOSBBSECTOR 0 /* MBR sector number */
#define DOSPARTOFF 446 /* Offset of MBR partition table */
@@ -99,7 +97,6 @@ struct dos_partition {
struct cpu_disklabel {
struct dos_partition dosparts[NDOSPART];
- struct dkbad bad;
};
#endif /* _AVIION_DISKLABEL_H_ */