diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-27 20:47:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 20:47:26 -0400 |
commit | 7c510e4b730a92cecf94ada45c989d8be0200d47 (patch) | |
tree | 61f1926964c580946367588602a8eb039561f077 /drivers/net/igb | |
parent | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (diff) |
net: convert more to %pM
A number of places still use %02x:...:%02x because it's
in debug statements or for no real reason. Make a few
of them use %pM.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb')
-rw-r--r-- | drivers/net/igb/igb_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 1f397cd99414..3b42665ef1d4 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -1275,16 +1275,14 @@ static int __devinit igb_probe(struct pci_dev *pdev, | |||
1275 | 1275 | ||
1276 | dev_info(&pdev->dev, "Intel(R) Gigabit Ethernet Network Connection\n"); | 1276 | dev_info(&pdev->dev, "Intel(R) Gigabit Ethernet Network Connection\n"); |
1277 | /* print bus type/speed/width info */ | 1277 | /* print bus type/speed/width info */ |
1278 | dev_info(&pdev->dev, | 1278 | dev_info(&pdev->dev, "%s: (PCIe:%s:%s) %pM\n", |
1279 | "%s: (PCIe:%s:%s) %02x:%02x:%02x:%02x:%02x:%02x\n", | ||
1280 | netdev->name, | 1279 | netdev->name, |
1281 | ((hw->bus.speed == e1000_bus_speed_2500) | 1280 | ((hw->bus.speed == e1000_bus_speed_2500) |
1282 | ? "2.5Gb/s" : "unknown"), | 1281 | ? "2.5Gb/s" : "unknown"), |
1283 | ((hw->bus.width == e1000_bus_width_pcie_x4) | 1282 | ((hw->bus.width == e1000_bus_width_pcie_x4) |
1284 | ? "Width x4" : (hw->bus.width == e1000_bus_width_pcie_x1) | 1283 | ? "Width x4" : (hw->bus.width == e1000_bus_width_pcie_x1) |
1285 | ? "Width x1" : "unknown"), | 1284 | ? "Width x1" : "unknown"), |
1286 | netdev->dev_addr[0], netdev->dev_addr[1], netdev->dev_addr[2], | 1285 | netdev->dev_addr); |
1287 | netdev->dev_addr[3], netdev->dev_addr[4], netdev->dev_addr[5]); | ||
1288 | 1286 | ||
1289 | igb_read_part_num(hw, &part_num); | 1287 | igb_read_part_num(hw, &part_num); |
1290 | dev_info(&pdev->dev, "%s: PBA No: %06x-%03x\n", netdev->name, | 1288 | dev_info(&pdev->dev, "%s: PBA No: %06x-%03x\n", netdev->name, |