Ver código fonte

[bofm] Use "mport" rather than "port" to describe mport value

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 anos atrás
pai
commit
7fc1a0a1c5
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5
    5
      src/interface/bofm/bofm.c

+ 5
- 5
src/interface/bofm/bofm.c Ver arquivo

@@ -181,14 +181,14 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
181 181
 
182 182
 	/* Retrieve current MAC address */
183 183
 	if ( ( rc = bofm->op->harvest ( bofm, en->mport, mac ) ) != 0 ) {
184
-		DBG ( "BOFM: " PCI_FMT " port %d could not harvest: %s\n",
184
+		DBG ( "BOFM: " PCI_FMT " mport %d could not harvest: %s\n",
185 185
 		      PCI_ARGS ( bofm->pci ), en->mport, strerror ( rc ) );
186 186
 		return rc;
187 187
 	}
188 188
 
189 189
 	/* Harvest MAC address if necessary */
190 190
 	if ( en->options & BOFM_EN_RQ_HVST_MASK ) {
191
-		DBG ( "BOFM: " PCI_FMT " port %d harvested MAC %s\n",
191
+		DBG ( "BOFM: " PCI_FMT " mport %d harvested MAC %s\n",
192 192
 		      PCI_ARGS ( bofm->pci ), en->mport, eth_ntoa ( mac ) );
193 193
 		memcpy ( en->mac_a, mac, sizeof ( en->mac_a ) );
194 194
 		en->options |= ( BOFM_EN_EN_A | BOFM_EN_HVST );
@@ -197,7 +197,7 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
197 197
 	/* Mark as changed if necessary */
198 198
 	if ( ( en->options & BOFM_EN_EN_A ) &&
199 199
 	     ( memcmp ( en->mac_a, mac, sizeof ( en->mac_a ) ) != 0 ) ) {
200
-		DBG ( "BOFM: " PCI_FMT " port %d MAC %s",
200
+		DBG ( "BOFM: " PCI_FMT " mport %d MAC %s",
201 201
 		      PCI_ARGS ( bofm->pci ), en->mport, eth_ntoa ( mac ) );
202 202
 		DBG ( " changed to %s\n", eth_ntoa ( en->mac_a ) );
203 203
 		en->options |= BOFM_EN_CHG_CHANGED;
@@ -207,7 +207,7 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
207 207
 	if ( ( en->options & BOFM_EN_EN_A ) &&
208 208
 	     ( en->options & BOFM_EN_USAGE_ENTRY ) &&
209 209
 	     ( ! ( en->options & BOFM_EN_USAGE_HARVEST ) ) ) {
210
-		DBG ( "BOFM: " PCI_FMT " port %d applied MAC %s\n",
210
+		DBG ( "BOFM: " PCI_FMT " mport %d applied MAC %s\n",
211 211
 		      PCI_ARGS ( bofm->pci ), en->mport,
212 212
 		      eth_ntoa ( en->mac_a ) );
213 213
 		memcpy ( mac, en->mac_a, sizeof ( mac ) );
@@ -215,7 +215,7 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
215 215
 
216 216
 	/* Store MAC address */
217 217
 	if ( ( rc = bofm->op->update ( bofm, en->mport, mac ) ) != 0 ) {
218
-		DBG ( "BOFM: " PCI_FMT " port %d could not update: %s\n",
218
+		DBG ( "BOFM: " PCI_FMT " mport %d could not update: %s\n",
219 219
 		      PCI_ARGS ( bofm->pci ), en->mport, strerror ( rc ) );
220 220
 		return rc;
221 221
 	}

Carregando…
Cancelar
Salvar