diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-25 10:29:37 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-25 10:29:37 +0000 |
commit | 263b7e4e43ad7a6b9d4bcf5202accf64624a5fa2 (patch) | |
tree | c7e8d22d0f937854e1965b488cd755e3abed7458 | |
parent | 89e3bb2bc1eb62e2bffd1dad039206ae980550b8 (diff) |
i got a reg init wrong, still no tx completion though.
-rw-r--r-- | sys/dev/pci/if_tht.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c index ad931ff2e24..94e1f700653 100644 --- a/sys/dev/pci/if_tht.c +++ b/sys/dev/pci/if_tht.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tht.c,v 1.72 2007/04/25 09:55:47 dlg Exp $ */ +/* $OpenBSD: if_tht.c,v 1.73 2007/04/25 10:29:36 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -918,7 +918,7 @@ tht_up(struct tht_softc *sc) tht_write(sc, THT_REG_10G_PAUSE, 0x96); tht_write(sc, THT_REG_10G_RX_SEC, THT_REG_10G_SEC_AVAIL(0x10) | THT_REG_10G_SEC_EMPTY(0x80)); - tht_write(sc, THT_REG_10G_RX_SEC, THT_REG_10G_SEC_AVAIL(0x10) | + tht_write(sc, THT_REG_10G_TX_SEC, THT_REG_10G_SEC_AVAIL(0x10) | THT_REG_10G_SEC_EMPTY(0xe0)); tht_write(sc, THT_REG_10G_RFIFO_AEF, THT_REG_10G_FIFO_AE(0x0) | THT_REG_10G_FIFO_AF(0x0)); |