From 35f671c588bfe7b075a995ad798f7f18ba3bd872 Mon Sep 17 00:00:00 2001 From: brad Date: Thu, 21 Aug 2014 14:30:21 +0000 Subject: [PATCH] Fix a copy and pasto with the standard ring setup with calling if_rxr_init() to use BGE_STD_RX_RING_CNT instead of BGE_JUMBO_RX_RING_CNT. ok dlg@ --- sys/dev/pci/if_bge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 5d239b1cc51..2f62a6cefda 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.358 2014/07/22 13:12:11 mpi Exp $ */ +/* $OpenBSD: if_bge.c,v 1.359 2014/08/21 14:30:21 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -1255,7 +1255,7 @@ bge_init_rx_ring_std(struct bge_softc *sc) sc->bge_std = BGE_STD_RX_RING_CNT - 1; /* lwm must be greater than the replenish threshold */ - if_rxr_init(&sc->bge_std_ring, 17, BGE_JUMBO_RX_RING_CNT); + if_rxr_init(&sc->bge_std_ring, 17, BGE_STD_RX_RING_CNT); bge_fill_rx_ring_std(sc); SET(sc->bge_flags, BGE_RXRING_VALID); -- 2.20.1