summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include/autoconf.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-03-16 00:03:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-03-16 00:03:59 +0000
commit4e09d85469f5d06ea0a493b5e2c2d36a1bec4a8d (patch)
tree1e4a6849e4a2d180f12aa07d2b6efea61d986b1e /sys/arch/mvme88k/include/autoconf.h
parent88cbb6d0249349f8547596c681cc09c8b5ec1ea9 (diff)
Update the configuration procedure, to get in sync with other ports:
- support any number of partition (not a power of two) - better computation of swap and dump devices
Diffstat (limited to 'sys/arch/mvme88k/include/autoconf.h')
-rw-r--r--sys/arch/mvme88k/include/autoconf.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/include/autoconf.h b/sys/arch/mvme88k/include/autoconf.h
index 32896fb5356..4f32c7f44ad 100644
--- a/sys/arch/mvme88k/include/autoconf.h
+++ b/sys/arch/mvme88k/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.6 1999/09/27 20:46:17 smurph Exp $ */
+/* $OpenBSD: autoconf.h,v 1.7 2001/03/16 00:03:52 miod Exp $ */
/*
* Copyright (c) 1999, Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -71,10 +71,9 @@ int bootpart; /* boot partition (disk) */
struct device *bootdv; /* boot device */
-/* PARTITIONSHIFT from disklabel.h */
-#define PARTITIONMASK ((1 << PARTITIONSHIFT) - 1)
-
void *mapiodev __P((void *pa, int size));
void unmapiodev __P((void *kva, int size));
+struct device *getdevunit __P((char *name, int unit));
+
#endif