IB/ipath: Add code to support multiple link speeds and widths

This patch adds code to get/set portinfo to support multiple link speeds
and widths.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
Ralph Campbell
2008-04-16 21:09:24 -07:00
committed by Roland Dreier
parent 58411d1c01
commit a51a2513a8
3 changed files with 69 additions and 33 deletions

View File

@@ -801,6 +801,8 @@ void ipath_hol_event(unsigned long);
/*
* values for ipath_flags
*/
/* chip can report link latency (IB 1.2) */
#define IPATH_HAS_LINK_LATENCY 0x1
/* The chip is up and initted */
#define IPATH_INITTED 0x2
/* set if any user code has set kr_rcvhdrsize */