Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e53091fa authored by Francois Romieu's avatar Francois Romieu
Browse files

r8169: do not abort when the power management capabilities are disabled



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: default avatarYoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
parent 7c8b2eb4
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 */