summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-05-24 18:51:13 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-05-24 18:51:13 +0000
commitdd33b88c5d4c28331265e088721b5281ca95ba39 (patch)
tree3a0715d94eec021e68786cb220f25d74525f86f2 /sys/dev/pci
parent8b053c5818ff82bbc0019cac9a3e63bce75e58d1 (diff)
reduce Rx ring size from 256 to 64 slots.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_iwnreg.h6
-rw-r--r--sys/dev/pci/if_wpireg.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_iwnreg.h b/sys/dev/pci/if_iwnreg.h
index d9be5efd0a8..b6d602a3693 100644
--- a/sys/dev/pci/if_iwnreg.h
+++ b/sys/dev/pci/if_iwnreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwnreg.h,v 1.23 2009/05/20 16:31:50 damien Exp $ */
+/* $OpenBSD: if_iwnreg.h,v 1.24 2009/05/24 18:51:11 damien Exp $ */
/*-
* Copyright (c) 2007, 2008
@@ -20,7 +20,7 @@
#define IWN_TX_RING_COUNT 256
#define IWN_TX_RING_LOMARK 192
#define IWN_TX_RING_HIMARK 224
-#define IWN_RX_RING_COUNT_LOG 8
+#define IWN_RX_RING_COUNT_LOG 6
#define IWN_RX_RING_COUNT (1 << IWN_RX_RING_COUNT_LOG)
#define IWN4965_NTXQUEUES 16
@@ -433,7 +433,7 @@ struct iwn_rxon {
uint8_t cck_mask;
uint16_t associd;
uint32_t flags;
-#define IWN_RXON_24GHZ (1 << 0)
+#define IWN_RXON_24GHZ (1 << 0)
#define IWN_RXON_CCK (1 << 1)
#define IWN_RXON_AUTO (1 << 2)
#define IWN_RXON_SHSLOT (1 << 4)
diff --git a/sys/dev/pci/if_wpireg.h b/sys/dev/pci/if_wpireg.h
index 290714f7f4a..e3a98caa277 100644
--- a/sys/dev/pci/if_wpireg.h
+++ b/sys/dev/pci/if_wpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpireg.h,v 1.23 2008/11/25 18:49:49 damien Exp $ */
+/* $OpenBSD: if_wpireg.h,v 1.24 2009/05/24 18:51:12 damien Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -20,7 +20,7 @@
#define WPI_TX_RING_COUNT 256
#define WPI_TX_RING_LOMARK 192
#define WPI_TX_RING_HIMARK 224
-#define WPI_RX_RING_COUNT_LOG 8
+#define WPI_RX_RING_COUNT_LOG 6
#define WPI_RX_RING_COUNT (1 << WPI_RX_RING_COUNT_LOG)
#define WPI_NTXQUEUES 16