From c803e387f735c5025e0c1aa9d6cf91b149a996f9 Mon Sep 17 00:00:00 2001 From: yongari Date: Thu, 24 Jan 2013 02:25:43 +0000 Subject: For 57765 class controllers, set low watermark max receive frames to 1. --- sys/dev/bge/if_bge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/bge/if_bge.c') diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index e7cb2f7..d5dc6d8 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -5427,7 +5427,7 @@ bge_init_locked(struct bge_softc *sc) * this number of frames, it will drop subsequent incoming * frames until the MBUF High Watermark is reached. */ - if (sc->bge_asicrev == BGE_ASICREV_BCM57765) + if (BGE_IS_57765_PLUS(sc)) CSR_WRITE_4(sc, BGE_MAX_RX_FRAME_LOWAT, 1); else CSR_WRITE_4(sc, BGE_MAX_RX_FRAME_LOWAT, 2); -- cgit v1.1