Removed printk().
--- a/devices/r8169-2.6.28-ethercat.c Thu Apr 15 20:15:48 2010 +0200
+++ b/devices/r8169-2.6.28-ethercat.c Thu Apr 15 20:52:49 2010 +0200
@@ -2392,8 +2392,6 @@
void __iomem *ioaddr = tp->mmio_addr;
struct pci_dev *pdev = tp->pci_dev;
- printk(KERN_INFO "%s\n", __func__);
-
if (tp->mac_version == RTL_GIGA_MAC_VER_05) {
RTL_W16(CPlusCmd, RTL_R16(CPlusCmd) | PCIMulRW);
pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, 0x08);
--- a/devices/r8169-2.6.29-ethercat.c Thu Apr 15 20:15:48 2010 +0200
+++ b/devices/r8169-2.6.29-ethercat.c Thu Apr 15 20:52:49 2010 +0200
@@ -2212,12 +2212,12 @@
rtl8169_init_phy(dev, tp);
device_set_wakeup_enable(&pdev->dev, tp->features & RTL_FEATURE_WOL);
+
if (tp->ecdev && ecdev_open(tp->ecdev)) {
ecdev_withdraw(tp->ecdev);
goto err_out_msi_5;
}
-
out:
return rc;
@@ -2428,8 +2428,6 @@
void __iomem *ioaddr = tp->mmio_addr;
struct pci_dev *pdev = tp->pci_dev;
- printk(KERN_INFO "%s\n", __func__);
-
if (tp->mac_version == RTL_GIGA_MAC_VER_05) {
RTL_W16(CPlusCmd, RTL_R16(CPlusCmd) | PCIMulRW);
pci_write_config_byte(pdev, PCI_CACHE_LINE_SIZE, 0x08);