diff options
| author | eeh <eeh@NetBSD.org> | 2002-03-20 17:32:23 +0000 |
|---|---|---|
| committer | eeh <eeh@NetBSD.org> | 2002-03-20 17:32:23 +0000 |
| commit | 67d8d816caa30f711e5f19ee08c03e30562ea52c (patch) | |
| tree | 3dff2d5b10632b6b0460b368c56cddd9b30999e5 /sys/dev | |
| parent | ce4e71d1b0b76147c420bc9412e3bd8c3b237b42 (diff) | |
Use bus_space_vaddr() correctly. (Why use bus_space_vaddr() at all?)
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_ti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c index db8bcd63155..6ad8ec88605 100644 --- a/sys/dev/pci/if_ti.c +++ b/sys/dev/pci/if_ti.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ti.c,v 1.44 2001/11/26 02:41:20 itojun Exp $ */ +/* $NetBSD: if_ti.c,v 1.45 2002/03/20 17:32:23 eeh Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -81,7 +81,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.44 2001/11/26 02:41:20 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.45 2002/03/20 17:32:23 eeh Exp $"); #include "bpfilter.h" #include "opt_inet.h" @@ -1693,7 +1693,7 @@ static void ti_attach(parent, self, aux) } } if (nolinear == 0) - sc->ti_vhandle = (void *)(u_long)(sc->ti_bhandle); /* XXX XXX XXX */ + sc->ti_vhandle = bus_space_vaddr(sc->ti_btag, sc->ti_bhandle); else sc->ti_vhandle = NULL; |
