Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74470
b: refs/heads/master
c: d08b9bd
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Dec 1, 2007
1 parent 78414a8 commit 7285f90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 29816d9aa55c99d463bd5507a46535b5fe79c33a
refs/heads/master: d08b9bdf0264a8134677373f97641712062c603f
9 changes: 2 additions & 7 deletions trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1801,11 +1801,6 @@ static void genesis_mac_intr(struct skge_hw *hw, int port)
xm_write32(hw, port, XM_MODE, XM_MD_FTF);
++dev->stats.tx_fifo_errors;
}

if (status & XM_IS_RXF_OV) {
xm_write32(hw, port, XM_MODE, XM_MD_FRF);
++dev->stats.rx_fifo_errors;
}
}

static void genesis_link_up(struct skge_port *skge)
Expand Down Expand Up @@ -1862,9 +1857,9 @@ static void genesis_link_up(struct skge_port *skge)

xm_write32(hw, port, XM_MODE, mode);

/* Turn on detection of Tx underrun, Rx overrun */
/* Turn on detection of Tx underrun */
msk = xm_read16(hw, port, XM_IMSK);
msk &= ~(XM_IS_RXF_OV | XM_IS_TXF_UR);
msk &= ~XM_IS_TXF_UR;
xm_write16(hw, port, XM_IMSK, msk);

xm_read16(hw, port, XM_ISRC);
Expand Down

0 comments on commit 7285f90

Please sign in to comment.