Hi,
- // PnP rom - check for BEV and BCV boot capabilities.
- pnp = (void*)((u8*)rom + rom->pnpoffset);
- if (pnp->signature == PNP_SIGNATURE) {
struct pci_device pci_dev = {
.bdf = bdf,
};
int prio = csm_bootprio_pci(&pci_dev);
if (pnp->bev)
boot_add_bev(FLATPTR_TO_SEG(rom), pnp->bev, pnp->productname, prio);
else if (pnp->bcv)
boot_add_bcv(FLATPTR_TO_SEG(rom), pnp->bcv, pnp->productname, prio);
- } else {
dprintf(1, "rom %p: not a PnP rom, no BEV or BCV capability\n", table);
- }
Reviewed-by: Gerd Hoffmann kraxel@redhat.com
cheers, Gerd