aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-01 15:38:34 -0400
committerJiri Kosina <jkosina@suse.cz>2010-11-01 15:38:34 -0400
commitb595076a180a56d1bb170e6eceda6eb9d76f4cd3 (patch)
treebc01ec7283808013e0b8ce7713fd6fc40f810429 /drivers/scsi
parent6aaccece1c483f189f76f1282b3984ff4c7ecb0a (diff)
tree-wide: fix comment/printk typos
"gadget", "through", "command", "maintain", "maintain", "controller", "address", "between", "initiali[zs]e", "instead", "function", "select", "already", "equal", "access", "management", "hierarchy", "registration", "interest", "relative", "memory", "offset", "already", Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/a100u2w.c2
-rw-r--r--drivers/scsi/aacraid/commsup.c2
-rw-r--r--drivers/scsi/aic7xxx_old/aic7xxx.seq2
-rw-r--r--drivers/scsi/aic94xx/aic94xx_reg_def.h4
-rw-r--r--drivers/scsi/aic94xx/aic94xx_seq.c6
-rw-r--r--drivers/scsi/bfa/bfa_fcpim.c2
-rw-r--r--drivers/scsi/bfa/bfa_fcs_lport.c2
-rw-r--r--drivers/scsi/dc395x.c8
-rw-r--r--drivers/scsi/libfc/fc_fcp.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c2
-rw-r--r--drivers/scsi/megaraid.h2
-rw-r--r--drivers/scsi/pm8001/pm8001_init.c2
-rw-r--r--drivers/scsi/scsi_netlink.c2
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.c2
16 files changed, 22 insertions, 22 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c
index dbbc601948e5..7cb575654e40 100644
--- a/drivers/scsi/a100u2w.c
+++ b/drivers/scsi/a100u2w.c
@@ -416,7 +416,7 @@ static u8 orc_load_firmware(struct orc_host * host)
416 /* Go back and check they match */ 416 /* Go back and check they match */
417 417
418 outb(PRGMRST | DOWNLOAD, host->base + ORC_RISCCTL); /* Reset program count 0 */ 418 outb(PRGMRST | DOWNLOAD, host->base + ORC_RISCCTL); /* Reset program count 0 */
419 bios_addr -= 0x1000; /* Reset the BIOS adddress */ 419 bios_addr -= 0x1000; /* Reset the BIOS address */
420 for (i = 0, data32_ptr = (u8 *) & data32; /* Check the code */ 420 for (i = 0, data32_ptr = (u8 *) & data32; /* Check the code */
421 i < 0x1000; /* Firmware code size = 4K */ 421 i < 0x1000; /* Firmware code size = 4K */
422 i++, bios_addr++) { 422 i++, bios_addr++) {
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index afc9aeba5edb..060ac4bd5a14 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -91,7 +91,7 @@ void aac_fib_map_free(struct aac_dev *dev)
91 * aac_fib_setup - setup the fibs 91 * aac_fib_setup - setup the fibs
92 * @dev: Adapter to set up 92 * @dev: Adapter to set up
93 * 93 *
94 * Allocate the PCI space for the fibs, map it and then intialise the 94 * Allocate the PCI space for the fibs, map it and then initialise the
95 * fib area, the unmapped fib data and also the free list 95 * fib area, the unmapped fib data and also the free list
96 */ 96 */
97 97
diff --git a/drivers/scsi/aic7xxx_old/aic7xxx.seq b/drivers/scsi/aic7xxx_old/aic7xxx.seq
index 5997e7c3a191..1565be9ebd49 100644
--- a/drivers/scsi/aic7xxx_old/aic7xxx.seq
+++ b/drivers/scsi/aic7xxx_old/aic7xxx.seq
@@ -1178,7 +1178,7 @@ notFound:
1178/* 1178/*
1179 * Retrieve an SCB by SCBID first searching the disconnected list falling 1179 * Retrieve an SCB by SCBID first searching the disconnected list falling
1180 * back to DMA'ing the SCB down from the host. This routine assumes that 1180 * back to DMA'ing the SCB down from the host. This routine assumes that
1181 * ARG_1 is the SCBID of interrest and that SINDEX is the position in the 1181 * ARG_1 is the SCBID of interest and that SINDEX is the position in the
1182 * disconnected list to start the search from. If SINDEX is SCB_LIST_NULL, 1182 * disconnected list to start the search from. If SINDEX is SCB_LIST_NULL,
1183 * we go directly to the host for the SCB. 1183 * we go directly to the host for the SCB.
1184 */ 1184 */
diff --git a/drivers/scsi/aic94xx/aic94xx_reg_def.h b/drivers/scsi/aic94xx/aic94xx_reg_def.h
index 28aaf349c111..40273a747d29 100644
--- a/drivers/scsi/aic94xx/aic94xx_reg_def.h
+++ b/drivers/scsi/aic94xx/aic94xx_reg_def.h
@@ -1689,7 +1689,7 @@
1689#define PHY_START_CAL 0x01 1689#define PHY_START_CAL 0x01
1690 1690
1691/* 1691/*
1692 * HST_PCIX2 Registers, Addresss Range: (0x00-0xFC) 1692 * HST_PCIX2 Registers, Address Range: (0x00-0xFC)
1693 */ 1693 */
1694#define PCIX_REG_BASE_ADR 0xB8040000 1694#define PCIX_REG_BASE_ADR 0xB8040000
1695 1695
@@ -1802,7 +1802,7 @@
1802#define PCIC_TP_CTRL 0xFC 1802#define PCIC_TP_CTRL 0xFC
1803 1803
1804/* 1804/*
1805 * EXSI Registers, Addresss Range: (0x00-0xFC) 1805 * EXSI Registers, Address Range: (0x00-0xFC)
1806 */ 1806 */
1807#define EXSI_REG_BASE_ADR REG_BASE_ADDR_EXSI 1807#define EXSI_REG_BASE_ADR REG_BASE_ADDR_EXSI
1808 1808
diff --git a/drivers/scsi/aic94xx/aic94xx_seq.c b/drivers/scsi/aic94xx/aic94xx_seq.c
index 74374618010c..390168f62a13 100644
--- a/drivers/scsi/aic94xx/aic94xx_seq.c
+++ b/drivers/scsi/aic94xx/aic94xx_seq.c
@@ -797,7 +797,7 @@ static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha, int lseq)
797 int j; 797 int j;
798 /* Start from Page 1 of Mode 0 and 1. */ 798 /* Start from Page 1 of Mode 0 and 1. */
799 moffs = LSEQ_PAGE_SIZE + i*LSEQ_MODE_SCRATCH_SIZE; 799 moffs = LSEQ_PAGE_SIZE + i*LSEQ_MODE_SCRATCH_SIZE;
800 /* All the fields of page 1 can be intialized to 0. */ 800 /* All the fields of page 1 can be initialized to 0. */
801 for (j = 0; j < LSEQ_PAGE_SIZE; j += 4) 801 for (j = 0; j < LSEQ_PAGE_SIZE; j += 4)
802 asd_write_reg_dword(asd_ha, LmSCRATCH(lseq)+moffs+j,0); 802 asd_write_reg_dword(asd_ha, LmSCRATCH(lseq)+moffs+j,0);
803 } 803 }
@@ -938,7 +938,7 @@ static void asd_init_cseq_cio(struct asd_ha_struct *asd_ha)
938 asd_write_reg_dword(asd_ha, SCBPRO, 0); 938 asd_write_reg_dword(asd_ha, SCBPRO, 0);
939 asd_write_reg_dword(asd_ha, CSEQCON, 0); 939 asd_write_reg_dword(asd_ha, CSEQCON, 0);
940 940
941 /* Intialize CSEQ Mode 11 Interrupt Vectors. 941 /* Initialize CSEQ Mode 11 Interrupt Vectors.
942 * The addresses are 16 bit wide and in dword units. 942 * The addresses are 16 bit wide and in dword units.
943 * The values of their macros are in byte units. 943 * The values of their macros are in byte units.
944 * Thus we have to divide by 4. */ 944 * Thus we have to divide by 4. */
@@ -961,7 +961,7 @@ static void asd_init_cseq_cio(struct asd_ha_struct *asd_ha)
961 asd_write_reg_word(asd_ha, CPRGMCNT, cseq_idle_loop); 961 asd_write_reg_word(asd_ha, CPRGMCNT, cseq_idle_loop);
962 962
963 for (i = 0; i < 8; i++) { 963 for (i = 0; i < 8; i++) {
964 /* Intialize Mode n Link m Interrupt Enable. */ 964 /* Initialize Mode n Link m Interrupt Enable. */
965 asd_write_reg_dword(asd_ha, CMnINTEN(i), EN_CMnRSPMBXF); 965 asd_write_reg_dword(asd_ha, CMnINTEN(i), EN_CMnRSPMBXF);
966 /* Initialize Mode n Request Mailbox. */ 966 /* Initialize Mode n Request Mailbox. */
967 asd_write_reg_dword(asd_ha, CMnREQMBX(i), 0); 967 asd_write_reg_dword(asd_ha, CMnREQMBX(i), 0);
diff --git a/drivers/scsi/bfa/bfa_fcpim.c b/drivers/scsi/bfa/bfa_fcpim.c
index 33c8dd51f474..aabbf3d3b394 100644
--- a/drivers/scsi/bfa/bfa_fcpim.c
+++ b/drivers/scsi/bfa/bfa_fcpim.c
@@ -2092,7 +2092,7 @@ bfa_ioim_sm_cleanup_qfull(struct bfa_ioim_s *ioim, enum bfa_ioim_event event)
2092 2092
2093 case BFA_IOIM_SM_ABORT: 2093 case BFA_IOIM_SM_ABORT:
2094 /** 2094 /**
2095 * IO is alraedy being cleaned up implicitly 2095 * IO is already being cleaned up implicitly
2096 */ 2096 */
2097 ioim->io_cbfn = __bfa_cb_ioim_abort; 2097 ioim->io_cbfn = __bfa_cb_ioim_abort;
2098 break; 2098 break;
diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c
index b522bf30247a..b7aa23a3b1e8 100644
--- a/drivers/scsi/bfa/bfa_fcs_lport.c
+++ b/drivers/scsi/bfa/bfa_fcs_lport.c
@@ -5742,7 +5742,7 @@ bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status)
5742 switch (status) { 5742 switch (status) {
5743 case BFA_STATUS_OK: 5743 case BFA_STATUS_OK:
5744 /* 5744 /*
5745 * Initialiaze the V-Port fields 5745 * Initialize the V-Port fields
5746 */ 5746 */
5747 __vport_fcid(vport) = bfa_lps_get_pid(vport->lps); 5747 __vport_fcid(vport) = bfa_lps_get_pid(vport->lps);
5748 vport->vport_stats.fdisc_accepts++; 5748 vport->vport_stats.fdisc_accepts++;
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index 54f50b07dac7..31bbfb244bc4 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -3795,7 +3795,7 @@ static struct DeviceCtlBlk *device_alloc(struct AdapterCtlBlk *acb,
3795 * adapter_add_device - Adds the device instance to the adaptor instance. 3795 * adapter_add_device - Adds the device instance to the adaptor instance.
3796 * 3796 *
3797 * @acb: The adapter device to be updated 3797 * @acb: The adapter device to be updated
3798 * @dcb: A newly created and intialised device instance to add. 3798 * @dcb: A newly created and initialised device instance to add.
3799 **/ 3799 **/
3800static void adapter_add_device(struct AdapterCtlBlk *acb, 3800static void adapter_add_device(struct AdapterCtlBlk *acb,
3801 struct DeviceCtlBlk *dcb) 3801 struct DeviceCtlBlk *dcb)
@@ -4497,7 +4497,7 @@ static void __devinit adapter_init_chip(struct AdapterCtlBlk *acb)
4497 * init_adapter - Grab the resource for the card, setup the adapter 4497 * init_adapter - Grab the resource for the card, setup the adapter
4498 * information, set the card into a known state, create the various 4498 * information, set the card into a known state, create the various
4499 * tables etc etc. This basically gets all adapter information all up 4499 * tables etc etc. This basically gets all adapter information all up
4500 * to date, intialised and gets the chip in sync with it. 4500 * to date, initialised and gets the chip in sync with it.
4501 * 4501 *
4502 * @host: This hosts adapter structure 4502 * @host: This hosts adapter structure
4503 * @io_port: The base I/O port 4503 * @io_port: The base I/O port
@@ -4788,7 +4788,7 @@ static void banner_display(void)
4788 * that it finds in the system. The pci_dev strcuture indicates which 4788 * that it finds in the system. The pci_dev strcuture indicates which
4789 * instance we are being called from. 4789 * instance we are being called from.
4790 * 4790 *
4791 * @dev: The PCI device to intialize. 4791 * @dev: The PCI device to initialize.
4792 * @id: Looks like a pointer to the entry in our pci device table 4792 * @id: Looks like a pointer to the entry in our pci device table
4793 * that was actually matched by the PCI subsystem. 4793 * that was actually matched by the PCI subsystem.
4794 * 4794 *
@@ -4859,7 +4859,7 @@ fail:
4859 * dc395x_remove_one - Called to remove a single instance of the 4859 * dc395x_remove_one - Called to remove a single instance of the
4860 * adapter. 4860 * adapter.
4861 * 4861 *
4862 * @dev: The PCI device to intialize. 4862 * @dev: The PCI device to initialize.
4863 **/ 4863 **/
4864static void __devexit dc395x_remove_one(struct pci_dev *dev) 4864static void __devexit dc395x_remove_one(struct pci_dev *dev)
4865{ 4865{
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c
index c797f6b48f05..54a6ec8e131d 100644
--- a/drivers/scsi/libfc/fc_fcp.c
+++ b/drivers/scsi/libfc/fc_fcp.c
@@ -1212,7 +1212,7 @@ static void fc_lun_reset_send(unsigned long data)
1212/** 1212/**
1213 * fc_lun_reset() - Send a LUN RESET command to a device 1213 * fc_lun_reset() - Send a LUN RESET command to a device
1214 * and wait for the reply 1214 * and wait for the reply
1215 * @lport: The local port to sent the comand on 1215 * @lport: The local port to sent the command on
1216 * @fsp: The FCP packet that identifies the LUN to be reset 1216 * @fsp: The FCP packet that identifies the LUN to be reset
1217 * @id: The SCSI command ID 1217 * @id: The SCSI command ID
1218 * @lun: The LUN ID to be reset 1218 * @lun: The LUN ID to be reset
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index f681eea57730..0e4abb96d68e 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -1339,7 +1339,7 @@ lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
1339} 1339}
1340 1340
1341/** 1341/**
1342 * lpfc_param_init - Intializes a cfg attribute 1342 * lpfc_param_init - Initializes a cfg attribute
1343 * 1343 *
1344 * Description: 1344 * Description:
1345 * Macro that given an attr e.g. hba_queue_depth expands 1345 * Macro that given an attr e.g. hba_queue_depth expands
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index a345dde16c86..2a6866e63aae 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -2614,7 +2614,7 @@ lpfc_mbx_process_link_up(struct lpfc_hba *phba, READ_LA_VAR *la)
2614 if (unlikely(!fcf_record)) { 2614 if (unlikely(!fcf_record)) {
2615 lpfc_printf_log(phba, KERN_ERR, 2615 lpfc_printf_log(phba, KERN_ERR,
2616 LOG_MBOX | LOG_SLI, 2616 LOG_MBOX | LOG_SLI,
2617 "2554 Could not allocate memmory for " 2617 "2554 Could not allocate memory for "
2618 "fcf record\n"); 2618 "fcf record\n");
2619 rc = -ENODEV; 2619 rc = -ENODEV;
2620 goto out; 2620 goto out;
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 0d1e187b005d..c5614cfcc6e9 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -9619,7 +9619,7 @@ lpfc_sli4_intr_handler(int irq, void *dev_id)
9619 * lpfc_sli4_queue_free - free a queue structure and associated memory 9619 * lpfc_sli4_queue_free - free a queue structure and associated memory
9620 * @queue: The queue structure to free. 9620 * @queue: The queue structure to free.
9621 * 9621 *
9622 * This function frees a queue structure and the DMAable memeory used for 9622 * This function frees a queue structure and the DMAable memory used for
9623 * the host resident queue. This function must be called after destroying the 9623 * the host resident queue. This function must be called after destroying the
9624 * queue on the HBA. 9624 * queue on the HBA.
9625 **/ 9625 **/
diff --git a/drivers/scsi/megaraid.h b/drivers/scsi/megaraid.h
index 2b4a048cadf1..deb24ad1b8d2 100644
--- a/drivers/scsi/megaraid.h
+++ b/drivers/scsi/megaraid.h
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15/* 15/*
16 * Comand coalescing - This feature allows the driver to be able to combine 16 * Command coalescing - This feature allows the driver to be able to combine
17 * two or more commands and issue as one command in order to boost I/O 17 * two or more commands and issue as one command in order to boost I/O
18 * performance. Useful if the nature of the I/O is sequential. It is not very 18 * performance. Useful if the nature of the I/O is sequential. It is not very
19 * useful for random natured I/Os. 19 * useful for random natured I/Os.
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c
index f8c86b28f03f..b95285f3383f 100644
--- a/drivers/scsi/pm8001/pm8001_init.c
+++ b/drivers/scsi/pm8001/pm8001_init.c
@@ -603,7 +603,7 @@ static u32 pm8001_request_irq(struct pm8001_hba_info *pm8001_ha)
603#endif 603#endif
604 604
605intx: 605intx:
606 /* intialize the INT-X interrupt */ 606 /* initialize the INT-X interrupt */
607 rc = request_irq(pdev->irq, irq_handler, IRQF_SHARED, DRV_NAME, 607 rc = request_irq(pdev->irq, irq_handler, IRQF_SHARED, DRV_NAME,
608 SHOST_TO_SAS_HA(pm8001_ha->shost)); 608 SHOST_TO_SAS_HA(pm8001_ha->shost));
609 return rc; 609 return rc;
diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c
index d53e6503c6d5..a2ed201885ae 100644
--- a/drivers/scsi/scsi_netlink.c
+++ b/drivers/scsi/scsi_netlink.c
@@ -477,7 +477,7 @@ EXPORT_SYMBOL_GPL(scsi_nl_remove_driver);
477 477
478 478
479/** 479/**
480 * scsi_netlink_init - Called by SCSI subsystem to intialize 480 * scsi_netlink_init - Called by SCSI subsystem to initialize
481 * the SCSI transport netlink interface 481 * the SCSI transport netlink interface
482 * 482 *
483 **/ 483 **/
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c
index 8b955b534a36..4afa81ad2caa 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -1864,7 +1864,7 @@ static pci_ers_result_t sym2_io_slot_dump(struct pci_dev *pdev)
1864 * 1864 *
1865 * This routine is similar to sym_set_workarounds(), except 1865 * This routine is similar to sym_set_workarounds(), except
1866 * that, at this point, we already know that the device was 1866 * that, at this point, we already know that the device was
1867 * successfully intialized at least once before, and so most 1867 * successfully initialized at least once before, and so most
1868 * of the steps taken there are un-needed here. 1868 * of the steps taken there are un-needed here.
1869 */ 1869 */
1870static void sym2_reset_workarounds(struct pci_dev *pdev) 1870static void sym2_reset_workarounds(struct pci_dev *pdev)