diff options
Diffstat (limited to 'sys/dev/fb/vga.c')
-rw-r--r-- | sys/dev/fb/vga.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c index 19d6f1f..235709a 100644 --- a/sys/dev/fb/vga.c +++ b/sys/dev/fb/vga.c @@ -162,7 +162,7 @@ vga_mmap(dev_t dev, vga_softc_t *sc, vm_offset_t offset, int prot) #endif /* architecture dependent option */ -#ifdef __alpha__ +#if defined(__alpha__) || defined(__ia64__) #define VGA_NO_BIOS 1 #endif @@ -2469,6 +2469,9 @@ vga_mmap_buf(video_adapter_t *adp, vm_offset_t offset, int prot) #ifdef __alpha__ return alpha_btop(adp->va_info.vi_window + offset); #endif +#ifdef __ia64__ + return ia64_btop(adp->va_info.vi_window + offset); +#endif } #ifndef VGA_NO_MODE_CHANGE |