diff options
author | Frederik Schwarzer <schwarzerf@gmail.com> | 2008-10-16 13:02:37 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-01-06 05:28:06 -0500 |
commit | 025dfdafe77f20b3890981a394774baab7b9c827 (patch) | |
tree | c4d514990d7a0673df5d32aa11fded95f9644ff0 /drivers/net | |
parent | 0abb8b6a939b742f273edc68b64dba26c57331bc (diff) |
trivial: fix then -> than typos in comments and documentation
- (better, more, bigger ...) then -> (...) than
Signed-off-by: Frederik Schwarzer <schwarzerf@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bnx2x_link.c | 2 | ||||
-rw-r--r-- | drivers/net/e1000/e1000_hw.c | 4 | ||||
-rw-r--r-- | drivers/net/slip.h | 2 | ||||
-rw-r--r-- | drivers/net/tehuti.c | 4 | ||||
-rw-r--r-- | drivers/net/tokenring/smctr.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2100.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00crypto.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/strip.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 67de94f1f30e..fefa6ab13064 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -3359,7 +3359,7 @@ static u8 bnx2x_format_ver(u32 num, u8 *str, u16 len) | |||
3359 | u8 shift = 8*4; | 3359 | u8 shift = 8*4; |
3360 | u8 digit; | 3360 | u8 digit; |
3361 | if (len < 10) { | 3361 | if (len < 10) { |
3362 | /* Need more then 10chars for this format */ | 3362 | /* Need more than 10chars for this format */ |
3363 | *str_ptr = '\0'; | 3363 | *str_ptr = '\0'; |
3364 | return -EINVAL; | 3364 | return -EINVAL; |
3365 | } | 3365 | } |
diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c index d04eef53571e..e1a3fc1303ee 100644 --- a/drivers/net/e1000/e1000_hw.c +++ b/drivers/net/e1000/e1000_hw.c | |||
@@ -6758,7 +6758,7 @@ static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length, | |||
6758 | * returns: - E1000_ERR_XXX | 6758 | * returns: - E1000_ERR_XXX |
6759 | * E1000_SUCCESS | 6759 | * E1000_SUCCESS |
6760 | * | 6760 | * |
6761 | * For phy's older then IGP, this function simply reads the polarity bit in the | 6761 | * For phy's older than IGP, this function simply reads the polarity bit in the |
6762 | * Phy Status register. For IGP phy's, this bit is valid only if link speed is | 6762 | * Phy Status register. For IGP phy's, this bit is valid only if link speed is |
6763 | * 10 Mbps. If the link speed is 100 Mbps there is no polarity so this bit will | 6763 | * 10 Mbps. If the link speed is 100 Mbps there is no polarity so this bit will |
6764 | * return 0. If the link speed is 1000 Mbps the polarity status is in the | 6764 | * return 0. If the link speed is 1000 Mbps the polarity status is in the |
@@ -6834,7 +6834,7 @@ static s32 e1000_check_polarity(struct e1000_hw *hw, | |||
6834 | * returns: - E1000_ERR_XXX | 6834 | * returns: - E1000_ERR_XXX |
6835 | * E1000_SUCCESS | 6835 | * E1000_SUCCESS |
6836 | * | 6836 | * |
6837 | * For phy's older then IGP, this function reads the Downshift bit in the Phy | 6837 | * For phy's older than IGP, this function reads the Downshift bit in the Phy |
6838 | * Specific Status register. For IGP phy's, it reads the Downgrade bit in the | 6838 | * Specific Status register. For IGP phy's, it reads the Downgrade bit in the |
6839 | * Link Health register. In IGP this bit is latched high, so the driver must | 6839 | * Link Health register. In IGP this bit is latched high, so the driver must |
6840 | * read it immediately after link is established. | 6840 | * read it immediately after link is established. |
diff --git a/drivers/net/slip.h b/drivers/net/slip.h index 853e0f6ec710..9ea5c11287d2 100644 --- a/drivers/net/slip.h +++ b/drivers/net/slip.h | |||
@@ -75,7 +75,7 @@ struct slip { | |||
75 | unsigned long tx_errors; /* Planned stuff */ | 75 | unsigned long tx_errors; /* Planned stuff */ |
76 | unsigned long rx_dropped; /* No memory for skb */ | 76 | unsigned long rx_dropped; /* No memory for skb */ |
77 | unsigned long tx_dropped; /* When MTU change */ | 77 | unsigned long tx_dropped; /* When MTU change */ |
78 | unsigned long rx_over_errors; /* Frame bigger then SLIP buf. */ | 78 | unsigned long rx_over_errors; /* Frame bigger than SLIP buf. */ |
79 | #ifdef SL_INCLUDE_CSLIP | 79 | #ifdef SL_INCLUDE_CSLIP |
80 | unsigned long tx_compressed; | 80 | unsigned long tx_compressed; |
81 | unsigned long rx_compressed; | 81 | unsigned long rx_compressed; |
diff --git a/drivers/net/tehuti.c b/drivers/net/tehuti.c index a10a83a11d9f..a7a4dc4d6313 100644 --- a/drivers/net/tehuti.c +++ b/drivers/net/tehuti.c | |||
@@ -1004,7 +1004,7 @@ static inline void bdx_rxdb_free_elem(struct rxdb *db, int n) | |||
1004 | * skb for rx. It assumes that Rx is desabled in HW | 1004 | * skb for rx. It assumes that Rx is desabled in HW |
1005 | * funcs are grouped for better cache usage | 1005 | * funcs are grouped for better cache usage |
1006 | * | 1006 | * |
1007 | * RxD fifo is smaller then RxF fifo by design. Upon high load, RxD will be | 1007 | * RxD fifo is smaller than RxF fifo by design. Upon high load, RxD will be |
1008 | * filled and packets will be dropped by nic without getting into host or | 1008 | * filled and packets will be dropped by nic without getting into host or |
1009 | * cousing interrupt. Anyway, in that condition, host has no chance to proccess | 1009 | * cousing interrupt. Anyway, in that condition, host has no chance to proccess |
1010 | * all packets, but dropping in nic is cheaper, since it takes 0 cpu cycles | 1010 | * all packets, but dropping in nic is cheaper, since it takes 0 cpu cycles |
@@ -1826,7 +1826,7 @@ static void bdx_tx_free(struct bdx_priv *priv) | |||
1826 | * | 1826 | * |
1827 | * Pushes desc to TxD fifo and overlaps it if needed. | 1827 | * Pushes desc to TxD fifo and overlaps it if needed. |
1828 | * NOTE: this func does not check for available space. this is responsibility | 1828 | * NOTE: this func does not check for available space. this is responsibility |
1829 | * of the caller. Neither does it check that data size is smaller then | 1829 | * of the caller. Neither does it check that data size is smaller than |
1830 | * fifo size. | 1830 | * fifo size. |
1831 | */ | 1831 | */ |
1832 | static void bdx_tx_push_desc(struct bdx_priv *priv, void *data, int size) | 1832 | static void bdx_tx_push_desc(struct bdx_priv *priv, void *data, int size) |
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c index a011666342ff..50eb29ce3c87 100644 --- a/drivers/net/tokenring/smctr.c +++ b/drivers/net/tokenring/smctr.c | |||
@@ -3064,7 +3064,7 @@ static int smctr_load_node_addr(struct net_device *dev) | |||
3064 | * will consequently cause a timeout. | 3064 | * will consequently cause a timeout. |
3065 | * | 3065 | * |
3066 | * NOTE 1: If the monitor_state is MS_BEACON_TEST_STATE, all transmit | 3066 | * NOTE 1: If the monitor_state is MS_BEACON_TEST_STATE, all transmit |
3067 | * queues other then the one used for the lobe_media_test should be | 3067 | * queues other than the one used for the lobe_media_test should be |
3068 | * disabled.!? | 3068 | * disabled.!? |
3069 | * | 3069 | * |
3070 | * NOTE 2: If the monitor_state is MS_BEACON_TEST_STATE and the receive_mask | 3070 | * NOTE 2: If the monitor_state is MS_BEACON_TEST_STATE and the receive_mask |
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index 1667065b86a7..753de1a9c4b3 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -1332,7 +1332,7 @@ static int ipw2100_power_cycle_adapter(struct ipw2100_priv *priv) | |||
1332 | IPW_AUX_HOST_RESET_REG_STOP_MASTER); | 1332 | IPW_AUX_HOST_RESET_REG_STOP_MASTER); |
1333 | 1333 | ||
1334 | /* Step 2. Wait for stop Master Assert | 1334 | /* Step 2. Wait for stop Master Assert |
1335 | * (not more then 50us, otherwise ret error */ | 1335 | * (not more than 50us, otherwise ret error */ |
1336 | i = 5; | 1336 | i = 5; |
1337 | do { | 1337 | do { |
1338 | udelay(IPW_WAIT_RESET_MASTER_ASSERT_COMPLETE_DELAY); | 1338 | udelay(IPW_WAIT_RESET_MASTER_ASSERT_COMPLETE_DELAY); |
diff --git a/drivers/net/wireless/rt2x00/rt2x00crypto.c b/drivers/net/wireless/rt2x00/rt2x00crypto.c index 37ad0d2fb64c..aee9cba13eb3 100644 --- a/drivers/net/wireless/rt2x00/rt2x00crypto.c +++ b/drivers/net/wireless/rt2x00/rt2x00crypto.c | |||
@@ -184,8 +184,8 @@ void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, unsigned int align, | |||
184 | * Make room for new data, note that we increase both | 184 | * Make room for new data, note that we increase both |
185 | * headsize and tailsize when required. The tailsize is | 185 | * headsize and tailsize when required. The tailsize is |
186 | * only needed when ICV data needs to be inserted and | 186 | * only needed when ICV data needs to be inserted and |
187 | * the padding is smaller then the ICV data. | 187 | * the padding is smaller than the ICV data. |
188 | * When alignment requirements is greater then the | 188 | * When alignment requirements is greater than the |
189 | * ICV data we must trim the skb to the correct size | 189 | * ICV data we must trim the skb to the correct size |
190 | * because we need to remove the extra bytes. | 190 | * because we need to remove the extra bytes. |
191 | */ | 191 | */ |
diff --git a/drivers/net/wireless/strip.c b/drivers/net/wireless/strip.c index dd0de3a9ed4e..7015f2480550 100644 --- a/drivers/net/wireless/strip.c +++ b/drivers/net/wireless/strip.c | |||
@@ -236,7 +236,7 @@ struct strip { | |||
236 | unsigned long tx_errors; /* Planned stuff */ | 236 | unsigned long tx_errors; /* Planned stuff */ |
237 | unsigned long rx_dropped; /* No memory for skb */ | 237 | unsigned long rx_dropped; /* No memory for skb */ |
238 | unsigned long tx_dropped; /* When MTU change */ | 238 | unsigned long tx_dropped; /* When MTU change */ |
239 | unsigned long rx_over_errors; /* Frame bigger then STRIP buf. */ | 239 | unsigned long rx_over_errors; /* Frame bigger than STRIP buf. */ |
240 | 240 | ||
241 | unsigned long pps_timer; /* Timer to determine pps */ | 241 | unsigned long pps_timer; /* Timer to determine pps */ |
242 | unsigned long rx_pps_count; /* Counter to determine pps */ | 242 | unsigned long rx_pps_count; /* Counter to determine pps */ |