diff options
author | Luis Correia <luis.f.correia@gmail.com> | 2009-07-17 15:39:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:26 -0400 |
commit | 4951348109c334f2b839816bd161522d089cb782 (patch) | |
tree | 048551b7d0448bac32b04ad43886fa2523c58248 /drivers/net/wireless | |
parent | 30a12a8fbbd530b016277dd2ab65246b516540a8 (diff) |
rt2x00: Comment spellchecking
Fix a bunch of spelling errors in the rt2x00 drivers
Signed-off-by: Luis Correia <luis.f.correia@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00crypto.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00link.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 10 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00reg.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.h | 4 |
15 files changed, 24 insertions, 24 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.h b/drivers/net/wireless/rt2x00/rt2400pci.h index ec3b004ddc3c..ccd644104ad1 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.h +++ b/drivers/net/wireless/rt2x00/rt2400pci.h | |||
@@ -928,7 +928,7 @@ | |||
928 | #define RXD_W7_RESERVED FIELD32(0xffffffff) | 928 | #define RXD_W7_RESERVED FIELD32(0xffffffff) |
929 | 929 | ||
930 | /* | 930 | /* |
931 | * Macro's for converting txpower from EEPROM to mac80211 value | 931 | * Macros for converting txpower from EEPROM to mac80211 value |
932 | * and from mac80211 value to register value. | 932 | * and from mac80211 value to register value. |
933 | * NOTE: Logics in rt2400pci for txpower are reversed | 933 | * NOTE: Logics in rt2400pci for txpower are reversed |
934 | * compared to the other rt2x00 drivers. A higher txpower | 934 | * compared to the other rt2x00 drivers. A higher txpower |
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.h b/drivers/net/wireless/rt2x00/rt2500pci.h index ce2f065c7486..54d37957883c 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.h +++ b/drivers/net/wireless/rt2x00/rt2500pci.h | |||
@@ -1218,7 +1218,7 @@ | |||
1218 | #define RXD_W10_DROP FIELD32(0x00000001) | 1218 | #define RXD_W10_DROP FIELD32(0x00000001) |
1219 | 1219 | ||
1220 | /* | 1220 | /* |
1221 | * Macro's for converting txpower from EEPROM to mac80211 value | 1221 | * Macros for converting txpower from EEPROM to mac80211 value |
1222 | * and from mac80211 value to register value. | 1222 | * and from mac80211 value to register value. |
1223 | */ | 1223 | */ |
1224 | #define MIN_TXPOWER 0 | 1224 | #define MIN_TXPOWER 0 |
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.h b/drivers/net/wireless/rt2x00/rt2500usb.h index 5bc46fe72179..b01edca42583 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.h +++ b/drivers/net/wireless/rt2x00/rt2500usb.h | |||
@@ -831,7 +831,7 @@ | |||
831 | #define RXD_W3_EIV FIELD32(0xffffffff) | 831 | #define RXD_W3_EIV FIELD32(0xffffffff) |
832 | 832 | ||
833 | /* | 833 | /* |
834 | * Macro's for converting txpower from EEPROM to mac80211 value | 834 | * Macros for converting txpower from EEPROM to mac80211 value |
835 | * and from mac80211 value to register value. | 835 | * and from mac80211 value to register value. |
836 | */ | 836 | */ |
837 | #define MIN_TXPOWER 0 | 837 | #define MIN_TXPOWER 0 |
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index f35b3d6649c8..9efb41710508 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -1910,7 +1910,7 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
1910 | /* | 1910 | /* |
1911 | * Before the radio can be enabled, the device first has | 1911 | * Before the radio can be enabled, the device first has |
1912 | * to be woken up. After that it needs a bit of time | 1912 | * to be woken up. After that it needs a bit of time |
1913 | * to be fully awake and the radio can be enabled. | 1913 | * to be fully awake and then the radio can be enabled. |
1914 | */ | 1914 | */ |
1915 | rt2800usb_set_state(rt2x00dev, STATE_AWAKE); | 1915 | rt2800usb_set_state(rt2x00dev, STATE_AWAKE); |
1916 | msleep(1); | 1916 | msleep(1); |
@@ -1918,7 +1918,7 @@ static int rt2800usb_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
1918 | break; | 1918 | break; |
1919 | case STATE_RADIO_OFF: | 1919 | case STATE_RADIO_OFF: |
1920 | /* | 1920 | /* |
1921 | * After the radio has been disablee, the device should | 1921 | * After the radio has been disabled, the device should |
1922 | * be put to sleep for powersaving. | 1922 | * be put to sleep for powersaving. |
1923 | */ | 1923 | */ |
1924 | rt2800usb_disable_radio(rt2x00dev); | 1924 | rt2800usb_disable_radio(rt2x00dev); |
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.h b/drivers/net/wireless/rt2x00/rt2800usb.h index 61a8be61d3f5..2d9dc3783361 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.h +++ b/drivers/net/wireless/rt2x00/rt2800usb.h | |||
@@ -1921,7 +1921,7 @@ struct mac_iveiv_entry { | |||
1921 | #define RXWI_W3_SNR1 FIELD32(0x0000ff00) | 1921 | #define RXWI_W3_SNR1 FIELD32(0x0000ff00) |
1922 | 1922 | ||
1923 | /* | 1923 | /* |
1924 | * Macro's for converting txpower from EEPROM to mac80211 value | 1924 | * Macros for converting txpower from EEPROM to mac80211 value |
1925 | * and from mac80211 value to register value. | 1925 | * and from mac80211 value to register value. |
1926 | */ | 1926 | */ |
1927 | #define MIN_G_TXPOWER 0 | 1927 | #define MIN_G_TXPOWER 0 |
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 4c76c8d93cb5..cbec91ef6f76 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -245,7 +245,7 @@ struct link_ant { | |||
245 | struct antenna_setup active; | 245 | struct antenna_setup active; |
246 | 246 | ||
247 | /* | 247 | /* |
248 | * RSSI information for the different antenna's. | 248 | * RSSI information for the different antennas. |
249 | * These statistics are used to determine when | 249 | * These statistics are used to determine when |
250 | * to switch antenna when using software diversity. | 250 | * to switch antenna when using software diversity. |
251 | * | 251 | * |
@@ -633,7 +633,7 @@ struct rt2x00_dev { | |||
633 | * The structure stored in here depends on the | 633 | * The structure stored in here depends on the |
634 | * system bus (PCI or USB). | 634 | * system bus (PCI or USB). |
635 | * When accessing this variable, the rt2x00dev_{pci,usb} | 635 | * When accessing this variable, the rt2x00dev_{pci,usb} |
636 | * macro's should be used for correct typecasting. | 636 | * macros should be used for correct typecasting. |
637 | */ | 637 | */ |
638 | struct device *dev; | 638 | struct device *dev; |
639 | 639 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index 3e019a12df2e..c6e0bcf78e9e 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -132,7 +132,7 @@ void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev, | |||
132 | /* | 132 | /* |
133 | * Failsafe: Make sure we are not sending the | 133 | * Failsafe: Make sure we are not sending the |
134 | * ANTENNA_SW_DIVERSITY state to the driver. | 134 | * ANTENNA_SW_DIVERSITY state to the driver. |
135 | * If that happes fallback to hardware default, | 135 | * If that happens, fallback to hardware defaults, |
136 | * or our own default. | 136 | * or our own default. |
137 | * The calls to rt2x00lib_config_antenna_check() | 137 | * The calls to rt2x00lib_config_antenna_check() |
138 | * might have caused that we restore back to the already | 138 | * might have caused that we restore back to the already |
diff --git a/drivers/net/wireless/rt2x00/rt2x00crypto.c b/drivers/net/wireless/rt2x00/rt2x00crypto.c index c54eda3c2db0..30fbd3bbe08b 100644 --- a/drivers/net/wireless/rt2x00/rt2x00crypto.c +++ b/drivers/net/wireless/rt2x00/rt2x00crypto.c | |||
@@ -129,7 +129,7 @@ void rt2x00crypto_tx_remove_iv(struct sk_buff *skb, struct txentry_desc *txdesc) | |||
129 | /* Pull buffer to correct size */ | 129 | /* Pull buffer to correct size */ |
130 | skb_pull(skb, txdesc->iv_len); | 130 | skb_pull(skb, txdesc->iv_len); |
131 | 131 | ||
132 | /* IV/EIV data has officially be stripped */ | 132 | /* IV/EIV data has officially been stripped */ |
133 | skbdesc->flags |= SKBDESC_IV_STRIPPED; | 133 | skbdesc->flags |= SKBDESC_IV_STRIPPED; |
134 | } | 134 | } |
135 | 135 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2x00link.c b/drivers/net/wireless/rt2x00/rt2x00link.c index eb9b981b9139..32570758e67c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00link.c +++ b/drivers/net/wireless/rt2x00/rt2x00link.c | |||
@@ -158,7 +158,7 @@ static void rt2x00lib_antenna_diversity_sample(struct rt2x00_dev *rt2x00dev) | |||
158 | 158 | ||
159 | /* | 159 | /* |
160 | * During the last period we have sampled the RSSI | 160 | * During the last period we have sampled the RSSI |
161 | * from both antenna's. It now is time to determine | 161 | * from both antennas. It now is time to determine |
162 | * which antenna demonstrated the best performance. | 162 | * which antenna demonstrated the best performance. |
163 | * When we are already on the antenna with the best | 163 | * When we are already on the antenna with the best |
164 | * performance, then there really is nothing for us | 164 | * performance, then there really is nothing for us |
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index 3425984a55c7..9d31c23b92fa 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -341,7 +341,7 @@ int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed) | |||
341 | int status; | 341 | int status; |
342 | 342 | ||
343 | /* | 343 | /* |
344 | * Mac80211 might be calling this function while we are trying | 344 | * mac80211 might be calling this function while we are trying |
345 | * to remove the device or perhaps suspending it. | 345 | * to remove the device or perhaps suspending it. |
346 | */ | 346 | */ |
347 | if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) | 347 | if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) |
@@ -587,7 +587,7 @@ void rt2x00mac_bss_info_changed(struct ieee80211_hw *hw, | |||
587 | int update_bssid = 0; | 587 | int update_bssid = 0; |
588 | 588 | ||
589 | /* | 589 | /* |
590 | * Mac80211 might be calling this function while we are trying | 590 | * mac80211 might be calling this function while we are trying |
591 | * to remove the device or perhaps suspending it. | 591 | * to remove the device or perhaps suspending it. |
592 | */ | 592 | */ |
593 | if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) | 593 | if (!test_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) |
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index b5e06347c8a7..47d175a13790 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/prefetch.h> | 29 | #include <linux/prefetch.h> |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * DOC: Entrie frame size | 32 | * DOC: Entry frame size |
33 | * | 33 | * |
34 | * Ralink PCI devices demand the Frame size to be a multiple of 128 bytes, | 34 | * Ralink PCI devices demand the Frame size to be a multiple of 128 bytes, |
35 | * for USB devices this restriction does not apply, but the value of | 35 | * for USB devices this restriction does not apply, but the value of |
@@ -45,13 +45,13 @@ | |||
45 | /** | 45 | /** |
46 | * DOC: Number of entries per queue | 46 | * DOC: Number of entries per queue |
47 | * | 47 | * |
48 | * Under normal load without fragmentation 12 entries are sufficient | 48 | * Under normal load without fragmentation, 12 entries are sufficient |
49 | * without the queue being filled up to the maximum. When using fragmentation | 49 | * without the queue being filled up to the maximum. When using fragmentation |
50 | * and the queue threshold code we need to add some additional margins to | 50 | * and the queue threshold code, we need to add some additional margins to |
51 | * make sure the queue will never (or only under extreme load) fill up | 51 | * make sure the queue will never (or only under extreme load) fill up |
52 | * completely. | 52 | * completely. |
53 | * Since we don't use preallocated DMA having a large number of queue entries | 53 | * Since we don't use preallocated DMA, having a large number of queue entries |
54 | * will have only minimal impact on the memory requirements for the queue. | 54 | * will have minimal impact on the memory requirements for the queue. |
55 | */ | 55 | */ |
56 | #define RX_ENTRIES 24 | 56 | #define RX_ENTRIES 24 |
57 | #define TX_ENTRIES 24 | 57 | #define TX_ENTRIES 24 |
diff --git a/drivers/net/wireless/rt2x00/rt2x00reg.h b/drivers/net/wireless/rt2x00/rt2x00reg.h index 861322d97fce..983e52e127a7 100644 --- a/drivers/net/wireless/rt2x00/rt2x00reg.h +++ b/drivers/net/wireless/rt2x00/rt2x00reg.h | |||
@@ -176,8 +176,8 @@ struct rt2x00_field32 { | |||
176 | #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x)) | 176 | #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x)) |
177 | 177 | ||
178 | /* | 178 | /* |
179 | * Macro's to find first set bit in a variable. | 179 | * Macros to find first set bit in a variable. |
180 | * These macro's behaves the same as the __ffs() function with | 180 | * These macros behave the same as the __ffs() functions but |
181 | * the most important difference that this is done during | 181 | * the most important difference that this is done during |
182 | * compile-time rather then run-time. | 182 | * compile-time rather then run-time. |
183 | */ | 183 | */ |
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index b435c140cb96..fb95b8cc4fe9 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2312,7 +2312,7 @@ static int rt61pci_init_eeprom(struct rt2x00_dev *rt2x00dev) | |||
2312 | } | 2312 | } |
2313 | 2313 | ||
2314 | /* | 2314 | /* |
2315 | * Determine number of antenna's. | 2315 | * Determine number of antennas. |
2316 | */ | 2316 | */ |
2317 | if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_NUM) == 2) | 2317 | if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_NUM) == 2) |
2318 | __set_bit(CONFIG_DOUBLE_ANTENNA, &rt2x00dev->flags); | 2318 | __set_bit(CONFIG_DOUBLE_ANTENNA, &rt2x00dev->flags); |
diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h index 6c71f77c8165..93eb699165cc 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.h +++ b/drivers/net/wireless/rt2x00/rt61pci.h | |||
@@ -1476,7 +1476,7 @@ struct hw_pairwise_ta_entry { | |||
1476 | #define RXD_W15_RESERVED FIELD32(0xffffffff) | 1476 | #define RXD_W15_RESERVED FIELD32(0xffffffff) |
1477 | 1477 | ||
1478 | /* | 1478 | /* |
1479 | * Macro's for converting txpower from EEPROM to mac80211 value | 1479 | * Macros for converting txpower from EEPROM to mac80211 value |
1480 | * and from mac80211 value to register value. | 1480 | * and from mac80211 value to register value. |
1481 | */ | 1481 | */ |
1482 | #define MIN_TXPOWER 0 | 1482 | #define MIN_TXPOWER 0 |
diff --git a/drivers/net/wireless/rt2x00/rt73usb.h b/drivers/net/wireless/rt2x00/rt73usb.h index c8016f65b4bd..81fe0be51c42 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.h +++ b/drivers/net/wireless/rt2x00/rt73usb.h | |||
@@ -809,7 +809,7 @@ struct hw_pairwise_ta_entry { | |||
809 | 809 | ||
810 | /* | 810 | /* |
811 | * EEPROM antenna. | 811 | * EEPROM antenna. |
812 | * ANTENNA_NUM: Number of antenna's. | 812 | * ANTENNA_NUM: Number of antennas. |
813 | * TX_DEFAULT: Default antenna 0: diversity, 1: A, 2: B. | 813 | * TX_DEFAULT: Default antenna 0: diversity, 1: A, 2: B. |
814 | * RX_DEFAULT: Default antenna 0: diversity, 1: A, 2: B. | 814 | * RX_DEFAULT: Default antenna 0: diversity, 1: A, 2: B. |
815 | * FRAME_TYPE: 0: DPDT , 1: SPDT , noted this bit is valid for g only. | 815 | * FRAME_TYPE: 0: DPDT , 1: SPDT , noted this bit is valid for g only. |
@@ -1058,7 +1058,7 @@ struct hw_pairwise_ta_entry { | |||
1058 | #define RXD_W5_RESERVED FIELD32(0xffffffff) | 1058 | #define RXD_W5_RESERVED FIELD32(0xffffffff) |
1059 | 1059 | ||
1060 | /* | 1060 | /* |
1061 | * Macro's for converting txpower from EEPROM to mac80211 value | 1061 | * Macros for converting txpower from EEPROM to mac80211 value |
1062 | * and from mac80211 value to register value. | 1062 | * and from mac80211 value to register value. |
1063 | */ | 1063 | */ |
1064 | #define MIN_TXPOWER 0 | 1064 | #define MIN_TXPOWER 0 |