On Tue, 2005-01-18 at 09:29, Ronald G. Minnich wrote:
It is weird that fuctory bios can still use them.
There's gotta be a hack in fuctory bios, I would guess, something like: if (the pci card is a vga && there is an option rom) callit();
i.e. I betcha that fuctory bioses will call an option rom on vga even if it violates the spec.
I wonder if we really want to do this, the S3 cards are antiques anyway.
ron
YhLu,
Why did you remove the class code check ?
if (dev->class != ((rom_data->class_hi << 8) | rom_data->class_lo)) { printk_err("Class Code mismatch ROM %08x, dev %08x\n", (rom_data->class_hi << 8) | rom_data->class_lo, dev->class); // return NULL; }
Ollie