summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-04 22:20:07 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-04 22:20:07 +0000
commit2f382fa0a66dbe98d61a85432bbdd56c82321144 (patch)
tree936ce502923f0b5aff157af720183972634a7879
parent33b456e6d0c1e4de25630107835a8aa6de0a4a03 (diff)
increase the number of tx and rx descriptors from 64 to 128 each
-rw-r--r--sys/dev/pci/if_tht.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index 3a864d34a08..faeb066c4ce 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.91 2007/05/04 22:12:53 dlg Exp $ */
+/* $OpenBSD: if_tht.c,v 1.92 2007/05/04 22:20:06 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -911,9 +911,9 @@ tht_up(struct tht_softc *sc)
return;
}
- if (tht_pkt_alloc(sc, &sc->sc_tx_list, 64, THT_TXT_SGL_LEN) != 0)
+ if (tht_pkt_alloc(sc, &sc->sc_tx_list, 128, THT_TXT_SGL_LEN) != 0)
return;
- if (tht_pkt_alloc(sc, &sc->sc_rx_list, 64, THT_RXF_SGL_LEN) != 0)
+ if (tht_pkt_alloc(sc, &sc->sc_rx_list, 128, THT_RXF_SGL_LEN) != 0)
goto free_tx_list;
if (tht_fifo_alloc(sc, &sc->sc_txt, &tht_txt_desc) != 0)