summaryrefslogtreecommitdiffstats
path: root/src/interface/bofm
diff options
context:
space:
mode:
authorMichael Brown2011-05-04 11:14:47 +0200
committerMichael Brown2011-05-04 11:14:47 +0200
commit44689343c05bdec23f72b9b16b11e75c6091a378 (patch)
treeeb135ec5151d85cdf8736f03412df81a8b33eae1 /src/interface/bofm
parent[romprefix] Attempt to gracefully handle semi-PnP IBM BIOSes (diff)
downloadipxe-44689343c05bdec23f72b9b16b11e75c6091a378.tar.gz
ipxe-44689343c05bdec23f72b9b16b11e75c6091a378.tar.xz
ipxe-44689343c05bdec23f72b9b16b11e75c6091a378.zip
[bofm] Match port numbering as used in CSV file
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/bofm')
-rw-r--r--src/interface/bofm/bofm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/bofm/bofm.c b/src/interface/bofm/bofm.c
index dfa76d32..3afb00f0 100644
--- a/src/interface/bofm/bofm.c
+++ b/src/interface/bofm/bofm.c
@@ -303,7 +303,7 @@ int bofm ( userptr_t bofmtab, struct pci_device *pci ) {
DBG2_HDA ( en_offset, &en, sizeof ( en ) );
if ( ( en.options & BOFM_EN_MAP_MASK ) != BOFM_EN_MAP_PFA ) {
DBG ( "BOFM: slot %d port %d has no PCI mapping\n",
- en.slot, en.port );
+ en.slot, ( en.port + 1 ) );
continue;
}
bofm = bofm_find_busdevfn ( en.busdevfn );