From 2f382fa0a66dbe98d61a85432bbdd56c82321144 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Fri, 4 May 2007 22:20:07 +0000 Subject: increase the number of tx and rx descriptors from 64 to 128 each --- sys/dev/pci/if_tht.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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 @@ -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) -- cgit v1.2.3