summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-09-28 04:37:34 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-09-28 04:37:34 +0000
commit267950b8c179932ae962ef12a5b948859960053f (patch)
treeaf66f872e0cb4a4d7847459627081f69a1a11cea /sys/dev/pci/if_bge.c
parent3c36291f48c6d2b38db39aeed2692314031f8214 (diff)
Use ETHER_MAX_DIX_LEN/ETHER_MIN_LEN
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r--sys/dev/pci/if_bge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 4f3f6d4ab6d..3694b333115 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.32 2004/09/23 17:45:16 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.33 2004/09/28 04:37:32 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2001
@@ -1186,7 +1186,7 @@ bge_blockinit(sc)
rcb->bge_maxlen_flags = BGE_RCB_MAXLEN_FLAGS(512, 0);
else
rcb->bge_maxlen_flags =
- BGE_RCB_MAXLEN_FLAGS(BGE_MAX_FRAMELEN, 0);
+ BGE_RCB_MAXLEN_FLAGS(ETHER_MAX_DIX_LEN, 0);
if (sc->bge_extram)
rcb->bge_nicaddr = BGE_EXT_STD_RX_RINGS;
else
@@ -1208,7 +1208,7 @@ bge_blockinit(sc)
BGE_HOSTADDR(rcb->bge_hostaddr,
BGE_RING_DMA_ADDR(sc, bge_rx_jumbo_ring));
rcb->bge_maxlen_flags =
- BGE_RCB_MAXLEN_FLAGS(BGE_MAX_FRAMELEN,
+ BGE_RCB_MAXLEN_FLAGS(ETHER_MAX_DIX_LEN,
BGE_RCB_FLAG_RING_DISABLED);
if (sc->bge_extram)
rcb->bge_nicaddr = BGE_EXT_JUMBO_RX_RINGS;