summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2005-11-25 02:05:24 +0000
committerbrad <brad@openbsd.org>2005-11-25 02:05:24 +0000
commita186f98ff6ff5bfbcdd092a393548dde4814efe7 (patch)
treee7a4760d2f263a18cb41199b43889a9bbdef2f38
parentload the 5750 DSP code on the 5705 PHY too. (diff)
downloadwireguard-openbsd-a186f98ff6ff5bfbcdd092a393548dde4814efe7.tar.xz
wireguard-openbsd-a186f98ff6ff5bfbcdd092a393548dde4814efe7.zip
Use BGE_IS_JUMBO_CAPABLE in one more spot.
-rw-r--r--sys/dev/pci/if_bge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 7be69e2f86e..2b9a04e7cd3 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.99 2005/11/25 01:21:44 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.100 2005/11/25 02:05:24 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -3306,7 +3306,7 @@ bge_stop(struct bge_softc *sc)
bge_free_rx_ring_std(sc);
/* Free jumbo RX list. */
- if ((sc->bge_quirks & BGE_QUIRK_5705_CORE) == 0)
+ if (BGE_IS_JUMBO_CAPABLE(sc))
bge_free_rx_ring_jumbo(sc);
/* Free TX buffers. */