From c82355ec6d2a6dc42c55fb8415127dbd396e68f4 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 11 Jul 2006 00:51:22 +0000 Subject: Remove DISKLABEL_ALL, DISKLABEL_ALPHA, leave DISKLABEL_I386 in GENERIC. Remove now superfluous check for DISKLABEL_ALL. 'whack whack whack!' deraadt@ --- sys/arch/alpha/alpha/disksubr.c | 7 +------ sys/arch/alpha/conf/GENERIC | 6 ++---- 2 files changed, 3 insertions(+), 10 deletions(-) (limited to 'sys/arch/alpha') diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c index 4d788638fdf..e87012f76e4 100644 --- a/sys/arch/alpha/alpha/disksubr.c +++ b/sys/arch/alpha/alpha/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.47 2006/07/09 21:00:17 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.48 2006/07/11 00:51:21 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -48,11 +48,6 @@ #include #include -/* The native defaults... */ -#if defined(DISKLABEL_ALL) && !defined(DISKLABEL_I386) -#define DISKLABEL_I386 -#endif - char *readbsdlabel(struct buf *, void (*)(struct buf *), int, int, int, struct disklabel *, int); #if defined(DISKLABEL_I386) diff --git a/sys/arch/alpha/conf/GENERIC b/sys/arch/alpha/conf/GENERIC index ece37bc95b3..7436c03c1d3 100644 --- a/sys/arch/alpha/conf/GENERIC +++ b/sys/arch/alpha/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.174 2006/06/22 01:54:53 dlg Exp $ +# $OpenBSD: GENERIC,v 1.175 2006/07/11 00:51:21 krw Exp $ # # For further information on compiling OpenBSD kernels, see the config(8) # man page. @@ -32,9 +32,7 @@ option COMPAT_OSF1 # OSF/1 binary compatibility option COMPAT_NETBSD # NetBSD compatibility # Disklabel compatibility options -option DISKLABEL_ALL # All of the ones mentioned below -#option DISKLABEL_ALPHA # Redundant, just here for completeness -#option DISKLABEL_I386 # i386/arc style of partitioning +option DISKLABEL_I386 # i386/arc style of partitioning # Misc. options option EISAVERBOSE # recognize "unknown" EISA devices -- cgit v1.2.3