diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-11-24 03:21:29 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-11-24 03:21:29 +0000 |
commit | 31513247d90b66f64604088fccbee5614126d841 (patch) | |
tree | 468e76860fe724d52012960eb967789834b543c3 /sys | |
parent | ccf5285c98bf4e467717af51a73b155e2a0567dd (diff) |
use ETHER_MAX_LEN
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_bge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index b05ec0eb499..1e4cd03217b 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.36 2004/11/16 14:27:43 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.37 2004/11/24 03:21:28 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -2632,7 +2632,7 @@ bge_init(xsc) } /* Init jumbo RX ring. */ - if (ifp->if_mtu > (ETHERMTU + ETHER_HDR_LEN + ETHER_CRC_LEN)) + if (ifp->if_mtu > ETHER_MAX_LEN) bge_init_rx_ring_jumbo(sc); /* Init our RX return ring index */ |