aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 94e82a229d9f..349654598d2e 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -129,7 +129,7 @@ static struct board_type products[] = {
129 { 0x3215103C, "Smart Array E200i", &SA5_access}, 129 { 0x3215103C, "Smart Array E200i", &SA5_access},
130}; 130};
131 131
132/* How long to wait (in millesconds) for board to go into simple mode */ 132/* How long to wait (in milliseconds) for board to go into simple mode */
133#define MAX_CONFIG_WAIT 30000 133#define MAX_CONFIG_WAIT 30000
134#define MAX_IOCTL_CONFIG_WAIT 1000 134#define MAX_IOCTL_CONFIG_WAIT 1000
135 135
@@ -1117,7 +1117,7 @@ cleanup1:
1117 * 1117 *
1118 * Right now I'm using the getgeometry() function to do this, but this 1118 * Right now I'm using the getgeometry() function to do this, but this
1119 * function should probably be finer grained and allow you to revalidate one 1119 * function should probably be finer grained and allow you to revalidate one
1120 * particualar logical volume (instead of all of them on a particular 1120 * particular logical volume (instead of all of them on a particular
1121 * controller). 1121 * controller).
1122 */ 1122 */
1123static int revalidate_allvol(ctlr_info_t *host) 1123static int revalidate_allvol(ctlr_info_t *host)
@@ -1260,7 +1260,7 @@ static void cciss_update_drive_info(int ctlr, int drv_index)
1260 return; 1260 return;
1261 1261
1262 1262
1263 /* Get information about the disk and modify the driver sturcture */ 1263 /* Get information about the disk and modify the driver structure */
1264 size_buff = kmalloc(sizeof( ReadCapdata_struct), GFP_KERNEL); 1264 size_buff = kmalloc(sizeof( ReadCapdata_struct), GFP_KERNEL);
1265 if (size_buff == NULL) 1265 if (size_buff == NULL)
1266 goto mem_msg; 1266 goto mem_msg;
@@ -1335,7 +1335,7 @@ static int cciss_find_free_drive_index(int ctlr)
1335} 1335}
1336 1336
1337/* This function will add and remove logical drives from the Logical 1337/* This function will add and remove logical drives from the Logical
1338 * drive array of the controller and maintain persistancy of ordering 1338 * drive array of the controller and maintain persistency of ordering
1339 * so that mount points are preserved until the next reboot. This allows 1339 * so that mount points are preserved until the next reboot. This allows
1340 * for the removal of logical drives in the middle of the drive array 1340 * for the removal of logical drives in the middle of the drive array
1341 * without a re-ordering of those drives. 1341 * without a re-ordering of those drives.
@@ -1482,7 +1482,7 @@ mem_msg:
1482 * clear_all = This flag determines whether or not the disk information 1482 * clear_all = This flag determines whether or not the disk information
1483 * is going to be completely cleared out and the highest_lun 1483 * is going to be completely cleared out and the highest_lun
1484 * reset. Sometimes we want to clear out information about 1484 * reset. Sometimes we want to clear out information about
1485 * the disk in preperation for re-adding it. In this case 1485 * the disk in preparation for re-adding it. In this case
1486 * the highest_lun should be left unchanged and the LunID 1486 * the highest_lun should be left unchanged and the LunID
1487 * should not be cleared. 1487 * should not be cleared.
1488*/ 1488*/
@@ -2597,7 +2597,7 @@ cleanup:
2597 return IRQ_HANDLED; 2597 return IRQ_HANDLED;
2598} 2598}
2599/* 2599/*
2600 * We cannot read the structure directly, for portablity we must use 2600 * We cannot read the structure directly, for portability we must use
2601 * the io functions. 2601 * the io functions.
2602 * This is for debug only. 2602 * This is for debug only.
2603 */ 2603 */
@@ -2620,9 +2620,9 @@ static void print_cfg_table( CfgTable_struct *tb)
2620 readl(&(tb->TransportActive))); 2620 readl(&(tb->TransportActive)));
2621 printk(" Requested transport Method = 0x%x\n", 2621 printk(" Requested transport Method = 0x%x\n",
2622 readl(&(tb->HostWrite.TransportRequest))); 2622 readl(&(tb->HostWrite.TransportRequest)));
2623 printk(" Coalese Interrupt Delay = 0x%x\n", 2623 printk(" Coalesce Interrupt Delay = 0x%x\n",
2624 readl(&(tb->HostWrite.CoalIntDelay))); 2624 readl(&(tb->HostWrite.CoalIntDelay)));
2625 printk(" Coalese Interrupt Count = 0x%x\n", 2625 printk(" Coalesce Interrupt Count = 0x%x\n",
2626 readl(&(tb->HostWrite.CoalIntCount))); 2626 readl(&(tb->HostWrite.CoalIntCount)));
2627 printk(" Max outstanding commands = 0x%d\n", 2627 printk(" Max outstanding commands = 0x%d\n",
2628 readl(&(tb->CmdsOutMax))); 2628 readl(&(tb->CmdsOutMax)));