From e970ec2f5bdaefd66b25e1d3a051ff241f69cd16 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 20 Aug 2006 19:15:47 +0000 Subject: For consistency with MSK_JSLOTS, go back to using the macro to figure out the number of Jumbo receive slots for SK_JSLOTS. no-op change. --- sys/dev/pci/if_skreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_skreg.h b/sys/dev/pci/if_skreg.h index 243dc8e6052..4b43c97239e 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.38 2006/08/19 21:16:22 kettenis Exp $ */ +/* $OpenBSD: if_skreg.h,v 1.39 2006/08/20 19:15:46 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1597,7 +1597,7 @@ struct msk_status_desc { #define SK_JUMBO_FRAMELEN 9018 #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 384 +#define SK_JSLOTS ((SK_RX_RING_CNT / 2) * 3) #define SK_JRAWLEN (SK_JUMBO_FRAMELEN + ETHER_ALIGN) #define SK_JLEN SK_JRAWLEN -- cgit v1.2.3