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
 		DBG2_HDA ( en_offset, &en, sizeof ( en ) );
303
 		DBG2_HDA ( en_offset, &en, sizeof ( en ) );
304
 		if ( ( en.options & BOFM_EN_MAP_MASK ) != BOFM_EN_MAP_PFA ) {
304
 		if ( ( en.options & BOFM_EN_MAP_MASK ) != BOFM_EN_MAP_PFA ) {
305
 			DBG ( "BOFM: slot %d port %d has no PCI mapping\n",
305
 			DBG ( "BOFM: slot %d port %d has no PCI mapping\n",
306
-			      en.slot, en.port );
306
+			      en.slot, ( en.port + 1 ) );
307
 			continue;
307
 			continue;
308
 		}
308
 		}
309
 		bofm = bofm_find_busdevfn ( en.busdevfn );
309
 		bofm = bofm_find_busdevfn ( en.busdevfn );

Loading…
Cancel
Save