]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bofm] Match port numbering as used in CSV file
authorMichael Brown <mcb30@ipxe.org>
Wed, 4 May 2011 09:14:47 +0000 (10:14 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 4 May 2011 09:14:47 +0000 (10:14 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/bofm/bofm.c

index dfa76d3252cd7bf656d078e33c0e0215d858b41f..3afb00f0efddb8a386a56e46e197346e063e339c 100644 (file)
@@ -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 );