Bug 6572 - Framebuffer drivers should be converted to use the kernel ROM API
Summary: Framebuffer drivers should be converted to use the kernel ROM API
Status: REJECTED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Console/Framebuffers (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Antonino Daplas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-16 19:33 UTC by Jon Smirl
Modified: 2007-11-20 14:24 UTC (History)
0 users

See Also:
Kernel Version: 2.6.17-rc4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

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);

Note You need to log in before you can comment on or make changes to this bug.