Commit ac450208 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by David S. Miller

igb: use dev_printk instead of printk

Use dev_printk() instead of printk() to give a little more context
and use consistent format.
Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0f807044
...@@ -1019,10 +1019,9 @@ static int __devinit igb_probe(struct pci_dev *pdev, ...@@ -1019,10 +1019,9 @@ static int __devinit igb_probe(struct pci_dev *pdev,
state &= ~PCIE_LINK_STATE_L0S; state &= ~PCIE_LINK_STATE_L0S;
pci_write_config_word(us_dev, pos + PCI_EXP_LNKCTL, pci_write_config_word(us_dev, pos + PCI_EXP_LNKCTL,
state); state);
printk(KERN_INFO "Disabling ASPM L0s upstream switch " dev_info(&pdev->dev,
"port %x:%x.%x\n", us_dev->bus->number, "Disabling ASPM L0s upstream switch port %s\n",
PCI_SLOT(us_dev->devfn), pci_name(us_dev));
PCI_FUNC(us_dev->devfn));
} }
default: default:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment