diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-07-23 16:21:43 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-07-23 16:21:43 +0000 |
commit | b934da313fb54901baae33b34494eafd440c1904 (patch) | |
tree | ed6c00b3ce5547590f816639d42fa87ec0f6a88d /sys | |
parent | 6a0edb4a0011290a337443991df5d81e8ee38c14 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/ti/if_ti.c | 7 | ||||
-rw-r--r-- | sys/pci/if_ti.c | 7 |
2 files changed, 10 insertions, 4 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, 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, |