diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-06-02 20:00:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-06-02 20:00:57 +0000 |
commit | 8a2c47dc693f0b7d7c87cfab91e1dccefe733901 (patch) | |
tree | d26ab554038c5021bf138a9258249f28a85908b5 /sys/dev/sbus/rfx.c | |
parent | d9686ca22229b75ee9f8fcd3b7aba51956453f73 (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/rfx.c')
-rw-r--r-- | sys/dev/sbus/rfx.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/sbus/rfx.c b/sys/dev/sbus/rfx.c index 5b8b3f0ffe0..bd82c417136 100644 --- a/sys/dev/sbus/rfx.c +++ b/sys/dev/sbus/rfx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rfx.c,v 1.5 2005/03/13 23:05:23 miod Exp $ */ +/* $OpenBSD: rfx.c,v 1.6 2006/06/02 20:00:56 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -108,7 +108,6 @@ struct rfx_cmap { struct rfx_softc { struct sunfb sc_sunfb; - struct sbusdev sc_sd; bus_space_tag_t sc_bustag; bus_addr_t sc_paddr; @@ -315,8 +314,6 @@ rfxattach(struct device *parent, struct device *self, void *args) /* enable video */ rfx_burner(sc, 1, 0); - sbus_establish(&sc->sc_sd, &sc->sc_sunfb.sf_dev); - fbwscons_attach(&sc->sc_sunfb, &rfx_accessops, isconsole); } |