Re: [PATCH] quiet non-x86 option ROM warnings

Jon Smirl
2005-02-16T01:12:14Z

There is a new io resource flag as part of the pci rom code,
IORESOURCE_ROM_SHADOW, that is used on x86. If IORESOURCE_ROM_SHADOW
is set, you should ignore the physical ROM and use the copy at C000:0.
Can we build an equivalent flag for PPC? On x86 arch specific code
determines the boot video device and sets the flag.

Acutally, if radeon and rage fb drivers were using the PCI ROM support
(drivers/pci/rom.c) would they be having this problem? The 55AA check
is in the PCI ROM support too.

On Wed, 16 Feb 2005 12:00:31 +1100, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
>
> > I thought the signature described what type of ROM was there? E.g. 0xaa55
> > means x86 ROM, x0303 means OF ROM, etc.?
> >
> > At any rate, not having a ROM at all (which my case may be) isn't an error
> > either, so I think removing the printk is appropriate regardless.
>
> Oh, and if this is the PowerBook, then you don't have a ROM attached to
> the video chip, the OF driver is part of the main system ROM.
>
> Ben.
>
>

--
Jon Smirl
jonsmirl@gmail.com