diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-02-08 23:05:45 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-02-08 23:05:45 +0000 |
commit | 69626c69aa3514875cfc1468df73ca37e0eb762a (patch) | |
tree | bf4fe0d55bcdd98a237ebcb7e4854eee01f23775 /sys | |
parent | 740326c61d6bdcff1e42f83bc5cf6bea30911f25 (diff) |
lower the number of Jumbo slots on sparc64.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_skreg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_skreg.h b/sys/dev/pci/if_skreg.h index c9f1c1fdb53..051cfbd78f4 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.26 2005/12/22 20:54:47 brad Exp $ */ +/* $OpenBSD: if_skreg.h,v 1.27 2006/02/08 23:05:44 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1461,7 +1461,11 @@ struct sk_tx_desc { * layers. To be safe, we allocate 1.5 times the number of * receive descriptors. */ +#ifdef __sparc64__ +#define SK_JSLOTS 54 +#else #define SK_JSLOTS 384 +#endif #define SK_JRAWLEN (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN) #define SK_JLEN SK_JRAWLEN |