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/if_le.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/if_le.c')
-rw-r--r-- | sys/arch/sparc/dev/if_le.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc/dev/if_le.c b/sys/arch/sparc/dev/if_le.c index 87fcce9b9b1..47cd4d2aa54 100644 --- a/sys/arch/sparc/dev/if_le.c +++ b/sys/arch/sparc/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.27 2006/06/02 19:58:32 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.28 2006/06/02 20:00:54 miod Exp $ */ /* $NetBSD: if_le.c,v 1.50 1997/09/09 20:54:48 pk Exp $ */ /*- @@ -550,14 +550,6 @@ leattach(parent, self, aux) (bp->val[0] == -1 && bp->val[1] == sc->sc_dev.dv_unit)) case BUS_SBUS: - lesc->sc_sd.sd_reset = (void *)am7990_reset; - if (sbuschild) { - sbus_establish(&lesc->sc_sd, &sc->sc_dev); - } else { - /* Assume SBus is grandparent */ - sbus_establish(&lesc->sc_sd, parent); - } - if (bp != NULL && strcmp(bp->name, le_cd.cd_name) == 0 && SAME_LANCE(bp, ca)) bp->dev = &sc->sc_dev; |