summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_skreg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_skreg.h b/sys/dev/pci/if_skreg.h
index 404c31a6a01..dfb9f11930f 100644
--- a/sys/dev/pci/if_skreg.h
+++ b/sys/dev/pci/if_skreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_skreg.h,v 1.34 2006/06/23 03:47:56 brad Exp $ */
+/* $OpenBSD: if_skreg.h,v 1.35 2006/07/30 22:58:38 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1487,7 +1487,8 @@ struct sk_tx_desc {
* receive descriptors.
*/
#define SK_JUMBO_FRAMELEN 9018
-#define SK_JUMBO_MTU (SK_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
+#define SK_JUMBO_MTU (SK_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN)
+#define SK_MIN_FRAMELEN (ETHER_MIN_LEN - ETHER_CRC_LEN)
#define SK_JSLOTS ((SK_RX_RING_CNT / 2) * 3)
#define SK_JRAWLEN (SK_JUMBO_FRAMELEN + ETHER_ALIGN)