Browse Source

[bofm] Match port numbering as used in CSV file

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
44689343c0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/interface/bofm/bofm.c

+ 1
- 1
src/interface/bofm/bofm.c View File

@@ -303,7 +303,7 @@ int bofm ( userptr_t bofmtab, struct pci_device *pci ) {
303 303
 		DBG2_HDA ( en_offset, &en, sizeof ( en ) );
304 304
 		if ( ( en.options & BOFM_EN_MAP_MASK ) != BOFM_EN_MAP_PFA ) {
305 305
 			DBG ( "BOFM: slot %d port %d has no PCI mapping\n",
306
-			      en.slot, en.port );
306
+			      en.slot, ( en.port + 1 ) );
307 307
 			continue;
308 308
 		}
309 309
 		bofm = bofm_find_busdevfn ( en.busdevfn );

Loading…
Cancel
Save