You may write the value into the PCI_ROM_REGISTER instead of create one resource for it.
Also it's better to let pci_probe_rom to double check the signature is more safe.
YH
-----Original Message----- From: YhLu Sent: Wednesday, January 12, 2005 9:56 PM To: 'Li-Ta Lo' Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA
You assign the value to the new resource.
I wonder if it will confuse the resource allocator. Because the range is out of touch of allocator.
YH
-----Original Message----- From: Li-Ta Lo [mailto:ollie@lanl.gov] Sent: Wednesday, January 12, 2005 9:48 PM To: YhLu Cc: Sagiv Yefet; LinuxBIOS Subject: RE: Running with VGA
On Wed, 2005-01-12 at 21:02, YhLu wrote:
Committed.
Also I added readme in /drivers/pci/onboard/onboard.c
YH
I made some modification which should utilize the resource allocation code and minimize the impact of the embedded ROM image. I was doing it blindly, please test it on your platform.
Ollie