aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_kernel.h
diff options
context:
space:
mode:
authorMichael Albaugh <michael.albaugh@qlogic.com>2008-01-08 03:37:34 -0500
committerRoland Dreier <rolandd@cisco.com>2008-01-25 17:17:32 -0500
commit359193ef433061515fe24d57e5bd5a1318d71bc3 (patch)
tree270f18f7a3752bf1ac9f98f4a8e88eb9b95f8c71 /drivers/infiniband/hw/ipath/ipath_kernel.h
parentc4bce8032ef4368063c84d665b19804878d63e7c (diff)
IB/ipath: New sysfs entries to control 7220 features
IBA7220 includes many more configurable IB settings. Getting/setting these is now grouped into a pair of chip specific functions accessed via function pointers. Provide sysfs access to these settings. Signed-off-by: Michael Albaugh <michael.albaugh@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h
index 6a5fe015733..3da8dd79d26 100644
--- a/drivers/infiniband/hw/ipath/ipath_kernel.h
+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h
@@ -824,6 +824,9 @@ int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv);
824 /* Use GPIO interrupts for new counters */ 824 /* Use GPIO interrupts for new counters */
825#define IPATH_GPIO_ERRINTRS 0x100000 825#define IPATH_GPIO_ERRINTRS 0x100000
826#define IPATH_SWAP_PIOBUFS 0x200000 826#define IPATH_SWAP_PIOBUFS 0x200000
827 /* Suppress heartbeat, even if turning off loopback */
828#define IPATH_NO_HRTBT 0x1000000
829#define IPATH_HAS_MULT_IB_SPEED 0x8000000
827 830
828/* Bits in GPIO for the added interrupts */ 831/* Bits in GPIO for the added interrupts */
829#define IPATH_GPIO_PORT0_BIT 2 832#define IPATH_GPIO_PORT0_BIT 2