summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-29 00:46:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-03-29 00:46:50 +0000
commit1769127d0f4d9bf10d6e6cf5e21d5db60bbc14f7 (patch)
tree825008cd87a5b1821753c7c5a8228b0ab6352837
parent2e3fc6636fa92f0472856f824f6c506ccfdaadbb (diff)
here labels we define
-rw-r--r--sys/arch/hppa/hppa/autoconf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c
index 5e43f59e940..61e4ce076f0 100644
--- a/sys/arch/hppa/hppa/autoconf.c
+++ b/sys/arch/hppa/hppa/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.11 2001/01/26 22:15:04 mickey Exp $ */
+/* $OpenBSD: autoconf.c,v 1.12 2001/03/29 00:46:49 mickey Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -60,7 +60,6 @@
#include <dev/cons.h>
#include <hppa/dev/cpudevs.h>
-#include <hppa/dev/cpudevs_data.h>
void setroot __P((void));
void swapconf __P((void));
@@ -212,7 +211,7 @@ bad:
return;
}
-const struct nam2blk {
+static const struct nam2blk {
char name[4];
int maj;
} nam2blk[] = {
@@ -398,6 +397,10 @@ pdc_scanbus(self, ca, bus, maxmod)
}
}
+static const struct hppa_mod_info hppa_knownmods[] = {
+#include <hppa/dev/cpudevs_data.h>
+};
+
const char *
hppa_mod_info(type, sv)
int type, sv;