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.
This commit is contained in:
parent
3467b84849
commit
43a095a5fd
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user