]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bofm] Use "mport" rather than "port" to describe mport value
authorMichael Brown <mcb30@ipxe.org>
Wed, 4 May 2011 09:19:28 +0000 (10:19 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 4 May 2011 09:19:28 +0000 (10:19 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/bofm/bofm.c

index 3afb00f0efddb8a386a56e46e197346e063e339c..dbb98dc44ba243294edf460713bd3a5c6d30383a 100644 (file)
@@ -181,14 +181,14 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
 
        /* Retrieve current MAC address */
        if ( ( rc = bofm->op->harvest ( bofm, en->mport, mac ) ) != 0 ) {
-               DBG ( "BOFM: " PCI_FMT " port %d could not harvest: %s\n",
+               DBG ( "BOFM: " PCI_FMT " mport %d could not harvest: %s\n",
                      PCI_ARGS ( bofm->pci ), en->mport, strerror ( rc ) );
                return rc;
        }
 
        /* Harvest MAC address if necessary */
        if ( en->options & BOFM_EN_RQ_HVST_MASK ) {
-               DBG ( "BOFM: " PCI_FMT " port %d harvested MAC %s\n",
+               DBG ( "BOFM: " PCI_FMT " mport %d harvested MAC %s\n",
                      PCI_ARGS ( bofm->pci ), en->mport, eth_ntoa ( mac ) );
                memcpy ( en->mac_a, mac, sizeof ( en->mac_a ) );
                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 ) {
        /* Mark as changed if necessary */
        if ( ( en->options & BOFM_EN_EN_A ) &&
             ( memcmp ( en->mac_a, mac, sizeof ( en->mac_a ) ) != 0 ) ) {
-               DBG ( "BOFM: " PCI_FMT " port %d MAC %s",
+               DBG ( "BOFM: " PCI_FMT " mport %d MAC %s",
                      PCI_ARGS ( bofm->pci ), en->mport, eth_ntoa ( mac ) );
                DBG ( " changed to %s\n", eth_ntoa ( en->mac_a ) );
                en->options |= BOFM_EN_CHG_CHANGED;
@@ -207,7 +207,7 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
        if ( ( en->options & BOFM_EN_EN_A ) &&
             ( en->options & BOFM_EN_USAGE_ENTRY ) &&
             ( ! ( en->options & BOFM_EN_USAGE_HARVEST ) ) ) {
-               DBG ( "BOFM: " PCI_FMT " port %d applied MAC %s\n",
+               DBG ( "BOFM: " PCI_FMT " mport %d applied MAC %s\n",
                      PCI_ARGS ( bofm->pci ), en->mport,
                      eth_ntoa ( en->mac_a ) );
                memcpy ( mac, en->mac_a, sizeof ( mac ) );
@@ -215,7 +215,7 @@ static int bofm_en ( struct bofm_device *bofm, struct bofm_en *en ) {
 
        /* Store MAC address */
        if ( ( rc = bofm->op->update ( bofm, en->mport, mac ) ) != 0 ) {
-               DBG ( "BOFM: " PCI_FMT " port %d could not update: %s\n",
+               DBG ( "BOFM: " PCI_FMT " mport %d could not update: %s\n",
                      PCI_ARGS ( bofm->pci ), en->mport, strerror ( rc ) );
                return rc;
        }