From b934da313fb54901baae33b34494eafd440c1904 Mon Sep 17 00:00:00 2001 From: wpaul Date: Fri, 23 Jul 1999 16:21:43 +0000 Subject: Grrr. Return the rman_get_bustag()/rman_get_bushandle() lines to their proper place in ti_attach(). I'm positive I typed them in there, but they must have fallen victim to a drive-by cut & pasting. --- sys/pci/if_ti.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/pci/if_ti.c') diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index c1a37fc..838e47a 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ti.c,v 1.114 1999/07/05 19:20:31 wpaul Exp $ + * $Id: if_ti.c,v 1.10 1999/07/23 02:10:11 wpaul Exp $ */ /* @@ -131,7 +131,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_ti.c,v 1.114 1999/07/05 19:20:31 wpaul Exp $"; + "$Id: if_ti.c,v 1.10 1999/07/23 02:10:11 wpaul Exp $"; #endif /* @@ -1575,6 +1575,9 @@ static int ti_attach(dev) goto fail; } + sc->ti_btag = rman_get_bustag(sc->ti_res); + sc->ti_bhandle = rman_get_bushandle(sc->ti_res); + /* Allocate interrupt */ rid = 0; sc->ti_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, -- cgit v1.1