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/arch/sparc/dev/tvtwo.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/arch/sparc/dev/tvtwo.c')
-rw-r--r-- | sys/arch/sparc/dev/tvtwo.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/tvtwo.c b/sys/arch/sparc/dev/tvtwo.c index 4b8cffa8aef..5c38de21c9c 100644 --- a/sys/arch/sparc/dev/tvtwo.c +++ b/sys/arch/sparc/dev/tvtwo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tvtwo.c,v 1.11 2006/02/12 13:18:07 miod Exp $ */ +/* $OpenBSD: tvtwo.c,v 1.12 2006/06/02 20:00:54 miod Exp $ */ /* * Copyright (c) 2003, 2006, Miodrag Vallat. * All rights reserved. @@ -120,7 +120,6 @@ /* per-display variables */ struct tvtwo_softc { struct sunfb sc_sunfb; /* common base device */ - struct sbusdev sc_sd; /* sbus device */ struct rom_reg sc_phys; volatile u_int8_t *sc_m8; @@ -261,8 +260,6 @@ tvtwoattach(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); - printf("%s: %dx%d\n", self->dv_xname, sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height); |