summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-23 16:21:43 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-23 16:21:43 +0000
commitb934da313fb54901baae33b34494eafd440c1904 (patch)
treeed6c00b3ce5547590f816639d42fa87ec0f6a88d /sys/dev/ti
parent6a0edb4a0011290a337443991df5d81e8ee38c14 (diff)
downloadFreeBSD-src-b934da313fb54901baae33b34494eafd440c1904.zip
FreeBSD-src-b934da313fb54901baae33b34494eafd440c1904.tar.gz
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.
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index c1a37fc..838e47a 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/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,
OpenPOWER on IntegriCloud