aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-10-19 14:01:47 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-28 20:10:34 -0400
commitf9a2d2e0c89f73f0203fa796101089c2bce31974 (patch)
treef44772f86144a72eac540fd76340bc71e3c52299 /drivers/message
parentda4fa65596733914b3c21fdffa02593959c67f56 (diff)
[SCSI] mptsas: white space fixes and version bump
Various whitespace and comment fixes from Eric, aswell as a version bump. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptbase.h4
-rw-r--r--drivers/message/fusion/mptsas.c19
2 files changed, 13 insertions, 10 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index e705272bc37a..e7efeb7740b9 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -77,8 +77,8 @@
77#define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR 77#define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR
78#endif 78#endif
79 79
80#define MPT_LINUX_VERSION_COMMON "3.03.03" 80#define MPT_LINUX_VERSION_COMMON "3.03.04"
81#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.03" 81#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.03.04"
82#define WHAT_MAGIC_STRING "@" "(" "#" ")" 82#define WHAT_MAGIC_STRING "@" "(" "#" ")"
83 83
84#define show_mptmod_ver(s,ver) \ 84#define show_mptmod_ver(s,ver) \
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 1c557a09b916..e0a8bb8ba7d8 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -167,12 +167,12 @@ static void mptsas_print_phy_pg0(SasPhyPage0_t *pg0)
167static void mptsas_print_phy_pg1(SasPhyPage1_t *pg1) 167static void mptsas_print_phy_pg1(SasPhyPage1_t *pg1)
168{ 168{
169 printk("---- SAS PHY PAGE 1 ------------\n"); 169 printk("---- SAS PHY PAGE 1 ------------\n");
170 printk("Invalid Dword Count=0x%x\n", pg1->InvalidDwordCount); 170 printk("Invalid Dword Count=0x%x\n", pg1->InvalidDwordCount);
171 printk("Running Disparity Error Count=0x%x\n", 171 printk("Running Disparity Error Count=0x%x\n",
172 pg1->RunningDisparityErrorCount); 172 pg1->RunningDisparityErrorCount);
173 printk("Loss Dword Synch Count=0x%x\n", pg1->LossDwordSynchCount); 173 printk("Loss Dword Synch Count=0x%x\n", pg1->LossDwordSynchCount);
174 printk("PHY Reset Problem Count=0x%x\n", pg1->PhyResetProblemCount); 174 printk("PHY Reset Problem Count=0x%x\n", pg1->PhyResetProblemCount);
175 printk("\n"); 175 printk("\n");
176} 176}
177 177
178static void mptsas_print_device_pg0(SasDevicePage0_t *pg0) 178static void mptsas_print_device_pg0(SasDevicePage0_t *pg0)
@@ -188,8 +188,11 @@ static void mptsas_print_device_pg0(SasDevicePage0_t *pg0)
188 printk("SAS Address=0x%llX\n", le64_to_cpu(sas_address)); 188 printk("SAS Address=0x%llX\n", le64_to_cpu(sas_address));
189 printk("Target ID=0x%X\n", pg0->TargetID); 189 printk("Target ID=0x%X\n", pg0->TargetID);
190 printk("Bus=0x%X\n", pg0->Bus); 190 printk("Bus=0x%X\n", pg0->Bus);
191 printk("PhyNum=0x%X\n", pg0->PhyNum); 191 /* The PhyNum field specifies the PHY number of the parent
192 printk("AccessStatus=0x%X\n", le16_to_cpu(pg0->AccessStatus)); 192 * device this device is linked to
193 */
194 printk("Parent Phy Num=0x%X\n", pg0->PhyNum);
195 printk("Access Status=0x%X\n", le16_to_cpu(pg0->AccessStatus));
193 printk("Device Info=0x%X\n", le32_to_cpu(pg0->DeviceInfo)); 196 printk("Device Info=0x%X\n", le32_to_cpu(pg0->DeviceInfo));
194 printk("Flags=0x%X\n", le16_to_cpu(pg0->Flags)); 197 printk("Flags=0x%X\n", le16_to_cpu(pg0->Flags));
195 printk("Physical Port=0x%X\n", pg0->PhysicalPort); 198 printk("Physical Port=0x%X\n", pg0->PhysicalPort);
@@ -201,7 +204,7 @@ static void mptsas_print_expander_pg1(SasExpanderPage1_t *pg1)
201 printk("---- SAS EXPANDER PAGE 1 ------------\n"); 204 printk("---- SAS EXPANDER PAGE 1 ------------\n");
202 205
203 printk("Physical Port=0x%X\n", pg1->PhysicalPort); 206 printk("Physical Port=0x%X\n", pg1->PhysicalPort);
204 printk("PHY Identifier=0x%X\n", pg1->Phy); 207 printk("PHY Identifier=0x%X\n", pg1->PhyIdentifier);
205 printk("Negotiated Link Rate=0x%X\n", pg1->NegotiatedLinkRate); 208 printk("Negotiated Link Rate=0x%X\n", pg1->NegotiatedLinkRate);
206 printk("Programmed Link Rate=0x%X\n", pg1->ProgrammedLinkRate); 209 printk("Programmed Link Rate=0x%X\n", pg1->ProgrammedLinkRate);
207 printk("Hardware Link Rate=0x%X\n", pg1->HwLinkRate); 210 printk("Hardware Link Rate=0x%X\n", pg1->HwLinkRate);