diff options
Diffstat (limited to 'drivers/net/tulip/dmfe.c')
-rw-r--r-- | drivers/net/tulip/dmfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index 7278ecb823cb..bdb25b8b1017 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c | |||
@@ -1180,11 +1180,11 @@ static void dmfe_timer(unsigned long data) | |||
1180 | 1180 | ||
1181 | /* TX polling kick monitor */ | 1181 | /* TX polling kick monitor */ |
1182 | if ( db->tx_packet_cnt && | 1182 | if ( db->tx_packet_cnt && |
1183 | time_after(jiffies, dev->trans_start + DMFE_TX_KICK) ) { | 1183 | time_after(jiffies, dev_trans_start(dev) + DMFE_TX_KICK) ) { |
1184 | outl(0x1, dev->base_addr + DCR1); /* Tx polling again */ | 1184 | outl(0x1, dev->base_addr + DCR1); /* Tx polling again */ |
1185 | 1185 | ||
1186 | /* TX Timeout */ | 1186 | /* TX Timeout */ |
1187 | if ( time_after(jiffies, dev->trans_start + DMFE_TX_TIMEOUT) ) { | 1187 | if (time_after(jiffies, dev_trans_start(dev) + DMFE_TX_TIMEOUT) ) { |
1188 | db->reset_TXtimeout++; | 1188 | db->reset_TXtimeout++; |
1189 | db->wait_reset = 1; | 1189 | db->wait_reset = 1; |
1190 | dev_warn(&dev->dev, "Tx timeout - resetting\n"); | 1190 | dev_warn(&dev->dev, "Tx timeout - resetting\n"); |