summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-10-09 20:07:33 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-10-09 20:07:33 +0000
commit535741cd4631fb8e5dad789c6b9ca7b449e12c01 (patch)
tree613ae5f4edd6b8d3257f056cac4ba99d230c1335 /sys
parent4ceabd5ebb41f8cdb18b7d287bc05eb2e7869616 (diff)
special case sparc64 for now and lower the Jumbo slots
down from 384 to 54.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_bgereg.h6
-rw-r--r--sys/dev/pci/if_tireg.h6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h
index 0fa36393858..9f6618d35c4 100644
--- a/sys/dev/pci/if_bgereg.h
+++ b/sys/dev/pci/if_bgereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bgereg.h,v 1.28 2005/09/04 20:28:29 brad Exp $ */
+/* $OpenBSD: if_bgereg.h,v 1.29 2005/10/09 20:07:32 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -2209,7 +2209,11 @@ struct vpd_key {
#define BGE_SSLOTS 256
#define BGE_MSLOTS 256
+#ifdef __sparc64__
+#define BGE_JSLOTS 54
+#else
#define BGE_JSLOTS 384
+#endif
#define BGE_RSLOTS 256
#define BGE_JRAWLEN (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN)
diff --git a/sys/dev/pci/if_tireg.h b/sys/dev/pci/if_tireg.h
index 20975f57ce1..12ccbc3c7be 100644
--- a/sys/dev/pci/if_tireg.h
+++ b/sys/dev/pci/if_tireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tireg.h,v 1.19 2005/10/09 19:41:11 brad Exp $ */
+/* $OpenBSD: if_tireg.h,v 1.20 2005/10/09 20:07:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -981,7 +981,11 @@ struct ti_event_desc {
#define TI_SSLOTS 256
#define TI_MSLOTS 256
+#ifdef __sparc64__
+#define TI_JSLOTS 54
+#else
#define TI_JSLOTS 384
+#endif
#define TI_JRAWLEN (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN)
#define TI_JLEN (TI_JRAWLEN + (sizeof(u_int64_t) - \