Bug 6572

Summary: Framebuffer drivers should be converted to use the kernel ROM API
Product: Drivers Reporter: Jon Smirl (jonsmirl)
Component: Console/FramebuffersAssignee: Antonino Daplas (adaplas)
Status: REJECTED INVALID    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.17-rc4 Subsystem:
Regression: --- Bisected commit-id:

Description Jon Smirl 2006-05-16 19:33:14 UTC
These drivers should be using the kernel supplied ROM API instead of accessing
the ROM directly.

video/console/sticore.c:                pci_write_config_dword(sti->pd,
PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE);
video/console/sticore.c:                pci_write_config_dword(pd,
PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE);
video/matrox/matroxfb_misc.c:   pci_write_config_dword(pdev, PCI_ROM_ADDRESS,
(fbbase & PCI_ROM_ADDRESS_MASK) | PCI_ROM_ADDRESS_ENABLE);
video/sis/sis_main.c:                   (ivideo->video_base &
PCI_ROM_ADDRESS_MASK) | PCI_ROM_ADDRESS_ENABLE);