Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155649
b: refs/heads/master
c: 3d1454d
h: refs/heads/master
i:
  155647: c683d11
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jul 17, 2009
1 parent 5d7050a commit 9b58f67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 4dc6dc7162c08b9965163c9ab3f9375d4adff2c7
refs/heads/master: 3d1454dd93e84ad1394b6b1646f13795e9f6928e
9 changes: 1 addition & 8 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1151,14 +1151,7 @@ static void sky2_rx_stop(struct sky2_port *sky2)

/* reset the Rx prefetch unit */
sky2_write32(hw, Y2_QADDR(rxq, PREF_UNIT_CTRL), PREF_UNIT_RST_SET);

/* Reset the RAM Buffer receive queue */
sky2_write8(hw, RB_ADDR(rxq, RB_CTRL), RB_RST_SET);

/* Reset Rx MAC FIFO */
sky2_write8(hw, SK_REG(sky2->port, RX_GMF_CTRL_T), GMF_RST_SET);

sky2_read8(hw, B0_CTST);
mmiowb();
}

/* Clean out receive buffer area, assumes receiver hardware stopped */
Expand Down

0 comments on commit 9b58f67

Please sign in to comment.