patch-2.4.0-test3 linux/drivers/video/clgenfb.c
Next file: linux/drivers/video/fbmem.c
Previous file: linux/drivers/video/atyfb.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Jul 5 10:56:12 2000
- Orig file:
v2.4.0-test2/linux/drivers/video/clgenfb.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/video/clgenfb.c linux/drivers/video/clgenfb.c
@@ -2557,7 +2557,6 @@
#endif /* CONFIG_FB_OF */
struct pci_dev *pdev;
unsigned long board_addr, board_size;
- u16 tmp16;
DPRINTK ("ENTER\n");
@@ -2618,14 +2617,12 @@
}
if (!request_mem_region(board_addr, board_size, "clgenfb")) {
- pci_write_config_word (pdev, PCI_COMMAND, tmp16);
printk(KERN_ERR "clgen: cannot reserve region 0x%lx, abort\n",
board_addr);
return -1;
}
#if 0 /* if the system didn't claim this region, we would... */
if (!request_mem_region(0xA0000, 65535, "clgenfb")) {
- pci_write_config_word (pdev, PCI_COMMAND, tmp16);
printk(KERN_ERR "clgen: cannot reserve region 0x%lx, abort\n",
0xA0000L);
release_mem_region(board_addr, board_size);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)