summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/upavar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-06-11 06:44:35 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-06-11 06:44:35 +0000
commite88afb421154d1aa57906d490d82ee52cbd1cab4 (patch)
treee63f210f0180d4426d91996be111bacec56f0128 /sys/arch/sparc64/dev/upavar.h
parentac394b0bdb4975e9806d4ed0b54259bc39b03cba (diff)
Remove upa_softc from here (it will return, but it's in the way for now)
Diffstat (limited to 'sys/arch/sparc64/dev/upavar.h')
-rw-r--r--sys/arch/sparc64/dev/upavar.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/arch/sparc64/dev/upavar.h b/sys/arch/sparc64/dev/upavar.h
index 67c51ce0873..a183f3b73a7 100644
--- a/sys/arch/sparc64/dev/upavar.h
+++ b/sys/arch/sparc64/dev/upavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: upavar.h,v 1.4 2002/03/14 03:16:00 millert Exp $ */
+/* $OpenBSD: upavar.h,v 1.5 2002/06/11 06:44:34 jason Exp $ */
/* $NetBSD: upavar.h,v 1.2 2000/01/14 14:33:31 pk Exp $ */
/*-
@@ -99,15 +99,6 @@ struct upadev {
void (*ud_reset)(struct device *);
};
-/* variables per Upa */
-struct upa_softc {
- struct device uc_dev; /* base device */
- bus_space_tag_t uc_bustag;
- bus_dma_tag_t uc_dmatag;
- int uc_clockfreq; /* clock frequency (in Hz) */
- struct upadev *uc_sbdev; /* list of all children */
-};
-
/*
* Upa driver attach arguments.
*/
@@ -125,21 +116,11 @@ struct upa_attach_args {
int ua_pri; /* priority (IPL) */
};
-/* upa_attach() is also used from obio.c */
-void upa_attach(struct upa_softc *, char *, int,
- const char * const *);
int upa_print(void *, const char *);
int upadev_match(struct cfdata *, void *);
void upa_establish(struct upadev *, struct device *);
-int upa_setup_attach_args(
- struct upa_softc *,
- bus_space_tag_t,
- bus_dma_tag_t,
- int, /*node*/
- struct upa_attach_args *);
-
#define upa_bus_map(t, bt, a, s, f, v, hp) \
bus_space_map2(t, bt, a, s, f, v, hp)