summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/mgx.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/dev/sbus/mgx.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/dev/sbus/mgx.c')
-rw-r--r--sys/dev/sbus/mgx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/sbus/mgx.c b/sys/dev/sbus/mgx.c
index fd310cfa729..5009dbd2485 100644
--- a/sys/dev/sbus/mgx.c
+++ b/sys/dev/sbus/mgx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mgx.c,v 1.5 2005/03/13 23:05:23 miod Exp $ */
+/* $OpenBSD: mgx.c,v 1.6 2006/06/02 20:00:56 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -81,7 +81,6 @@
/* per-display variables */
struct mgx_softc {
struct sunfb sc_sunfb; /* common base device */
- struct sbusdev sc_sd; /* sbus device */
bus_space_tag_t sc_bustag;
bus_addr_t sc_paddr;
@@ -220,8 +219,6 @@ mgxattach(struct device *parent, struct device *self, void *args)
fbwscons_console_init(&sc->sc_sunfb, -1);
}
- sbus_establish(&sc->sc_sd, &sc->sc_sunfb.sf_dev);
-
fbwscons_attach(&sc->sc_sunfb, &mgx_accessops, isconsole);
}