diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-02-01 21:25:52 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-02-01 21:25:52 +0000 |
commit | cd925e9a35879465290bca3ae7821c348d07c5f2 (patch) | |
tree | 7116559642d23d8cdbf6741713a6d24ed5d4d947 | |
parent | bce43597883103285014b2eb06442317e6f1cf28 (diff) | |
download | FreeBSD-src-cd925e9a35879465290bca3ae7821c348d07c5f2.zip FreeBSD-src-cd925e9a35879465290bca3ae7821c348d07c5f2.tar.gz |
Remember to initialize ifp->if_snd.ifq_maxlen.
-rw-r--r-- | sys/dev/vr/if_vr.c | 5 | ||||
-rw-r--r-- | sys/pci/if_ax.c | 6 | ||||
-rw-r--r-- | sys/pci/if_mx.c | 6 | ||||
-rw-r--r-- | sys/pci/if_pn.c | 5 | ||||
-rw-r--r-- | sys/pci/if_rl.c | 5 | ||||
-rw-r--r-- | sys/pci/if_tl.c | 5 | ||||
-rw-r--r-- | sys/pci/if_vr.c | 5 | ||||
-rw-r--r-- | sys/pci/if_wb.c | 5 | ||||
-rw-r--r-- | sys/pci/if_xl.c | 5 |
9 files changed, 27 insertions, 20 deletions
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c index efed968..9d04b52 100644 --- a/sys/dev/vr/if_vr.c +++ b/sys/dev/vr/if_vr.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_vr.c,v 1.16 1999/01/10 18:06:10 wpaul Exp $ + * $Id: if_vr.c,v 1.7 1999/01/10 18:51:49 wpaul Exp $ */ /* @@ -97,7 +97,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_vr.c,v 1.16 1999/01/10 18:06:10 wpaul Exp $"; + "$Id: if_vr.c,v 1.7 1999/01/10 18:51:49 wpaul Exp $"; #endif /* @@ -1044,6 +1044,7 @@ vr_attach(config_id, unit) ifp->if_watchdog = vr_watchdog; ifp->if_init = vr_init; ifp->if_baudrate = 10000000; + ifp->if_snd.ifq_maxlen = VR_TX_LIST_CNT - 1; if (bootverbose) printf("vr%d: probing for a PHY\n", sc->vr_unit); diff --git a/sys/pci/if_ax.c b/sys/pci/if_ax.c index 098317b..fedd345 100644 --- a/sys/pci/if_ax.c +++ b/sys/pci/if_ax.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ax.c,v 1.3 1999/01/16 20:40:52 wpaul Exp $ + * $Id: if_ax.c,v 1.4 1999/01/28 00:57:52 dillon Exp $ */ /* @@ -87,7 +87,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_ax.c,v 1.3 1999/01/16 20:40:52 wpaul Exp $"; + "$Id: if_ax.c,v 1.4 1999/01/28 00:57:52 dillon Exp $"; #endif /* @@ -1213,7 +1213,7 @@ ax_attach(config_id, unit) ifp->if_watchdog = ax_watchdog; ifp->if_init = ax_init; ifp->if_baudrate = 10000000; - + ifp->if_snd.ifq_maxlen = AX_TX_LIST_CNT - 1; if (bootverbose) printf("ax%d: probing for a PHY\n", sc->ax_unit); diff --git a/sys/pci/if_mx.c b/sys/pci/if_mx.c index 2dec6b3..5396e58 100644 --- a/sys/pci/if_mx.c +++ b/sys/pci/if_mx.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_mx.c,v 1.9 1999/01/27 23:45:42 dillon Exp $ + * $Id: if_mx.c,v 1.10 1999/01/28 00:57:53 dillon Exp $ */ /* @@ -94,7 +94,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_mx.c,v 1.9 1999/01/27 23:45:42 dillon Exp $"; + "$Id: if_mx.c,v 1.10 1999/01/28 00:57:53 dillon Exp $"; #endif /* @@ -1434,7 +1434,7 @@ mx_attach(config_id, unit) ifp->if_watchdog = mx_watchdog; ifp->if_init = mx_init; ifp->if_baudrate = 10000000; - + ifp->if_snd.ifq_maxlen = MX_TX_LIST_CNT - 1; if (sc->mx_type == MX_TYPE_98713) { if (bootverbose) diff --git a/sys/pci/if_pn.c b/sys/pci/if_pn.c index bc413c7..f1686ff 100644 --- a/sys/pci/if_pn.c +++ b/sys/pci/if_pn.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_pn.c,v 1.36 1999/01/05 00:47:25 wpaul Exp $ + * $Id: if_pn.c,v 1.6 1999/01/05 00:59:08 wpaul Exp $ */ /* @@ -97,7 +97,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_pn.c,v 1.36 1999/01/05 00:47:25 wpaul Exp $"; + "$Id: if_pn.c,v 1.6 1999/01/05 00:59:08 wpaul Exp $"; #endif /* @@ -937,6 +937,7 @@ pn_attach(config_id, unit) ifp->if_watchdog = pn_watchdog; ifp->if_init = pn_init; ifp->if_baudrate = 10000000; + ifp->if_snd.ifq_maxlen = PN_TX_LIST_CNT - 1; if (bootverbose) printf("pn%d: probing for a PHY\n", sc->pn_unit); diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 7ec994a..943cbd6 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_rl.c,v 1.20 1999/01/16 20:46:24 wpaul Exp wpaul $ + * $Id: if_rl.c,v 1.10 1999/01/22 15:25:04 wpaul Exp $ */ /* @@ -127,7 +127,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_rl.c,v 1.20 1999/01/16 20:46:24 wpaul Exp wpaul $"; + "$Id: if_rl.c,v 1.10 1999/01/22 15:25:04 wpaul Exp $"; #endif /* @@ -1150,6 +1150,7 @@ rl_attach(config_id, unit) ifp->if_watchdog = rl_watchdog; ifp->if_init = rl_init; ifp->if_baudrate = 10000000; + ifp->if_snd.ifq_maxlen = RL_TX_LIST_CNT - 1; if (sc->rl_type == RL_8129) { if (bootverbose) diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c index 40bf5f2..95869e0 100644 --- a/sys/pci/if_tl.c +++ b/sys/pci/if_tl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_tl.c,v 1.24 1998/12/29 15:39:35 wpaul Exp $ + * $Id: if_tl.c,v 1.25 1999/01/26 15:18:26 wpaul Exp $ */ /* @@ -218,7 +218,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_tl.c,v 1.24 1998/12/29 15:39:35 wpaul Exp $"; + "$Id: if_tl.c,v 1.25 1999/01/26 15:18:26 wpaul Exp $"; #endif #ifdef TL_DEBUG @@ -1718,6 +1718,7 @@ tl_attach(config_id, unit) ifp->if_watchdog = tl_watchdog; ifp->if_init = tl_init; ifp->if_mtu = ETHERMTU; + ifp->if_snd.ifq_maxlen = TL_TX_LIST_CNT - 1; callout_handle_init(&sc->tl_stat_ch); /* Reset the adapter again. */ diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index efed968..9d04b52 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/if_vr.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_vr.c,v 1.16 1999/01/10 18:06:10 wpaul Exp $ + * $Id: if_vr.c,v 1.7 1999/01/10 18:51:49 wpaul Exp $ */ /* @@ -97,7 +97,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_vr.c,v 1.16 1999/01/10 18:06:10 wpaul Exp $"; + "$Id: if_vr.c,v 1.7 1999/01/10 18:51:49 wpaul Exp $"; #endif /* @@ -1044,6 +1044,7 @@ vr_attach(config_id, unit) ifp->if_watchdog = vr_watchdog; ifp->if_init = vr_init; ifp->if_baudrate = 10000000; + ifp->if_snd.ifq_maxlen = VR_TX_LIST_CNT - 1; if (bootverbose) printf("vr%d: probing for a PHY\n", sc->vr_unit); diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 01cbc3c..eadfffb 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_wb.c,v 1.36 1999/01/16 05:28:52 wpaul Exp $ + * $Id: if_wb.c,v 1.6 1999/01/16 06:25:58 wpaul Exp $ */ /* @@ -121,7 +121,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_wb.c,v 1.36 1999/01/16 05:28:52 wpaul Exp $"; + "$Id: if_wb.c,v 1.6 1999/01/16 06:25:58 wpaul Exp $"; #endif /* @@ -1167,6 +1167,7 @@ wb_attach(config_id, unit) ifp->if_watchdog = wb_watchdog; ifp->if_init = wb_init; ifp->if_baudrate = 10000000; + ifp->if_snd.ifq_maxlen = WB_TX_LIST_CNT - 1; if (bootverbose) printf("wb%d: probing for a PHY\n", sc->wb_unit); diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 26c5284..dd66eef 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.21 1998/12/14 06:32:57 dillon Exp $ + * $Id: if_xl.c,v 1.22 1998/12/24 17:50:34 wpaul Exp $ */ /* @@ -147,7 +147,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_xl.c,v 1.21 1998/12/14 06:32:57 dillon Exp $"; + "$Id: if_xl.c,v 1.22 1998/12/24 17:50:34 wpaul Exp $"; #endif /* @@ -1462,6 +1462,7 @@ xl_attach(config_id, unit) ifp->if_watchdog = xl_watchdog; ifp->if_init = xl_init; ifp->if_baudrate = 10000000; + ifp->if_snd.ifq_maxlen = XL_TX_LIST_CNT - 1; /* * Figure out the card type. 3c905B adapters have the |