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 /sys/dev/vr | |
parent | bce43597883103285014b2eb06442317e6f1cf28 (diff) | |
download | FreeBSD-src-cd925e9a35879465290bca3ae7821c348d07c5f2.zip FreeBSD-src-cd925e9a35879465290bca3ae7821c348d07c5f2.tar.gz |
Remember to initialize ifp->if_snd.ifq_maxlen.
Diffstat (limited to 'sys/dev/vr')
-rw-r--r-- | sys/dev/vr/if_vr.c | 5 |
1 files changed, 3 insertions, 2 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); |