aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_kernel.h
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-07-01 07:36:13 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-01 12:56:01 -0400
commit8307c28eecea917c4754075fbb85eb398a3bc516 (patch)
tree1e11c5632bf01deed1e14559b9f5a2024fac9d81 /drivers/infiniband/hw/ipath/ipath_kernel.h
parent46bbeac922906559ec46454cbc76caf03bc57353 (diff)
[PATCH] IB/ipath: support more models of InfiniPath hardware
We do a few more explicit checks for specific models, and now also support the old PathScale serial number style, or new QLogic style. This is backwards compatible with previous versions of software and hardware. That is, older software will see a plausible serial number and correct GUID when used with a new board, while newer software will correctly handle an older board. Signed-off-by: Mike Albaugh <mike.albaugh@qlogic.com> Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Cc: "Michael S. Tsirkin" <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_kernel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h
index fe3c862e23b5..00a6bbdbe957 100644
--- a/drivers/infiniband/hw/ipath/ipath_kernel.h
+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h
@@ -491,8 +491,11 @@ struct ipath_devdata {
491 u16 ipath_lid; 491 u16 ipath_lid;
492 /* list of pkeys programmed; 0 if not set */ 492 /* list of pkeys programmed; 0 if not set */
493 u16 ipath_pkeys[4]; 493 u16 ipath_pkeys[4];
494 /* ASCII serial number, from flash */ 494 /*
495 u8 ipath_serial[12]; 495 * ASCII serial number, from flash, large enough for original
496 * all digit strings, and longer QLogic serial number format
497 */
498 u8 ipath_serial[16];
496 /* human readable board version */ 499 /* human readable board version */
497 u8 ipath_boardversion[80]; 500 u8 ipath_boardversion[80];
498 /* chip major rev, from ipath_revision */ 501 /* chip major rev, from ipath_revision */