diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2001-10-06 09:27:43 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2001-10-06 09:27:43 +0000 |
| commit | 885f6ac3603c20baba5318e01821f0e7532dc1fd (patch) | |
| tree | 36c3e03080c49106426d20a4cce78ea73303d556 /sys/dev | |
| parent | 79b2d7690fc194d18374df147918437b27036402 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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 19d6f1f4aae2..235709a31b32 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 |
