summaryrefslogtreecommitdiffstats
path: root/probe_roms.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix for resource leak on error path.Artur Wojcik2009-12-101-3/+5
| | | | | | | | Make sure opened file descriptors are cleaned up in the exit path when error occured. Signed-off-by: Artur Wojcik <artur.wojcik@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* platform: relax rom scanning alignment for ahci platformsDan Williams2009-07-311-5/+21
| | | | | | | | | | | | | | | | The PCI-3.0 Firmware specification allows for option-roms to have 512-byte alignment rather than 2048-byte. As there does not appear to be a reliable method to detect a PCI-3.0 compliant BIOS from userspace we allow the imsm platform detection code to presume that a system modern enough to have an Intel AHCI controller does not have dangerous/legacy ISA regions in the option-ROM memory space. An environment variable to disable this behaviour, IMSM_SAFE_OROM_SCAN, is added in case this presumption is ever proven wrong. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
* port arch/x86/kernel/probe_roms_32.c for use in 'platform' supportDan Williams2008-12-081-0/+279
This provides at least a kernel bug compatible method of scanning for an adapter-rom. Signed-off-by: Dan Williams <dan.j.williams@intel.com>