summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-02-03 12:50:27 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-02-03 12:50:27 +0000
commitd7cf6ffdf47ce2a23c432949e376688ca2eedfb8 (patch)
tree7ab0ef1062d4e7e73e641eb0ebe708079d319d29 /sys/dev/pci
parentb65c4ef44b0243a93290747afaae95c1c1942475 (diff)
Fix typo; clear tx FIFO underrun IRQ as intended instead of rx FIFO overrun
IRQ. From brad@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_msk.c4
-rw-r--r--sys/dev/pci/if_sk.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index 9e95a6c46eb..15bab1229ad 100644
--- a/sys/dev/pci/if_msk.c
+++ b/sys/dev/pci/if_msk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_msk.c,v 1.42 2007/01/17 02:43:02 krw Exp $ */
+/* $OpenBSD: if_msk.c,v 1.43 2007/02/03 12:50:26 kettenis Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1735,7 +1735,7 @@ msk_intr_yukon(struct sk_if_softc *sc_if)
}
/* TX underrun */
if ((status & SK_GMAC_INT_TX_UNDER) != 0) {
- SK_IF_WRITE_1(sc_if, 0, SK_RXMF1_CTRL_TEST,
+ SK_IF_WRITE_1(sc_if, 0, SK_TXMF1_CTRL_TEST,
SK_TFCTL_TX_FIFO_UNDER);
}
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 0484b6e3a4c..e5669104ebe 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.136 2007/01/18 04:56:33 krw Exp $ */
+/* $OpenBSD: if_sk.c,v 1.137 2007/02/03 12:50:26 kettenis Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -2106,7 +2106,7 @@ sk_intr_yukon(struct sk_if_softc *sc_if)
}
/* TX underrun */
if ((status & SK_GMAC_INT_TX_UNDER) != 0) {
- SK_IF_WRITE_1(sc_if, 0, SK_RXMF1_CTRL_TEST,
+ SK_IF_WRITE_1(sc_if, 0, SK_TXMF1_CTRL_TEST,
SK_TFCTL_TX_FIFO_UNDER);
}