summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-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 fe9186f3bc3..1bc6d6324af 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.252 2008/11/08 07:10:13 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.253 2008/11/08 07:13:02 deraadt Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -990,7 +990,7 @@ bge_init_rx_ring_std(struct bge_softc *sc)
if (sc->bge_flags & BGE_RXRING_VALID)
return (0);
- for (i = 0; i < BGE_STD_RX_RING_CNT; i++) {
+ for (i = 0; i < BGE_SSLOTS; i++) {
if (bge_newbuf_std(sc, i, NULL, 0) == ENOBUFS)
return (ENOBUFS);
}