summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/sbusvar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-02 20:00:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-02 20:00:57 +0000
commit8a2c47dc693f0b7d7c87cfab91e1dccefe733901 (patch)
treed26ab554038c5021bf138a9258249f28a85908b5 /sys/arch/sparc/dev/sbusvar.h
parentd9686ca22229b75ee9f8fcd3b7aba51956453f73 (diff)
sbus_establish() and the associated linked list in the sbus softc is now only
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
Diffstat (limited to 'sys/arch/sparc/dev/sbusvar.h')
-rw-r--r--sys/arch/sparc/dev/sbusvar.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/sbusvar.h b/sys/arch/sparc/dev/sbusvar.h
index 0cc849d92f8..0cd1af28626 100644
--- a/sys/arch/sparc/dev/sbusvar.h
+++ b/sys/arch/sparc/dev/sbusvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbusvar.h,v 1.7 2003/06/02 23:27:54 millert Exp $ */
+/* $OpenBSD: sbusvar.h,v 1.8 2006/06/02 20:00:54 miod Exp $ */
/* $NetBSD: sbusvar.h,v 1.4 1996/04/22 02:35:05 abrown Exp $ */
/*
@@ -44,11 +44,6 @@
/*
* S-bus variables.
*/
-struct sbusdev {
- struct device *sd_dev; /* backpointer to generic */
- struct sbusdev *sd_bchain; /* forward link in bus chain */
- void (*sd_reset)(struct device *);
-};
/*
* Sbus driver attach arguments.
@@ -63,13 +58,10 @@ struct sbus_attach_args {
struct sbus_softc {
struct device sc_dev; /* base device */
int sc_clockfreq; /* clock frequency (in Hz) */
- struct sbusdev *sc_sbdev; /* list of all children */
struct rom_range *sc_range;
int sc_nrange;
int sc_burst; /* burst transfer sizes supported */
};
-int sbusdev_match(struct cfdata *, void *);
-void sbus_establish(struct sbusdev *, struct device *);
void sbus_translate(struct device *, struct confargs *);
int sbus_testdma(struct sbus_softc *, struct confargs *);