diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_common.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c index 688b8ca5da32..1cedb9af63dc 100644 --- a/drivers/net/ixgbe/ixgbe_common.c +++ b/drivers/net/ixgbe/ixgbe_common.c | |||
@@ -1278,19 +1278,11 @@ s32 ixgbe_init_rx_addrs_generic(struct ixgbe_hw *hw) | |||
1278 | /* Get the MAC address from the RAR0 for later reference */ | 1278 | /* Get the MAC address from the RAR0 for later reference */ |
1279 | hw->mac.ops.get_mac_addr(hw, hw->mac.addr); | 1279 | hw->mac.ops.get_mac_addr(hw, hw->mac.addr); |
1280 | 1280 | ||
1281 | hw_dbg(hw, " Keeping Current RAR0 Addr =%.2X %.2X %.2X ", | 1281 | hw_dbg(hw, " Keeping Current RAR0 Addr =%pM\n", hw->mac.addr); |
1282 | hw->mac.addr[0], hw->mac.addr[1], | ||
1283 | hw->mac.addr[2]); | ||
1284 | hw_dbg(hw, "%.2X %.2X %.2X\n", hw->mac.addr[3], | ||
1285 | hw->mac.addr[4], hw->mac.addr[5]); | ||
1286 | } else { | 1282 | } else { |
1287 | /* Setup the receive address. */ | 1283 | /* Setup the receive address. */ |
1288 | hw_dbg(hw, "Overriding MAC Address in RAR[0]\n"); | 1284 | hw_dbg(hw, "Overriding MAC Address in RAR[0]\n"); |
1289 | hw_dbg(hw, " New MAC Addr =%.2X %.2X %.2X ", | 1285 | hw_dbg(hw, " New MAC Addr =%pM\n", hw->mac.addr); |
1290 | hw->mac.addr[0], hw->mac.addr[1], | ||
1291 | hw->mac.addr[2]); | ||
1292 | hw_dbg(hw, "%.2X %.2X %.2X\n", hw->mac.addr[3], | ||
1293 | hw->mac.addr[4], hw->mac.addr[5]); | ||
1294 | 1286 | ||
1295 | hw->mac.ops.set_rar(hw, 0, hw->mac.addr, 0, IXGBE_RAH_AV); | 1287 | hw->mac.ops.set_rar(hw, 0, hw->mac.addr, 0, IXGBE_RAH_AV); |
1296 | } | 1288 | } |