diff options
Diffstat (limited to 'drivers/net/znet.c')
-rw-r--r-- | drivers/net/znet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/znet.c b/drivers/net/znet.c index c3a329204511..ec2800ff8d42 100644 --- a/drivers/net/znet.c +++ b/drivers/net/znet.c | |||
@@ -124,7 +124,7 @@ MODULE_LICENSE("GPL"); | |||
124 | #define TX_BUF_SIZE 8192 | 124 | #define TX_BUF_SIZE 8192 |
125 | #define DMA_BUF_SIZE (RX_BUF_SIZE + 16) /* 8k + 16 bytes for trailers */ | 125 | #define DMA_BUF_SIZE (RX_BUF_SIZE + 16) /* 8k + 16 bytes for trailers */ |
126 | 126 | ||
127 | #define TX_TIMEOUT 10 | 127 | #define TX_TIMEOUT (HZ/10) |
128 | 128 | ||
129 | struct znet_private { | 129 | struct znet_private { |
130 | int rx_dma, tx_dma; | 130 | int rx_dma, tx_dma; |
@@ -652,7 +652,7 @@ static irqreturn_t znet_interrupt(int irq, void *dev_id) | |||
652 | dev->stats.tx_errors++; | 652 | dev->stats.tx_errors++; |
653 | 653 | ||
654 | /* Transceiver may be stuck if cable | 654 | /* Transceiver may be stuck if cable |
655 | * was removed while emiting a | 655 | * was removed while emitting a |
656 | * packet. Flip it off, then on to | 656 | * packet. Flip it off, then on to |
657 | * reset it. This is very empirical, | 657 | * reset it. This is very empirical, |
658 | * but it seems to work. */ | 658 | * but it seems to work. */ |