From: Michael Brown Date: Wed, 4 May 2011 09:14:47 +0000 (+0100) Subject: [bofm] Match port numbering as used in CSV file X-Git-Tag: v1.20.1~2132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44689343c05bdec23f72b9b16b11e75c6091a378;p=thirdparty%2Fipxe.git [bofm] Match port numbering as used in CSV file Signed-off-by: Michael Brown --- diff --git a/src/interface/bofm/bofm.c b/src/interface/bofm/bofm.c index dfa76d325..3afb00f0e 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 );