Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139812
b: refs/heads/master
c: d78ad8c
h: refs/heads/master
v: v3
  • Loading branch information
Karsten Wiese authored and David S. Miller committed Apr 2, 2009
1 parent 93da58d commit 82b2f85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9ed88549e2ec73922b788e3865282d221233662
refs/heads/master: d78ad8cbfe73ad568de38814a75e9c92ad0a907c
5 changes: 3 additions & 2 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -2075,8 +2075,7 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
if (!tp->pcie_cap && netif_msg_probe(tp))
dev_info(&pdev->dev, "no PCI Express capability\n");

/* Unneeded ? Don't mess with Mrs. Murphy. */
rtl8169_irq_mask_and_ack(ioaddr);
RTL_W16(IntrMask, 0x0000);

/* Soft reset the chip. */
RTL_W8(ChipCmd, CmdReset);
Expand All @@ -2088,6 +2087,8 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
msleep_interruptible(1);
}

RTL_W16(IntrStatus, 0xffff);

/* Identify chip attached to board */
rtl8169_get_mac_version(tp, ioaddr);

Expand Down

0 comments on commit 82b2f85

Please sign in to comment.