patch-2.2.15 linux/drivers/video/igafb.c
Next file: linux/fs/Config.in
Previous file: linux/drivers/video/iga.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Apr 21 12:46:39 2000
- Orig file:
v2.2.14/drivers/video/igafb.c
- Orig date:
Sun Mar 7 18:39:03 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/video/igafb.c linux/drivers/video/igafb.c
@@ -659,11 +659,11 @@
info->frame_buffer_phys = addr & PCI_BASE_ADDRESS_MEM_MASK;
#ifdef __sparc__
-
- info->io_base_phys = info->frame_buffer_phys;
-
- /* Obtain virtual address and correct physical by PCIC shift */
- info->io_base = pcic_alloc_io(&info->io_base_phys);
+
+ info->io_base_phys = 0x30000000;
+
+ info->io_base = sparc_alloc_io(info->io_base_phys,
+ NULL, 0x1000, "iga", 0, 0);
if (!info->io_base) {
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)