Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289749
b: refs/heads/master
c: c550b12
h: refs/heads/master
i:
  289747: 58c521d
v: v3
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Jan 26, 2012
1 parent 6e6f1c5 commit 88b5ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 6a92f732f557401ca8cc0b16f8e8914c133cf6c6
refs/heads/master: c550b121854eb1300148da1c2c8df6ed0dabdc66
10 changes: 1 addition & 9 deletions trunk/drivers/net/ethernet/intel/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2770,7 +2770,7 @@ static void e1000_configure_tx(struct e1000_adapter *adapter)
struct e1000_hw *hw = &adapter->hw;
struct e1000_ring *tx_ring = adapter->tx_ring;
u64 tdba;
u32 tdlen, tctl, tarc;
u32 tdlen, tarc;

/* Setup the HW Tx Head and Tail descriptor pointers */
tdba = tx_ring->dma;
Expand Down Expand Up @@ -2808,12 +2808,6 @@ static void e1000_configure_tx(struct e1000_adapter *adapter)
/* erratum work around: set txdctl the same for both queues */
ew32(TXDCTL(1), er32(TXDCTL(0)));

/* Program the Transmit Control Register */
tctl = er32(TCTL);
tctl &= ~E1000_TCTL_CT;
tctl |= E1000_TCTL_PSP | E1000_TCTL_RTLC |
(E1000_COLLISION_THRESHOLD << E1000_CT_SHIFT);

if (adapter->flags & FLAG_TARC_SPEED_MODE_BIT) {
tarc = er32(TARC(0));
/*
Expand Down Expand Up @@ -2845,8 +2839,6 @@ static void e1000_configure_tx(struct e1000_adapter *adapter)
/* enable Report Status bit */
adapter->txd_cmd |= E1000_TXD_CMD_RS;

ew32(TCTL, tctl);

e1000e_config_collision_dist(hw);
}

Expand Down

0 comments on commit 88b5ceb

Please sign in to comment.