summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/stp_sbus.c
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/sparc64/dev/stp_sbus.c
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/sparc64/dev/stp_sbus.c')
-rw-r--r--sys/arch/sparc64/dev/stp_sbus.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc64/dev/stp_sbus.c b/sys/arch/sparc64/dev/stp_sbus.c
index 6b95093946e..19bf867c76f 100644
--- a/sys/arch/sparc64/dev/stp_sbus.c
+++ b/sys/arch/sparc64/dev/stp_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stp_sbus.c,v 1.6 2004/03/02 23:10:17 miod Exp $ */
+/* $OpenBSD: stp_sbus.c,v 1.7 2006/06/02 20:00:56 miod Exp $ */
/* $NetBSD: stp4020.c,v 1.23 2002/06/01 23:51:03 lukem Exp $ */
/*-
@@ -65,7 +65,6 @@
struct stp4020_sbus_softc {
struct stp4020_softc stp;
- struct sbusdev sc_sd; /* SBus device */
};
int stpmatch(struct device *, void *, void *);
@@ -95,7 +94,6 @@ stpattach(parent, self, aux)
void *aux;
{
struct sbus_attach_args *sa = aux;
- struct stp4020_sbus_softc *ssc = (void *)self;
struct stp4020_softc *sc = (void *)self;
int node;
int i;
@@ -161,8 +159,6 @@ stpattach(parent, self, aux)
}
}
- sbus_establish(&ssc->sc_sd, &sc->sc_dev);
-
/*
* We get to use two SBus interrupt levels.
* The higher level we use for status change interrupts;