Skip to content

Commit

Permalink
IB/ipath: New sysfs entries to control 7220 features
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Albaugh authored and Roland Dreier committed Jan 25, 2008
1 parent c4bce80 commit 359193e
Show file tree
Hide file tree
Showing 2 changed files with 366 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/infiniband/hw/ipath/ipath_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,9 @@ int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv);
/* Use GPIO interrupts for new counters */
#define IPATH_GPIO_ERRINTRS 0x100000
#define IPATH_SWAP_PIOBUFS 0x200000
/* Suppress heartbeat, even if turning off loopback */
#define IPATH_NO_HRTBT 0x1000000
#define IPATH_HAS_MULT_IB_SPEED 0x8000000

/* Bits in GPIO for the added interrupts */
#define IPATH_GPIO_PORT0_BIT 2
Expand Down
Loading

0 comments on commit 359193e

Please sign in to comment.