summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_tireg.h
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/dev/pci/if_tireg.h
parent4ceabd5ebb41f8cdb18b7d287bc05eb2e7869616 (diff)
special case sparc64 for now and lower the Jumbo slots
down from 384 to 54.
Diffstat (limited to 'sys/dev/pci/if_tireg.h')
-rw-r--r--sys/dev/pci/if_tireg.h6
1 files changed, 5 insertions, 1 deletions
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) - \