summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-23 02:18:01 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-23 02:18:01 +0000
commit189697389c078af82881d71a12e75254b97350fc (patch)
tree076db7761f18bc6f5a24901d866419c48d9d16ef /sys/dev/ti
parentbc1ae7010ec578b684499f819bcdcb1ee3b6619b (diff)
downloadFreeBSD-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/dev/ti')
-rw-r--r--sys/dev/ti/if_tireg.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ti/if_tireg.h b/sys/dev/ti/if_tireg.h
index 0b2cf10..95db390 100644
--- a/sys/dev/ti/if_tireg.h
+++ b/sys/dev/ti/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
-
OpenPOWER on IntegriCloud