aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_kernel.h
diff options
context:
space:
mode:
authorArthur Jones <arthur.jones@qlogic.com>2008-04-17 00:01:12 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-17 00:01:12 -0400
commit6ca2abf4c02fb3e35247a985c2b6f5834e995033 (patch)
treecbf950decc213d2c5f05d72e0a2030dc7794f303 /drivers/infiniband/hw/ipath/ipath_kernel.h
parentf2ceb4929ab543e54efaadcad215a105df684f36 (diff)
IB/ipath: Provide I/O bus speeds for diagnostic purposes
Modern I/O buses like PCIe and HT can be configured for multiple speeds and widths. When an ipath HCA seems to have lower than expected performance, it is very useful to be able to display what the driver thinks the bus speed is. Signed-off-by: Dave Olson <dave.olson@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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h
index 3d4a254ffca0..59dc89516243 100644
--- a/drivers/infiniband/hw/ipath/ipath_kernel.h
+++ b/drivers/infiniband/hw/ipath/ipath_kernel.h
@@ -546,10 +546,10 @@ struct ipath_devdata {
546 u32 ipath_init_ibmaxlen; 546 u32 ipath_init_ibmaxlen;
547 /* size of each rcvegrbuffer */ 547 /* size of each rcvegrbuffer */
548 u32 ipath_rcvegrbufsize; 548 u32 ipath_rcvegrbufsize;
549 /* width (2,4,8,16,32) from HT config reg */ 549 /* localbus width (1, 2,4,8,16,32) from config space */
550 u32 ipath_htwidth; 550 u32 ipath_lbus_width;
551 /* HT speed (200,400,800,1000) from HT config */ 551 /* localbus speed (HT: 200,400,800,1000; PCIe 2500) */
552 u32 ipath_htspeed; 552 u32 ipath_lbus_speed;
553 /* 553 /*
554 * number of sequential ibcstatus change for polling active/quiet 554 * number of sequential ibcstatus change for polling active/quiet
555 * (i.e., link not coming up). 555 * (i.e., link not coming up).
@@ -574,6 +574,7 @@ struct ipath_devdata {
574 u8 ipath_serial[16]; 574 u8 ipath_serial[16];
575 /* human readable board version */ 575 /* human readable board version */
576 u8 ipath_boardversion[80]; 576 u8 ipath_boardversion[80];
577 u8 ipath_lbus_info[32]; /* human readable localbus info */
577 /* chip major rev, from ipath_revision */ 578 /* chip major rev, from ipath_revision */
578 u8 ipath_majrev; 579 u8 ipath_majrev;
579 /* chip minor rev, from ipath_revision */ 580 /* chip minor rev, from ipath_revision */