diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-07-23 02:18:01 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-07-23 02:18:01 +0000 |
commit | 189697389c078af82881d71a12e75254b97350fc (patch) | |
tree | 076db7761f18bc6f5a24901d866419c48d9d16ef /sys/pci/if_tireg.h | |
parent | bc1ae7010ec578b684499f819bcdcb1ee3b6619b (diff) | |
download | FreeBSD-src-189697389c078af82881d71a12e75254b97350fc.zip FreeBSD-src-189697389c078af82881d71a12e75254b97350fc.tar.gz |
Dangit. Somehow the pmap_kextract hack for alpha snuck back into these
files. Change them back to alpha_XXX_dmamap().
Pointed out by: Andrew Gallatin
Diffstat (limited to 'sys/pci/if_tireg.h')
-rw-r--r-- | sys/pci/if_tireg.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/pci/if_tireg.h b/sys/pci/if_tireg.h index 0b2cf10..95db390 100644 --- a/sys/pci/if_tireg.h +++ b/sys/pci/if_tireg.h @@ -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_tireg.h,v 1.46 1999/07/05 19:20:31 wpaul Exp wpaul $ + * $Id: if_tireg.h,v 1.6 1999/07/23 02:10:11 wpaul Exp $ */ /* @@ -1176,9 +1176,8 @@ struct ti_softc { TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); /* Disable xmit. */ \ TI_CLRBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_CLK); /* Pull clock low again */ + #ifdef __alpha__ #undef vtophys -#define vtophys(va) (pmap_kextract(((vm_offset_t) (va))) \ - + 1*1024*1024*1024) +#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va) #endif - |