mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Clean up two cases of the alpha vtophys() hack that should be
using alpha_XXX_dmamap() but aren't.
This commit is contained in:
parent
2c0431ecf6
commit
6fe64cb683
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51360
@ -571,6 +571,5 @@ struct ax_softc {
|
||||
|
||||
#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
|
||||
|
@ -530,6 +530,5 @@ struct ste_mii_frame {
|
||||
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user