Add additional PCI option rom checks.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 6 Dec 2008 16:57:45 +0000 (11:57 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 6 Dec 2008 16:57:45 +0000 (11:57 -0500)
commit62eea6714cf768f46be527d6e99b5b0169417a0f
treeeb34f38816f5b8b99d21f51243c371c21773a47d
parent4132e0213ea9b168dd619ca76f1f1bf075d1f4a4
Add additional PCI option rom checks.

PCI_ROM_ADDRESS is only valid for PCI_HEADER_TYPE_NORMAL devices.
Don't attempt to run a rom with address less than 16MiB.
Don't run roms for IDE code when native IDE support is available.
Also, move hardcode option rom defs to config.h.
Also, add some minor code cleanups.
src/config.h
src/optionroms.c