r8169: do not abort when the power management capabilities are disabled
authorFrancois Romieu <romieu@electric-eye.fr.zoreil.com>
Wed, 16 Nov 2005 22:44:41 +0000 (23:44 +0100)
committerFrancois Romieu <romieu@electric-eye.fr.zoreil.com>
Wed, 16 Nov 2005 22:44:41 +0000 (23:44 +0100)
The capabilities of the 8169 can be disabled but it is hardly a reason
to prevent the use the device. The (so far) unusual behavior has been
reported on a MIPS platform by Yoichi Yuasa.

Spotted-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/r8169.c

index bda6095f3120c9ead2625d3658d4176b0be3124d..14a76f7cf900fa86493ba745bf9fe1bbabb23c6c 100644 (file)
@@ -1346,10 +1346,8 @@ rtl8169_init_board(struct pci_dev *pdev, struct net_device **dev_out,
        } else {
                if (netif_msg_probe(tp)) {
                        printk(KERN_ERR PFX
-                              "Cannot find PowerManagement capability. "
-                              "Aborting.\n");
+                              "PowerManagement capability not found.\n");
                }
-               goto err_out_mwi;
        }
 
        /* make sure PCI base addr 1 is MMIO */