Commit 3b4abffb authored by Olaf Hering's avatar Olaf Hering Committed by Linus Torvalds

[PATCH] quiet non-x86 option ROM warnings

Quiet an incorrect warning in aty128fb and radeonfb about the PCI ROM
content.  Macs work just find without that signature.
Signed-off-by: default avatarOlaf Hering <olh@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 63edceac
...@@ -806,8 +806,8 @@ static void __iomem * __init aty128_map_ROM(const struct aty128fb_par *par, stru ...@@ -806,8 +806,8 @@ static void __iomem * __init aty128_map_ROM(const struct aty128fb_par *par, stru
/* Very simple test to make sure it appeared */ /* Very simple test to make sure it appeared */
if (BIOS_IN16(0) != 0xaa55) { if (BIOS_IN16(0) != 0xaa55) {
printk(KERN_ERR "aty128fb: Invalid ROM signature %x should be 0xaa55\n", printk(KERN_DEBUG "aty128fb: Invalid ROM signature %x should "
BIOS_IN16(0)); " be 0xaa55\n", BIOS_IN16(0));
goto failed; goto failed;
} }
......
...@@ -329,8 +329,9 @@ static int __devinit radeon_map_ROM(struct radeonfb_info *rinfo, struct pci_dev ...@@ -329,8 +329,9 @@ static int __devinit radeon_map_ROM(struct radeonfb_info *rinfo, struct pci_dev
/* Very simple test to make sure it appeared */ /* Very simple test to make sure it appeared */
if (BIOS_IN16(0) != 0xaa55) { if (BIOS_IN16(0) != 0xaa55) {
printk(KERN_ERR "radeonfb (%s): Invalid ROM signature %x should be" printk(KERN_DEBUG "radeonfb (%s): Invalid ROM signature %x "
"0xaa55\n", pci_name(rinfo->pdev), BIOS_IN16(0)); "should be 0xaa55\n",
pci_name(rinfo->pdev), BIOS_IN16(0));
goto failed; goto failed;
} }
/* Look for the PCI data to check the ROM type */ /* Look for the PCI data to check the ROM type */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment