diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2009-11-14 10:09:05 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-04 09:39:55 -0500 |
commit | af901ca181d92aac3a7dc265144a9081a86d8f39 (patch) | |
tree | 380054af22521144fbe1364c3bcd55ad24c9bde4 /drivers/net/stmmac | |
parent | 972b94ffb90ea6d20c589d9a47215df103388ddd (diff) |
tree-wide: fix assorted typos all over the place
That is "success", "unknown", "through", "performance", "[re|un]mapping"
, "access", "default", "reasonable", "[con]currently", "temperature"
, "channel", "[un]used", "application", "example","hierarchy", "therefore"
, "[over|under]flow", "contiguous", "threshold", "enough" and others.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net/stmmac')
-rw-r--r-- | drivers/net/stmmac/gmac.c | 2 | ||||
-rw-r--r-- | drivers/net/stmmac/gmac.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/stmmac/gmac.c b/drivers/net/stmmac/gmac.c index b624bb5bae0a..52586ee68953 100644 --- a/drivers/net/stmmac/gmac.c +++ b/drivers/net/stmmac/gmac.c | |||
@@ -112,7 +112,7 @@ static void gmac_dma_operation_mode(unsigned long ioaddr, int txmode, | |||
112 | " (threshold = %d)\n", txmode); | 112 | " (threshold = %d)\n", txmode); |
113 | csr6 &= ~DMA_CONTROL_TSF; | 113 | csr6 &= ~DMA_CONTROL_TSF; |
114 | csr6 &= DMA_CONTROL_TC_TX_MASK; | 114 | csr6 &= DMA_CONTROL_TC_TX_MASK; |
115 | /* Set the transmit threashold */ | 115 | /* Set the transmit threshold */ |
116 | if (txmode <= 32) | 116 | if (txmode <= 32) |
117 | csr6 |= DMA_CONTROL_TTC_32; | 117 | csr6 |= DMA_CONTROL_TTC_32; |
118 | else if (txmode <= 64) | 118 | else if (txmode <= 64) |
diff --git a/drivers/net/stmmac/gmac.h b/drivers/net/stmmac/gmac.h index 684a363120a9..2e82d6c9a148 100644 --- a/drivers/net/stmmac/gmac.h +++ b/drivers/net/stmmac/gmac.h | |||
@@ -154,14 +154,14 @@ enum rx_tx_priority_ratio { | |||
154 | #define DMA_CONTROL_DT 0x04000000 /* Disable Drop TCP/IP csum error */ | 154 | #define DMA_CONTROL_DT 0x04000000 /* Disable Drop TCP/IP csum error */ |
155 | #define DMA_CONTROL_RSF 0x02000000 /* Receive Store and Forward */ | 155 | #define DMA_CONTROL_RSF 0x02000000 /* Receive Store and Forward */ |
156 | #define DMA_CONTROL_DFF 0x01000000 /* Disaable flushing */ | 156 | #define DMA_CONTROL_DFF 0x01000000 /* Disaable flushing */ |
157 | /* Theshold for Activating the FC */ | 157 | /* Threshold for Activating the FC */ |
158 | enum rfa { | 158 | enum rfa { |
159 | act_full_minus_1 = 0x00800000, | 159 | act_full_minus_1 = 0x00800000, |
160 | act_full_minus_2 = 0x00800200, | 160 | act_full_minus_2 = 0x00800200, |
161 | act_full_minus_3 = 0x00800400, | 161 | act_full_minus_3 = 0x00800400, |
162 | act_full_minus_4 = 0x00800600, | 162 | act_full_minus_4 = 0x00800600, |
163 | }; | 163 | }; |
164 | /* Theshold for Deactivating the FC */ | 164 | /* Threshold for Deactivating the FC */ |
165 | enum rfd { | 165 | enum rfd { |
166 | deac_full_minus_1 = 0x00400000, | 166 | deac_full_minus_1 = 0x00400000, |
167 | deac_full_minus_2 = 0x00400800, | 167 | deac_full_minus_2 = 0x00400800, |