mirror of https://github.com/ipxe/ipxe.git
[bofm] Match port numbering as used in CSV file
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/5/head
parent
38cd351243
commit
44689343c0
|
@ -303,7 +303,7 @@ int bofm ( userptr_t bofmtab, struct pci_device *pci ) {
|
||||||
DBG2_HDA ( en_offset, &en, sizeof ( en ) );
|
DBG2_HDA ( en_offset, &en, sizeof ( en ) );
|
||||||
if ( ( en.options & BOFM_EN_MAP_MASK ) != BOFM_EN_MAP_PFA ) {
|
if ( ( en.options & BOFM_EN_MAP_MASK ) != BOFM_EN_MAP_PFA ) {
|
||||||
DBG ( "BOFM: slot %d port %d has no PCI mapping\n",
|
DBG ( "BOFM: slot %d port %d has no PCI mapping\n",
|
||||||
en.slot, en.port );
|
en.slot, ( en.port + 1 ) );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
bofm = bofm_find_busdevfn ( en.busdevfn );
|
bofm = bofm_find_busdevfn ( en.busdevfn );
|
||||||
|
|
Loading…
Reference in New Issue