diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2006-01-05 05:40:36 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2006-01-05 05:40:36 +0000 |
commit | ce0e39feed1c1997221d24d6f8d3ca69dd8d41bf (patch) | |
tree | c90e82602479e471d6832268a0516a7f948612d5 /sys/dev/ic/rtwreg.h | |
parent | 275e5a4c78f35d4b0aa9cfd4d9e5346e8fc0c513 (diff) |
rev 1.59 & 1.60 of rtw.c commited by David Young to NetBSD:
On a transmit FIFO overflow (err, actually an underflow...) reset
both the transmit & receive sections of the MAC.
Fix comments and debug printfs: Tx FIFOs underflow, they don't
overflow.
Diffstat (limited to 'sys/dev/ic/rtwreg.h')
-rw-r--r-- | sys/dev/ic/rtwreg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtwreg.h b/sys/dev/ic/rtwreg.h index f4efc6b1f1e..7fb9fdfb94d 100644 --- a/sys/dev/ic/rtwreg.h +++ b/sys/dev/ic/rtwreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtwreg.h,v 1.12 2006/01/05 05:36:06 jsg Exp $ */ +/* $OpenBSD: rtwreg.h,v 1.13 2006/01/05 05:40:35 jsg Exp $ */ /* $NetBSD: rtwreg.h,v 1.12 2005/01/16 11:50:43 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -188,7 +188,7 @@ #define RTW_IMR 0x3c /* Interrupt Mask Register, 16b */ #define RTW_ISR 0x3e /* Interrupt status register, 16b */ -#define RTW_INTR_TXFOVW BIT(15) /* Tx FIFO Overflow */ +#define RTW_INTR_TXFOVW BIT(15) /* Tx FIFO underrflow */ #define RTW_INTR_TIMEOUT BIT(14) /* Time Out: 1 indicates * RTW_TSFTR[0:31] = RTW_TINT */ |