aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vme
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/staging/vme
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r--drivers/staging/vme/bridges/vme_ca91cx42.c6
-rw-r--r--drivers/staging/vme/bridges/vme_tsi148.c4
-rw-r--r--drivers/staging/vme/bridges/vme_tsi148.h8
-rw-r--r--drivers/staging/vme/vme_api.txt6
4 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/vme/bridges/vme_ca91cx42.c b/drivers/staging/vme/bridges/vme_ca91cx42.c
index d4a48c4e59c..a4007287ef4 100644
--- a/drivers/staging/vme/bridges/vme_ca91cx42.c
+++ b/drivers/staging/vme/bridges/vme_ca91cx42.c
@@ -621,7 +621,7 @@ static int ca91cx42_master_set(struct vme_master_resource *image, int enabled,
621 621
622 /* 622 /*
623 * Let's allocate the resource here rather than further up the stack as 623 * Let's allocate the resource here rather than further up the stack as
624 * it avoids pushing loads of bus dependant stuff up the stack 624 * it avoids pushing loads of bus dependent stuff up the stack
625 */ 625 */
626 retval = ca91cx42_alloc_resource(image, size); 626 retval = ca91cx42_alloc_resource(image, size);
627 if (retval) { 627 if (retval) {
@@ -1052,7 +1052,7 @@ static int ca91cx42_dma_list_add(struct vme_dma_list *list,
1052 pci_attr = dest->private; 1052 pci_attr = dest->private;
1053 } 1053 }
1054 1054
1055 /* Check we can do fullfill required attributes */ 1055 /* Check we can do fulfill required attributes */
1056 if ((vme_attr->aspace & ~(VME_A16 | VME_A24 | VME_A32 | VME_USER1 | 1056 if ((vme_attr->aspace & ~(VME_A16 | VME_A24 | VME_A32 | VME_USER1 |
1057 VME_USER2)) != 0) { 1057 VME_USER2)) != 0) {
1058 1058
@@ -1069,7 +1069,7 @@ static int ca91cx42_dma_list_add(struct vme_dma_list *list,
1069 goto err_cycle; 1069 goto err_cycle;
1070 } 1070 }
1071 1071
1072 /* Check to see if we can fullfill source and destination */ 1072 /* Check to see if we can fulfill source and destination */
1073 if (!(((src->type == VME_DMA_PCI) && (dest->type == VME_DMA_VME)) || 1073 if (!(((src->type == VME_DMA_PCI) && (dest->type == VME_DMA_VME)) ||
1074 ((src->type == VME_DMA_VME) && (dest->type == VME_DMA_PCI)))) { 1074 ((src->type == VME_DMA_VME) && (dest->type == VME_DMA_PCI)))) {
1075 1075
diff --git a/drivers/staging/vme/bridges/vme_tsi148.c b/drivers/staging/vme/bridges/vme_tsi148.c
index b00a53e793e..106aa9daff4 100644
--- a/drivers/staging/vme/bridges/vme_tsi148.c
+++ b/drivers/staging/vme/bridges/vme_tsi148.c
@@ -928,7 +928,7 @@ static int tsi148_master_set(struct vme_master_resource *image, int enabled,
928 spin_lock(&image->lock); 928 spin_lock(&image->lock);
929 929
930 /* Let's allocate the resource here rather than further up the stack as 930 /* Let's allocate the resource here rather than further up the stack as
931 * it avoids pushing loads of bus dependant stuff up the stack. If size 931 * it avoids pushing loads of bus dependent stuff up the stack. If size
932 * is zero, any existing resource will be freed. 932 * is zero, any existing resource will be freed.
933 */ 933 */
934 retval = tsi148_alloc_resource(image, size); 934 retval = tsi148_alloc_resource(image, size);
@@ -1320,7 +1320,7 @@ static ssize_t tsi148_master_write(struct vme_master_resource *image, void *buf,
1320 1320
1321 /* 1321 /*
1322 * Writes are posted. We need to do a read on the VME bus to flush out 1322 * Writes are posted. We need to do a read on the VME bus to flush out
1323 * all of the writes before we check for errors. We can't guarentee 1323 * all of the writes before we check for errors. We can't guarantee
1324 * that reading the data we have just written is safe. It is believed 1324 * that reading the data we have just written is safe. It is believed
1325 * that there isn't any read, write re-ordering, so we can read any 1325 * that there isn't any read, write re-ordering, so we can read any
1326 * location in VME space, so lets read the Device ID from the tsi148's 1326 * location in VME space, so lets read the Device ID from the tsi148's
diff --git a/drivers/staging/vme/bridges/vme_tsi148.h b/drivers/staging/vme/bridges/vme_tsi148.h
index 9f97fa8084e..a3ac2fe9881 100644
--- a/drivers/staging/vme/bridges/vme_tsi148.h
+++ b/drivers/staging/vme/bridges/vme_tsi148.h
@@ -212,7 +212,7 @@ static const int TSI148_LCSR_OT[8] = { TSI148_LCSR_OT0, TSI148_LCSR_OT1,
212#define TSI148_LCSR_OFFSET_OTAT 0x1C 212#define TSI148_LCSR_OFFSET_OTAT 0x1C
213 213
214/* 214/*
215 * VMEbus interupt ack 215 * VMEbus interrupt ack
216 * offset 200 216 * offset 200
217 */ 217 */
218#define TSI148_LCSR_VIACK1 0x204 218#define TSI148_LCSR_VIACK1 0x204
@@ -613,7 +613,7 @@ static const int TSI148_GCSR_MBOX[4] = { TSI148_GCSR_MBOX0,
613/* 613/*
614 * PCI-X Status Register (CRG +$054) 614 * PCI-X Status Register (CRG +$054)
615 */ 615 */
616#define TSI148_PCFS_PCIXSTAT_RSCEM (1<<29) /* Recieved Split Comp Error */ 616#define TSI148_PCFS_PCIXSTAT_RSCEM (1<<29) /* Received Split Comp Error */
617#define TSI148_PCFS_PCIXSTAT_DMCRS_M (7<<26) /* max Cumulative Read Size */ 617#define TSI148_PCFS_PCIXSTAT_DMCRS_M (7<<26) /* max Cumulative Read Size */
618#define TSI148_PCFS_PCIXSTAT_DMOST_M (7<<23) /* max outstanding Split Trans 618#define TSI148_PCFS_PCIXSTAT_DMOST_M (7<<23) /* max outstanding Split Trans
619 */ 619 */
@@ -982,8 +982,8 @@ static const int TSI148_GCSR_MBOX[4] = { TSI148_GCSR_MBOX0,
982#define TSI148_LCSR_VICR_CNTS_IRQ1 (2<<22) /* IRQ1 to Cntr */ 982#define TSI148_LCSR_VICR_CNTS_IRQ1 (2<<22) /* IRQ1 to Cntr */
983#define TSI148_LCSR_VICR_CNTS_IRQ2 (3<<22) /* IRQ2 to Cntr */ 983#define TSI148_LCSR_VICR_CNTS_IRQ2 (3<<22) /* IRQ2 to Cntr */
984 984
985#define TSI148_LCSR_VICR_EDGIS_M (3<<20) /* Edge interupt MASK */ 985#define TSI148_LCSR_VICR_EDGIS_M (3<<20) /* Edge interrupt MASK */
986#define TSI148_LCSR_VICR_EDGIS_DIS (1<<20) /* Edge interupt Disable */ 986#define TSI148_LCSR_VICR_EDGIS_DIS (1<<20) /* Edge interrupt Disable */
987#define TSI148_LCSR_VICR_EDGIS_IRQ1 (2<<20) /* IRQ1 to Edge */ 987#define TSI148_LCSR_VICR_EDGIS_IRQ1 (2<<20) /* IRQ1 to Edge */
988#define TSI148_LCSR_VICR_EDGIS_IRQ2 (3<<20) /* IRQ2 to Edge */ 988#define TSI148_LCSR_VICR_EDGIS_IRQ2 (3<<20) /* IRQ2 to Edge */
989 989
diff --git a/drivers/staging/vme/vme_api.txt b/drivers/staging/vme/vme_api.txt
index a910a0c4388..4910e92c52a 100644
--- a/drivers/staging/vme/vme_api.txt
+++ b/drivers/staging/vme/vme_api.txt
@@ -6,7 +6,7 @@ Driver registration
6 6
7As with other subsystems within the Linux kernel, VME device drivers register 7As with other subsystems within the Linux kernel, VME device drivers register
8with the VME subsystem, typically called from the devices init routine. This is 8with the VME subsystem, typically called from the devices init routine. This is
9achieved via a call to the follwoing function: 9achieved via a call to the following function:
10 10
11 int vme_register_driver (struct vme_driver *driver); 11 int vme_register_driver (struct vme_driver *driver);
12 12
@@ -108,7 +108,7 @@ Master windows
108============== 108==============
109 109
110Master windows provide access from the local processor[s] out onto the VME bus. 110Master windows provide access from the local processor[s] out onto the VME bus.
111The number of windows available and the available access modes is dependant on 111The number of windows available and the available access modes is dependent on
112the underlying chipset. A window must be configured before it can be used. 112the underlying chipset. A window must be configured before it can be used.
113 113
114 114
@@ -163,7 +163,7 @@ Slave windows
163 163
164Slave windows provide devices on the VME bus access into mapped portions of the 164Slave windows provide devices on the VME bus access into mapped portions of the
165local memory. The number of windows available and the access modes that can be 165local memory. The number of windows available and the access modes that can be
166used is dependant on the underlying chipset. A window must be configured before 166used is dependent on the underlying chipset. A window must be configured before
167it can be used. 167it can be used.
168 168
169 169