summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-15 18:46:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-15 18:46:40 +0000
commit5282932621135e658e0b2840be2d6aff9527526c (patch)
treefc39685573899011d81eddea28f721bad151f951 /sys/arch/sparc64
parent9ff521fa82ed0cb58d169bbe3cdc21b0ba9051c4 (diff)
Nuke matchbyname(), which isn't used anymore.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/include/autoconf.h13
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c16
2 files changed, 3 insertions, 26 deletions
diff --git a/sys/arch/sparc64/include/autoconf.h b/sys/arch/sparc64/include/autoconf.h
index d317bfb178e..9bf7a0292fd 100644
--- a/sys/arch/sparc64/include/autoconf.h
+++ b/sys/arch/sparc64/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.9 2003/06/02 23:27:56 millert Exp $ */
+/* $OpenBSD: autoconf.h,v 1.10 2005/03/15 18:46:38 miod Exp $ */
/* $NetBSD: autoconf.h,v 1.10 2001/07/24 19:32:11 eeh Exp $ */
/*-
@@ -135,22 +135,13 @@ extern int optionsnode;
char *getpropstringA(int, char *, char *);
/*
- * The matchbyname function is useful in drivers that are matched
- * by romaux name, i.e., all `mainbus attached' devices. It expects
- * its aux pointer to point to a pointer to the name (the address of
- * a romaux structure suffices, for instance). (OBSOLETE)
- */
-struct device;
-struct cfdata;
-int matchbyname(struct device *, struct cfdata *cf, void *aux);
-
-/*
* `clockfreq' produces a printable representation of a clock frequency
* (this is just a frill).
*/
char *clockfreq(long freq);
/* Openprom V2 style boot path */
+struct device;
struct bootpath {
char name[16]; /* name of this node */
char compatible[16]; /* "compatible" name of this node */
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index 1bbed64ee62..5de0ad1b132 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.37 2004/12/25 23:02:25 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.38 2005/03/15 18:46:39 miod Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -159,20 +159,6 @@ int autoconf_debug = 0x0;
#endif
/*
- * Most configuration on the SPARC is done by matching OPENPROM Forth
- * device names with our internal names.
- */
-int
-matchbyname(parent, cf, aux)
- struct device *parent;
- struct cfdata *cf;
- void *aux;
-{
- printf("%s: WARNING: matchbyname\n", cf->cf_driver->cd_name);
- return (0);
-}
-
-/*
* Convert hex ASCII string to a value. Returns updated pointer.
* Depends on ASCII order (this *is* machine-dependent code, you know).
*/