patch-2.2.0-pre9 linux/drivers/video/cyberfb.c

Next file: linux/drivers/video/fbcon-iplan2p2.c
Previous file: linux/drivers/video/cvppcfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/drivers/video/cyberfb.c linux/drivers/video/cyberfb.c
@@ -1146,8 +1146,7 @@
 	DPRINTK("board_addr=%08lx\n", board_addr);
 	DPRINTK("board_size=%08lx\n", board_size);
 
-	cv64_mem = kernel_map (board_addr, board_size, KERNELMAP_NOCACHE_SER,
-			       NULL);
+	cv64_mem = ioremap(board_addr, board_size);
 	cv64_regs = (volatile char *)(cv64_mem + 0x02000000);
 	cv64_fbmem = cv64_mem + 0x01400000;
 	DPRINTK("cv64_mem=%08lx cv64_regs=%08lx cv64_fbmem=%08lx\n",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov