Re: Help on Driver touchkit_ps2.c

2013-01-10 Thread Justin P. Mattock

On 01/09/2013 02:07 PM, Yves DUF wrote:

Hello Mister Mattock.

I hope this email will not bother you. It's about the eGalax
Touchscreen driver you modify more or less recently.

I try to use it on a archos 9 tablet PC, with tricks from that link and others:
http://forum.archosfans.com/viewtopic.php?f=50=27303

But no matter how hard I try, the touchscreen doesn't work on my archos 9
PC tablet. I use the nomux option, the good serio1 on raw_device, the
module is present ... But it's impossible to install the eGalaxy
driver, I fall on the "no PS2 mouse present".

I've tried this on Ubuntu 12.04 (with both vanilla & recompiled kernel to
add touchkit.c module), debian 6.06 (kernel 2.6.32) and Bodhi linux (kernel
3.5) and to version of eGalaxy userland driver (the latest, and an old one
3.07)

In fact the touch_kit_detect function failed on the first ps2_command
(when it tried to send the 0xA 1 0xE.

I'm sorry to bother you, but if you got some clue to make the touch screen
work, I would be very gratefull.

Yves.




from what I remember I just fixed some web addresses(no real code 
changes). best thing for you to do is try to contact the 
authors/maintainers of the code so that they can fix their code.


I added some Cc's

cheers,

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Help on Driver touchkit_ps2.c

2013-01-10 Thread Justin P. Mattock

On 01/09/2013 02:07 PM, Yves DUF wrote:

Hello Mister Mattock.

I hope this email will not bother you. It's about the eGalax
Touchscreen driver you modify more or less recently.

I try to use it on a archos 9 tablet PC, with tricks from that link and others:
http://forum.archosfans.com/viewtopic.php?f=50t=27303

But no matter how hard I try, the touchscreen doesn't work on my archos 9
PC tablet. I use the nomux option, the good serio1 on raw_device, the
module is present ... But it's impossible to install the eGalaxy
driver, I fall on the no PS2 mouse present.

I've tried this on Ubuntu 12.04 (with both vanilla  recompiled kernel to
add touchkit.c module), debian 6.06 (kernel 2.6.32) and Bodhi linux (kernel
3.5) and to version of eGalaxy userland driver (the latest, and an old one
3.07)

In fact the touch_kit_detect function failed on the first ps2_command
(when it tried to send the 0xA 1 0xE.

I'm sorry to bother you, but if you got some clue to make the touch screen
work, I would be very gratefull.

Yves.




from what I remember I just fixed some web addresses(no real code 
changes). best thing for you to do is try to contact the 
authors/maintainers of the code so that they can fix their code.


I added some Cc's

cheers,

Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0xaa/0xe0()

2012-11-03 Thread Justin P. Mattock

not sure what/where this is coming from.. seen this a few times already.

[16870.135447] cfg80211:   (525 KHz - 533 KHz @ 4 KHz), (300 
mBi, 2000 mBm)
[16870.135448] cfg80211:   (549 KHz - 560 KHz @ 4 KHz), (300 
mBi, 2000 mBm)
[16870.135449] cfg80211:   (565 KHz - 571 KHz @ 4 KHz), (300 
mBi, 2000 mBm)
[16870.135451] cfg80211:   (5735000 KHz - 5835000 KHz @ 4 KHz), (300 
mBi, 3000 mBm)

[20138.399483] [ cut here ]
[20138.399497] WARNING: at arch/x86/kernel/apic/ipi.c:109 
default_send_IPI_mask_logical+0xaa/0xe0()

[20138.399500] Hardware name: 0914
[20138.399501] empty IPI mask
[20138.399503] Modules linked in: fuse af_packet xt_LOG xt_tcpudp 
xt_limit xt_pkttype xt_conntrack ipt_REJECT iptable_raw iptable_filter 
nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 
nf_conntrack nf_defrag_ipv4 ip_tables x_tables cpufreq_conservative 
cpufreq_userspace cpufreq_powersave arc4 acpi_cpufreq mperf ath9k 
snd_hda_codec_hdmi mac80211 snd_hda_codec_conexant snd_hda_intel 
snd_hda_codec snd_hwdep snd_pcm snd_seq ath9k_common snd_timer ath9k_hw 
snd_seq_device ath cfg80211 snd coretemp ideapad_laptop sparse_keymap 
crc32c_intel pcspkr sr_mod cdrom battery ac soundcore rfkill mei 
iTCO_wdt wmi sg intel_ips iTCO_vendor_support i2c_i801 lpc_ich joydev 
snd_page_alloc mfd_core microcode autofs4 i915 drm_kms_helper thermal 
drm ahci i2c_algo_bit libahci ehci_hcd i2c_core libata video usbcore 
usb_common button processor thermal_sys hwmon scsi_dh_alua scsi_dh_rdac 
scsi_dh_emc scsi_dh_hp_sw scsi_dh
[20138.399579] Pid: 5798, comm: Chrome_CacheThr Not tainted 
3.6.0-00722-gbd0d104 #4

[20138.399581] Call Trace:
[20138.399589]  [] warn_slowpath_common+0x6d/0xa0
[20138.399591]  [] ? default_send_IPI_mask_logical+0xaa/0xe0
[20138.399593]  [] ? default_send_IPI_mask_logical+0xaa/0xe0
[20138.399596]  [] warn_slowpath_fmt+0x2e/0x30
[20138.399598]  [] default_send_IPI_mask_logical+0xaa/0xe0
[20138.399603]  [] native_send_call_func_ipi+0x43/0x70
[20138.399608]  [] smp_call_function_many+0x16d/0x200
[20138.399613]  [] ? do_flush_tlb_all+0x40/0x40
[20138.399615]  [] native_flush_tlb_others+0x26/0x30
[20138.399617]  [] flush_tlb_page+0x55/0xc0
[20138.399620]  [] ptep_set_access_flags+0x51/0x60
[20138.399624]  [] do_wp_page+0x2b7/0x6e0
[20138.399630]  [] ? _raw_spin_lock+0x44/0x50
[20138.399632]  [] handle_pte_fault+0x42a/0x7b0
[20138.399634]  [] ? arch_flush_lazy_mmu_mode+0x3e/0x60
[20138.399637]  [] handle_mm_fault+0x146/0x1c0
[20138.399639]  [] ? spurious_fault+0xaa/0xaa
[20138.399641]  [] do_page_fault+0x116/0x460
[20138.399647]  [] ? copy_to_user+0x46/0x60
[20138.399649]  [] ? spurious_fault+0xaa/0xaa
[20138.399652]  [] error_code+0x5a/0x60
[20138.399656]  [] ? check_tsc_warp+0x88/0x1a4
[20138.399658]  [] ? spurious_fault+0xaa/0xaa
[20138.399660] ---[ end trace cf34c8b2f45a88bc ]--

probably can bisect this.. but wont be for a while(2 weeks or so) since 
I am already bisect something else.


Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0xaa/0xe0()

2012-11-03 Thread Justin P. Mattock

not sure what/where this is coming from.. seen this a few times already.

[16870.135447] cfg80211:   (525 KHz - 533 KHz @ 4 KHz), (300 
mBi, 2000 mBm)
[16870.135448] cfg80211:   (549 KHz - 560 KHz @ 4 KHz), (300 
mBi, 2000 mBm)
[16870.135449] cfg80211:   (565 KHz - 571 KHz @ 4 KHz), (300 
mBi, 2000 mBm)
[16870.135451] cfg80211:   (5735000 KHz - 5835000 KHz @ 4 KHz), (300 
mBi, 3000 mBm)

[20138.399483] [ cut here ]
[20138.399497] WARNING: at arch/x86/kernel/apic/ipi.c:109 
default_send_IPI_mask_logical+0xaa/0xe0()

[20138.399500] Hardware name: 0914
[20138.399501] empty IPI mask
[20138.399503] Modules linked in: fuse af_packet xt_LOG xt_tcpudp 
xt_limit xt_pkttype xt_conntrack ipt_REJECT iptable_raw iptable_filter 
nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 
nf_conntrack nf_defrag_ipv4 ip_tables x_tables cpufreq_conservative 
cpufreq_userspace cpufreq_powersave arc4 acpi_cpufreq mperf ath9k 
snd_hda_codec_hdmi mac80211 snd_hda_codec_conexant snd_hda_intel 
snd_hda_codec snd_hwdep snd_pcm snd_seq ath9k_common snd_timer ath9k_hw 
snd_seq_device ath cfg80211 snd coretemp ideapad_laptop sparse_keymap 
crc32c_intel pcspkr sr_mod cdrom battery ac soundcore rfkill mei 
iTCO_wdt wmi sg intel_ips iTCO_vendor_support i2c_i801 lpc_ich joydev 
snd_page_alloc mfd_core microcode autofs4 i915 drm_kms_helper thermal 
drm ahci i2c_algo_bit libahci ehci_hcd i2c_core libata video usbcore 
usb_common button processor thermal_sys hwmon scsi_dh_alua scsi_dh_rdac 
scsi_dh_emc scsi_dh_hp_sw scsi_dh
[20138.399579] Pid: 5798, comm: Chrome_CacheThr Not tainted 
3.6.0-00722-gbd0d104 #4

[20138.399581] Call Trace:
[20138.399589]  [c023040d] warn_slowpath_common+0x6d/0xa0
[20138.399591]  [c021e95a] ? default_send_IPI_mask_logical+0xaa/0xe0
[20138.399593]  [c021e95a] ? default_send_IPI_mask_logical+0xaa/0xe0
[20138.399596]  [c02304be] warn_slowpath_fmt+0x2e/0x30
[20138.399598]  [c021e95a] default_send_IPI_mask_logical+0xaa/0xe0
[20138.399603]  [c021cac3] native_send_call_func_ipi+0x43/0x70
[20138.399608]  [c028d79d] smp_call_function_many+0x16d/0x200
[20138.399613]  [c022b4d0] ? do_flush_tlb_all+0x40/0x40
[20138.399615]  [c022b596] native_flush_tlb_others+0x26/0x30
[20138.399617]  [c022b835] flush_tlb_page+0x55/0xc0
[20138.399620]  [c022a8f1] ptep_set_access_flags+0x51/0x60
[20138.399624]  [c02fc2b7] do_wp_page+0x2b7/0x6e0
[20138.399630]  [c068db44] ? _raw_spin_lock+0x44/0x50
[20138.399632]  [c02fe09a] handle_pte_fault+0x42a/0x7b0
[20138.399634]  [c0226d6e] ? arch_flush_lazy_mmu_mode+0x3e/0x60
[20138.399637]  [c02fe566] handle_mm_fault+0x146/0x1c0
[20138.399639]  [c0690c80] ? spurious_fault+0xaa/0xaa
[20138.399641]  [c0690d96] do_page_fault+0x116/0x460
[20138.399647]  [c0492356] ? copy_to_user+0x46/0x60
[20138.399649]  [c0690c80] ? spurious_fault+0xaa/0xaa
[20138.399652]  [c068e9ea] error_code+0x5a/0x60
[20138.399656]  [c068] ? check_tsc_warp+0x88/0x1a4
[20138.399658]  [c0690c80] ? spurious_fault+0xaa/0xaa
[20138.399660] ---[ end trace cf34c8b2f45a88bc ]--

probably can bisect this.. but wont be for a while(2 weeks or so) since 
I am already bisect something else.


Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-27 Thread Justin P. Mattock

On 10/27/2012 06:56 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 10:57 PM, Justin P. Mattock
 wrote:


:~/drm> git clone git://people.freedesktop.org/~danvet/drm
Cloning into 'drm'...
remote: Counting objects: 2728390, done.
remote: Compressing objects: 100% (418606/418606), done.
remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
Resolving deltas: 100% (2293727/2293727), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


so now I have to go on a witch hunt for 600MB's in my system.


$ git checkout origin/ilk-wa-pile


cool thanks..(not so good at git over here).


... and you have the right branch checked out. No need for pitchforks
and witch hunts ;-)
-Daniel




alright.. putting the pitchfork away for now.

Justin P. Mattock

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-27 Thread Justin P. Mattock
On 10/27/2012 06:56 AM, Daniel Vetter wrote:
> On Fri, Oct 26, 2012 at 10:57 PM, Justin P. Mattock
>  wrote:
>>
>> :~/drm> git clone git://people.freedesktop.org/~danvet/drm
>> Cloning into 'drm'...
>> remote: Counting objects: 2728390, done.
>> remote: Compressing objects: 100% (418606/418606), done.
>> remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
>> Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
>> Resolving deltas: 100% (2293727/2293727), done.
>> warning: remote HEAD refers to nonexistent ref, unable to checkout.
>>
>>
>> so now I have to go on a witch hunt for 600MB's in my system.
>
> $ git checkout origin/ilk-wa-pile

cool thanks..(not so good at git over here).
>
> ... and you have the right branch checked out. No need for pitchforks
> and witch hunts ;-)
> -Daniel
>


alright.. putting the pitchfork away for now.

Justin P. Mattock



Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-27 Thread Justin P. Mattock

On 10/27/2012 06:56 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 10:57 PM, Justin P. Mattock
justinmatt...@gmail.com wrote:


:~/drm git clone git://people.freedesktop.org/~danvet/drm
Cloning into 'drm'...
remote: Counting objects: 2728390, done.
remote: Compressing objects: 100% (418606/418606), done.
remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
Resolving deltas: 100% (2293727/2293727), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


so now I have to go on a witch hunt for 600MB's in my system.


$ git checkout origin/ilk-wa-pile


cool thanks..(not so good at git over here).


... and you have the right branch checked out. No need for pitchforks
and witch hunts ;-)
-Daniel




alright.. putting the pitchfork away for now.

Justin P. Mattock

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-27 Thread Justin P. Mattock

On 10/27/2012 06:56 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 10:57 PM, Justin P. Mattock
justinmatt...@gmail.com wrote:


:~/drm git clone git://people.freedesktop.org/~danvet/drm
Cloning into 'drm'...
remote: Counting objects: 2728390, done.
remote: Compressing objects: 100% (418606/418606), done.
remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
Resolving deltas: 100% (2293727/2293727), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


so now I have to go on a witch hunt for 600MB's in my system.


$ git checkout origin/ilk-wa-pile


cool thanks..(not so good at git over here).


... and you have the right branch checked out. No need for pitchforks
and witch hunts ;-)
-Daniel




alright.. putting the pitchfork away for now.

Justin P. Mattock

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock

On 10/26/2012 01:05 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
 wrote:


No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more time
consuming if anything. perhaps an *.rpm that I can test to see?


It's not libdrm, the above is just a kernel git tree with a bunch of
ironlake workarounds.
-Daniel




nice..

:~/drm> git clone git://people.freedesktop.org/~danvet/drm
Cloning into 'drm'...
remote: Counting objects: 2728390, done.
remote: Compressing objects: 100% (418606/418606), done.
remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
Resolving deltas: 100% (2293727/2293727), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


so now I have to go on a witch hunt for 600MB's in my system.

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock
On 10/26/2012 01:05 AM, Daniel Vetter wrote:
> On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
>  wrote:
>>>
>>> No worries, it is another ILK hang similar to the ones reported earlier
>>> - it just seems the ring stops advancing. Hopefully it is a missing w/a
>>> from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
>>> -Chris
>>>
>>
>> well if this means building libdrm etc.. then thats not a problem, more time
>> consuming if anything. perhaps an *.rpm that I can test to see?
>
> It's not libdrm, the above is just a kernel git tree with a bunch of
> ironlake workarounds.
> -Daniel
>


nice..

:~/drm> git clone git://people.freedesktop.org/~danvet/drm
Cloning into 'drm'...
remote: Counting objects: 2728390, done.
remote: Compressing objects: 100% (418606/418606), done.
remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
Resolving deltas: 100% (2293727/2293727), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


so now I have to go on a witch hunt for 600MB's in my system.

Justin P. Mattock


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock

On 10/26/2012 01:05 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
 wrote:


No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more time
consuming if anything. perhaps an *.rpm that I can test to see?


It's not libdrm, the above is just a kernel git tree with a bunch of
ironlake workarounds.
-Daniel




hmm.. then in that case maybe I should pull and run that kernel to see 
if the crash occurs, before bisecting(if anything).

will do once I get time to download.

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock
On 10/26/2012 01:05 AM, Daniel Vetter wrote:
> On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
>  wrote:
>>>
>>> No worries, it is another ILK hang similar to the ones reported earlier
>>> - it just seems the ring stops advancing. Hopefully it is a missing w/a
>>> from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
>>> -Chris
>>>
>>
>> well if this means building libdrm etc.. then thats not a problem, more time
>> consuming if anything. perhaps an *.rpm that I can test to see?
>
> It's not libdrm, the above is just a kernel git tree with a bunch of
> ironlake workarounds.
> -Daniel
>


hmm.. then in that case maybe I should pull and run that kernel to see 
if the crash occurs, before bisecting(if anything).
will do once I get time to download.

Justin P. Mattock


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock

On 10/26/2012 01:05 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
justinmatt...@gmail.com wrote:


No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more time
consuming if anything. perhaps an *.rpm that I can test to see?


It's not libdrm, the above is just a kernel git tree with a bunch of
ironlake workarounds.
-Daniel




hmm.. then in that case maybe I should pull and run that kernel to see 
if the crash occurs, before bisecting(if anything).

will do once I get time to download.

Justin P. Mattock
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock

On 10/26/2012 01:05 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
justinmatt...@gmail.com wrote:


No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more time
consuming if anything. perhaps an *.rpm that I can test to see?


It's not libdrm, the above is just a kernel git tree with a bunch of
ironlake workarounds.
-Daniel




hmm.. then in that case maybe I should pull and run that kernel to see 
if the crash occurs, before bisecting(if anything).

will do once I get time to download.

Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-26 Thread Justin P. Mattock

On 10/26/2012 01:05 AM, Daniel Vetter wrote:

On Fri, Oct 26, 2012 at 6:43 AM, Justin P. Mattock
justinmatt...@gmail.com wrote:


No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more time
consuming if anything. perhaps an *.rpm that I can test to see?


It's not libdrm, the above is just a kernel git tree with a bunch of
ironlake workarounds.
-Daniel




nice..

:~/drm git clone git://people.freedesktop.org/~danvet/drm
Cloning into 'drm'...
remote: Counting objects: 2728390, done.
remote: Compressing objects: 100% (418606/418606), done.
remote: Total 2728390 (delta 2293727), reused 2717443 (delta 2282880)
Receiving objects: 100% (2728390/2728390), 637.95 MiB | 599 KiB/s, done.
Resolving deltas: 100% (2293727/2293727), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.


so now I have to go on a witch hunt for 600MB's in my system.

Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-25 Thread Justin P. Mattock

On 10/25/2012 01:47 AM, Chris Wilson wrote:

On Thu, 25 Oct 2012 10:16:08 +0200, Daniel Vetter  wrote:

On Thu, Oct 25, 2012 at 7:22 AM, Justin P. Mattock
 wrote:


here is a link to the file..: intel_error_decode
http://www.filefactory.com/file/22bypyjhs4mx


I haven't figured out how to access this thing. Can you please file a
bug report on bugs.freedesktop.org and attach it there?


Oops.. I filed with the kernel. maybe can just add a cc's
https://bugzilla.kernel.org/show_bug.cgi?id=49571



No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more 
time consuming if anything. perhaps an *.rpm that I can test to see?



Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-25 Thread Justin P. Mattock
On 10/25/2012 01:47 AM, Chris Wilson wrote:
> On Thu, 25 Oct 2012 10:16:08 +0200, Daniel Vetter  wrote:
>> On Thu, Oct 25, 2012 at 7:22 AM, Justin P. Mattock
>>  wrote:
>>>
>>> here is a link to the file..: intel_error_decode
>>> http://www.filefactory.com/file/22bypyjhs4mx
>>
>> I haven't figured out how to access this thing. Can you please file a
>> bug report on bugs.freedesktop.org and attach it there?

Oops.. I filed with the kernel. maybe can just add a cc's
https://bugzilla.kernel.org/show_bug.cgi?id=49571

>
> No worries, it is another ILK hang similar to the ones reported earlier
> - it just seems the ring stops advancing. Hopefully it is a missing w/a
> from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
> -Chris
>

well if this means building libdrm etc.. then thats not a problem, more 
time consuming if anything. perhaps an *.rpm that I can test to see?


Justin P. Mattock


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-25 Thread Justin P. Mattock



On Tue, Oct 23, 2012 at 10:06:52AM -0700, Justin P. Mattock wrote:
  This is happening both with MAINLINE and NEXT.
 
  basically system is running fine, then under load system becomes
  really sluggish and unresponsive. I was able to get dmesg of the
  error..:
 
  [ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is
  not supported by the AP
  [ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
  [ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82
  (capab=0x411 status=0 aid=5)
  [ 7745.011529] wlan0: associated
  [ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
  elapsed... GPU hung
  [ 8120.812642] [drm] capturing error event; look for more
  information in /debug/dri/0/i915_error_state
  [ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
  elapsed... GPU hung
  [ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast,
  declaring wedged!
  [ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.
 
  full log is here: http://fpaste.org/7xH8/
 
  as for good kernels from what I remember 3.6.0-rc1. I can try a
  bisect on this once I get the time. or if anybody has a patch I can
  test.

Can you please rehand your machine, and then grab the i915_error_state
from debugfs? That contains the gpu hang dump we need to diagnose things.

And the bisect would obviously be awesome.

Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


took a bit to trigger, but finally fired off.

here is a link to the file..: intel_error_decode
http://www.filefactory.com/file/22bypyjhs4mx

the file was to large to send to the list.. let me know if you need more 
info with this.
also if anybody has any ideas to trigger this would be appreciated so 
the bisect can be more precise. right now dont even think its worth it, 
due to not being able to trigger the crash causing the bisect to go 
astray and pointing to a wrong commit(which has happened in the past) 
but then again you never know.


Justin P. Mattock
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-25 Thread Justin P. Mattock

On 10/25/2012 01:47 AM, Chris Wilson wrote:

On Thu, 25 Oct 2012 10:16:08 +0200, Daniel Vetter dan...@ffwll.ch wrote:

On Thu, Oct 25, 2012 at 7:22 AM, Justin P. Mattock
justinmatt...@gmail.com wrote:


here is a link to the file..: intel_error_decode
http://www.filefactory.com/file/22bypyjhs4mx


I haven't figured out how to access this thing. Can you please file a
bug report on bugs.freedesktop.org and attach it there?


Oops.. I filed with the kernel. maybe can just add a cc's
https://bugzilla.kernel.org/show_bug.cgi?id=49571



No worries, it is another ILK hang similar to the ones reported earlier
- it just seems the ring stops advancing. Hopefully it is a missing w/a
from http://cgit.freedesktop.org/~danvet/drm/log/?h=ilk-wa-pile
-Chris



well if this means building libdrm etc.. then thats not a problem, more 
time consuming if anything. perhaps an *.rpm that I can test to see?



Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-24 Thread Justin P. Mattock



On Tue, Oct 23, 2012 at 10:06:52AM -0700, Justin P. Mattock wrote:
 > This is happening both with MAINLINE and NEXT.
 >
 > basically system is running fine, then under load system becomes
 > really sluggish and unresponsive. I was able to get dmesg of the
 > error..:
 >
 > [ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is
 > not supported by the AP
 > [ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
 > [ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82
 > (capab=0x411 status=0 aid=5)
 > [ 7745.011529] wlan0: associated
 > [ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
 > elapsed... GPU hung
 > [ 8120.812642] [drm] capturing error event; look for more
 > information in /debug/dri/0/i915_error_state
 > [ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
 > elapsed... GPU hung
 > [ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast,
 > declaring wedged!
 > [ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.
 >
 > full log is here: http://fpaste.org/7xH8/
 >
 > as for good kernels from what I remember 3.6.0-rc1. I can try a
 > bisect on this once I get the time. or if anybody has a patch I can
 > test.

Can you please rehand your machine, and then grab the i915_error_state
from debugfs? That contains the gpu hang dump we need to diagnose things.

And the bisect would obviously be awesome.

Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


took a bit to trigger, but finally fired off.

here is a link to the file..: intel_error_decode
http://www.filefactory.com/file/22bypyjhs4mx

the file was to large to send to the list.. let me know if you need more 
info with this.
also if anybody has any ideas to trigger this would be appreciated so 
the bisect can be more precise. right now dont even think its worth it, 
due to not being able to trigger the crash causing the bisect to go 
astray and pointing to a wrong commit(which has happened in the past) 
but then again you never know.


Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-24 Thread Justin P. Mattock
>
>
> On Tue, Oct 23, 2012 at 10:06:52AM -0700, Justin P. Mattock wrote:
>  > This is happening both with MAINLINE and NEXT.
>  >
>  > basically system is running fine, then under load system becomes
>  > really sluggish and unresponsive. I was able to get dmesg of the
>  > error..:
>  >
>  > [ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is
>  > not supported by the AP
>  > [ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
>  > [ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82
>  > (capab=0x411 status=0 aid=5)
>  > [ 7745.011529] wlan0: associated
>  > [ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
>  > elapsed... GPU hung
>  > [ 8120.812642] [drm] capturing error event; look for more
>  > information in /debug/dri/0/i915_error_state
>  > [ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
>  > elapsed... GPU hung
>  > [ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast,
>  > declaring wedged!
>  > [ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.
>  >
>  > full log is here: http://fpaste.org/7xH8/
>  >
>  > as for good kernels from what I remember 3.6.0-rc1. I can try a
>  > bisect on this once I get the time. or if anybody has a patch I can
>  > test.
>
> Can you please rehand your machine, and then grab the i915_error_state
> from debugfs? That contains the gpu hang dump we need to diagnose things.
>
> And the bisect would obviously be awesome.
>
> Thanks, Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch

took a bit to trigger, but finally fired off.

here is a link to the file..: intel_error_decode
http://www.filefactory.com/file/22bypyjhs4mx

the file was to large to send to the list.. let me know if you need more 
info with this.
also if anybody has any ideas to trigger this would be appreciated so 
the bisect can be more precise. right now dont even think its worth it, 
due to not being able to trigger the crash causing the bisect to go 
astray and pointing to a wrong commit(which has happened in the past) 
but then again you never know.

Justin P. Mattock


Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-24 Thread Justin P. Mattock



On Tue, Oct 23, 2012 at 10:06:52AM -0700, Justin P. Mattock wrote:
  This is happening both with MAINLINE and NEXT.
 
  basically system is running fine, then under load system becomes
  really sluggish and unresponsive. I was able to get dmesg of the
  error..:
 
  [ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is
  not supported by the AP
  [ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
  [ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82
  (capab=0x411 status=0 aid=5)
  [ 7745.011529] wlan0: associated
  [ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
  elapsed... GPU hung
  [ 8120.812642] [drm] capturing error event; look for more
  information in /debug/dri/0/i915_error_state
  [ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer
  elapsed... GPU hung
  [ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast,
  declaring wedged!
  [ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.
 
  full log is here: http://fpaste.org/7xH8/
 
  as for good kernels from what I remember 3.6.0-rc1. I can try a
  bisect on this once I get the time. or if anybody has a patch I can
  test.

Can you please rehand your machine, and then grab the i915_error_state
from debugfs? That contains the gpu hang dump we need to diagnose things.

And the bisect would obviously be awesome.

Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


took a bit to trigger, but finally fired off.

here is a link to the file..: intel_error_decode
http://www.filefactory.com/file/22bypyjhs4mx

the file was to large to send to the list.. let me know if you need more 
info with this.
also if anybody has any ideas to trigger this would be appreciated so 
the bisect can be more precise. right now dont even think its worth it, 
due to not being able to trigger the crash causing the bisect to go 
astray and pointing to a wrong commit(which has happened in the past) 
but then again you never know.


Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-23 Thread Justin P. Mattock

This is happening both with MAINLINE and NEXT.

basically system is running fine, then under load system becomes really 
sluggish and unresponsive. I was able to get dmesg of the error..:


[ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is not 
supported by the AP

[ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
[ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82 (capab=0x411 
status=0 aid=5)

[ 7745.011529] wlan0: associated
[ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8120.812642] [drm] capturing error event; look for more information in 
/debug/dri/0/i915_error_state
[ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring 
wedged!

[ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.

full log is here: http://fpaste.org/7xH8/

as for good kernels from what I remember 3.6.0-rc1. I can try a bisect 
on this once I get the time. or if anybody has a patch I can test.


Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-23 Thread Justin P. Mattock
This is happening both with MAINLINE and NEXT.

basically system is running fine, then under load system becomes really 
sluggish and unresponsive. I was able to get dmesg of the error..:

[ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is not 
supported by the AP
[ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
[ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82 (capab=0x411 
status=0 aid=5)
[ 7745.011529] wlan0: associated
[ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8120.812642] [drm] capturing error event; look for more information in 
/debug/dri/0/i915_error_state
[ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring 
wedged!
[ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.

full log is here: http://fpaste.org/7xH8/

as for good kernels from what I remember 3.6.0-rc1. I can try a bisect 
on this once I get the time. or if anybody has a patch I can test.

Justin P. Mattock


[PATCH v2]usb: "ehci-w90x900" Fix a typo and add some whitespace.

2012-10-23 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes a typo in usb: ehci-w90x900.c as well as adding 
whitespace to the comment.
NOTE: this is a resend due to a typo creating a new typo as well as revision to 
the original.

 drivers/usb/host/ehci-w90x900.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c
index ec59808..fdd7c48 100644
--- a/drivers/usb/host/ehci-w90x900.c
+++ b/drivers/usb/host/ehci-w90x900.c
@@ -13,7 +13,7 @@
 
 #include 
 
-/*ebable phy0 and phy1 for w90p910*/
+/* enable phy0 and phy1 for w90p910 */
 #defineENPHY   (0x01<<8)
 #define PHY0_CTR   (0xA4)
 #define PHY1_CTR   (0xA8)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux Kernel

2012-10-23 Thread Justin P. Mattock

On 10/23/2012 04:32 AM, Dwiastika Peppy wrote:

Hai Justin. My name is Peppy
I wanna ask you about installing Linux Kernel 2.6.27
I'm a newbie in Linux user
I got problem when installed Linux Kernel and this is the problem :
*scripts/unifdef.c:209: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
make[2]: *** [scripts/unifdef] Error 1
make[1]: *** [__headers] Error 2
make: *** [vmlinux] Error 2*

what should i do to solve this problem?
maybe you can help me..
Thank you before Justin

Best Regards,


Peppy



from what I remember libc made the change then everything else had to be 
fixed. this commit is the commit which fixes it:


http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7

but after thinking this over we probably should have done a
get_line || getline();
so old and new can always be working for people using older kernels and 
in the event of bisecting. but then again we might have more of a 
bloated kernel if we did this approach to _every_ function definition 
rename in the kernel.


anyway hope this helps with your build experience of the kernel.

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2]staging: "winbond" Fix typos.

2012-10-23 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes a typo in staging: "winbond"

 drivers/staging/winbond/mds.c   |2 +-
 drivers/staging/winbond/wbhal.h |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index 1b8b8ac..43990e8 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -315,7 +315,7 @@ static void Mds_HeaderCopy(struct wbsoft_priv *adapter, 
struct wb35_descriptor *
 
pT00->T00_tx_packet_id = pDes->Descriptor_ID; /* Set packet ID */
pT00->T00_header_length = 24; /* Set header length */
-   pT01->T01_retry_abort_ebable = 1; /* 921013 931130.5.h */
+   pT01->T01_retry_abort_enable = 1; /* 921013 931130.5.h */
 
/* Key ID setup */
pT01->T01_wep_id = 0;
diff --git a/drivers/staging/winbond/wbhal.h b/drivers/staging/winbond/wbhal.h
index 39e84a0..289ee54 100644
--- a/drivers/staging/winbond/wbhal.h
+++ b/drivers/staging/winbond/wbhal.h
@@ -226,11 +226,11 @@ struct T01_descriptor {
u32 T01_add_challenge_text:1;
u32 T01_inhibit_crc:1;
u32 T01_loop_back_wep_mode:1;
-   u32 T01_retry_abort_ebable:1;
+   u32 T01_retry_abort_enable:1;
};
 #else
struct {
-   u32 T01_retry_abort_ebable:1;
+   u32 T01_retry_abort_enable:1;
u32 T01_loop_back_wep_mode:1;
u32 T01_inhibit_crc:1;
u32 T01_add_challenge_text:1;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/2]staging: "ehci-w90x900" Fix typos.

2012-10-23 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes a typo in staging: "ehci-w90x900"

 drivers/usb/host/ehci-w90x900.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c
index ec59808..a9c28a0 100644
--- a/drivers/usb/host/ehci-w90x900.c
+++ b/drivers/usb/host/ehci-w90x900.c
@@ -13,7 +13,7 @@
 
 #include 
 
-/*ebable phy0 and phy1 for w90p910*/
+/*enable phy0 and phy1 for w90p910*/
 #defineENPHY   (0x01<<8)
 #define PHY0_CTR   (0xA4)
 #define PHY1_CTR   (0xA8)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-23 Thread Justin P. Mattock

This is happening both with MAINLINE and NEXT.

basically system is running fine, then under load system becomes really 
sluggish and unresponsive. I was able to get dmesg of the error..:


[ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is not 
supported by the AP

[ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
[ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82 (capab=0x411 
status=0 aid=5)

[ 7745.011529] wlan0: associated
[ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8120.812642] [drm] capturing error event; look for more information in 
/debug/dri/0/i915_error_state
[ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring 
wedged!

[ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.

full log is here: http://fpaste.org/7xH8/

as for good kernels from what I remember 3.6.0-rc1. I can try a bisect 
on this once I get the time. or if anybody has a patch I can test.


Justin P. Mattock
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH 1/2]staging: ehci-w90x900 Fix typos.

2012-10-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes a typo in staging: ehci-w90x900

 drivers/usb/host/ehci-w90x900.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c
index ec59808..a9c28a0 100644
--- a/drivers/usb/host/ehci-w90x900.c
+++ b/drivers/usb/host/ehci-w90x900.c
@@ -13,7 +13,7 @@
 
 #include linux/platform_device.h
 
-/*ebable phy0 and phy1 for w90p910*/
+/*enable phy0 and phy1 for w90p910*/
 #defineENPHY   (0x018)
 #define PHY0_CTR   (0xA4)
 #define PHY1_CTR   (0xA8)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2]staging: winbond Fix typos.

2012-10-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes a typo in staging: winbond

 drivers/staging/winbond/mds.c   |2 +-
 drivers/staging/winbond/wbhal.h |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index 1b8b8ac..43990e8 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -315,7 +315,7 @@ static void Mds_HeaderCopy(struct wbsoft_priv *adapter, 
struct wb35_descriptor *
 
pT00-T00_tx_packet_id = pDes-Descriptor_ID; /* Set packet ID */
pT00-T00_header_length = 24; /* Set header length */
-   pT01-T01_retry_abort_ebable = 1; /* 921013 931130.5.h */
+   pT01-T01_retry_abort_enable = 1; /* 921013 931130.5.h */
 
/* Key ID setup */
pT01-T01_wep_id = 0;
diff --git a/drivers/staging/winbond/wbhal.h b/drivers/staging/winbond/wbhal.h
index 39e84a0..289ee54 100644
--- a/drivers/staging/winbond/wbhal.h
+++ b/drivers/staging/winbond/wbhal.h
@@ -226,11 +226,11 @@ struct T01_descriptor {
u32 T01_add_challenge_text:1;
u32 T01_inhibit_crc:1;
u32 T01_loop_back_wep_mode:1;
-   u32 T01_retry_abort_ebable:1;
+   u32 T01_retry_abort_enable:1;
};
 #else
struct {
-   u32 T01_retry_abort_ebable:1;
+   u32 T01_retry_abort_enable:1;
u32 T01_loop_back_wep_mode:1;
u32 T01_inhibit_crc:1;
u32 T01_add_challenge_text:1;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux Kernel

2012-10-23 Thread Justin P. Mattock

On 10/23/2012 04:32 AM, Dwiastika Peppy wrote:

Hai Justin. My name is Peppy
I wanna ask you about installing Linux Kernel 2.6.27
I'm a newbie in Linux user
I got problem when installed Linux Kernel and this is the problem :
*scripts/unifdef.c:209: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
make[2]: *** [scripts/unifdef] Error 1
make[1]: *** [__headers] Error 2
make: *** [vmlinux] Error 2*

what should i do to solve this problem?
maybe you can help me..
Thank you before Justin

Best Regards,


Peppy



from what I remember libc made the change then everything else had to be 
fixed. this commit is the commit which fixes it:


http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7

but after thinking this over we probably should have done a
get_line || getline();
so old and new can always be working for people using older kernels and 
in the event of bisecting. but then again we might have more of a 
bloated kernel if we did this approach to _every_ function definition 
rename in the kernel.


anyway hope this helps with your build experience of the kernel.

Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2]usb: ehci-w90x900 Fix a typo and add some whitespace.

2012-10-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes a typo in usb: ehci-w90x900.c as well as adding 
whitespace to the comment.
NOTE: this is a resend due to a typo creating a new typo as well as revision to 
the original.

 drivers/usb/host/ehci-w90x900.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c
index ec59808..fdd7c48 100644
--- a/drivers/usb/host/ehci-w90x900.c
+++ b/drivers/usb/host/ehci-w90x900.c
@@ -13,7 +13,7 @@
 
 #include linux/platform_device.h
 
-/*ebable phy0 and phy1 for w90p910*/
+/* enable phy0 and phy1 for w90p910 */
 #defineENPHY   (0x018)
 #define PHY0_CTR   (0xA4)
 #define PHY1_CTR   (0xA8)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-23 Thread Justin P. Mattock

This is happening both with MAINLINE and NEXT.

basically system is running fine, then under load system becomes really 
sluggish and unresponsive. I was able to get dmesg of the error..:


[ 7745.007008] ath9k :05:00.0 wlan0: disabling VHT as WMM/QoS is not 
supported by the AP

[ 7745.007736] wlan0: associate with 68:7f:74:b8:05:82 (try 1/3)
[ 7745.011456] wlan0: RX AssocResp from 68:7f:74:b8:05:82 (capab=0x411 
status=0 aid=5)

[ 7745.011529] wlan0: associated
[ 8120.812482] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8120.812642] [drm] capturing error event; look for more information in 
/debug/dri/0/i915_error_state
[ 8122.328682] [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer 
elapsed... GPU hung
[ 8122.328845] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring 
wedged!

[ 8122.328850] [drm:i915_reset] *ERROR* Failed to reset chip.

full log is here: http://fpaste.org/7xH8/

as for good kernels from what I remember 3.6.0-rc1. I can try a bisect 
on this once I get the time. or if anybody has a patch I can test.


Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/2]staging: ehci-w90x900 Fix typos.

2012-10-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes a typo in staging: ehci-w90x900

 drivers/usb/host/ehci-w90x900.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c
index ec59808..a9c28a0 100644
--- a/drivers/usb/host/ehci-w90x900.c
+++ b/drivers/usb/host/ehci-w90x900.c
@@ -13,7 +13,7 @@
 
 #include linux/platform_device.h
 
-/*ebable phy0 and phy1 for w90p910*/
+/*enable phy0 and phy1 for w90p910*/
 #defineENPHY   (0x018)
 #define PHY0_CTR   (0xA4)
 #define PHY1_CTR   (0xA8)
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 2/2]staging: winbond Fix typos.

2012-10-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes a typo in staging: winbond

 drivers/staging/winbond/mds.c   |2 +-
 drivers/staging/winbond/wbhal.h |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index 1b8b8ac..43990e8 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -315,7 +315,7 @@ static void Mds_HeaderCopy(struct wbsoft_priv *adapter, 
struct wb35_descriptor *
 
pT00-T00_tx_packet_id = pDes-Descriptor_ID; /* Set packet ID */
pT00-T00_header_length = 24; /* Set header length */
-   pT01-T01_retry_abort_ebable = 1; /* 921013 931130.5.h */
+   pT01-T01_retry_abort_enable = 1; /* 921013 931130.5.h */
 
/* Key ID setup */
pT01-T01_wep_id = 0;
diff --git a/drivers/staging/winbond/wbhal.h b/drivers/staging/winbond/wbhal.h
index 39e84a0..289ee54 100644
--- a/drivers/staging/winbond/wbhal.h
+++ b/drivers/staging/winbond/wbhal.h
@@ -226,11 +226,11 @@ struct T01_descriptor {
u32 T01_add_challenge_text:1;
u32 T01_inhibit_crc:1;
u32 T01_loop_back_wep_mode:1;
-   u32 T01_retry_abort_ebable:1;
+   u32 T01_retry_abort_enable:1;
};
 #else
struct {
-   u32 T01_retry_abort_ebable:1;
+   u32 T01_retry_abort_enable:1;
u32 T01_loop_back_wep_mode:1;
u32 T01_inhibit_crc:1;
u32 T01_add_challenge_text:1;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH]staging "xgifb" Fix typos.

2012-10-02 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The patch below fixes typos while reading through staging "xgifb".

 drivers/staging/xgifb/TODO |2 +-
 drivers/staging/xgifb/vb_setmode.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/xgifb/TODO b/drivers/staging/xgifb/TODO
index 13d9bc2..392b29d 100644
--- a/drivers/staging/xgifb/TODO
+++ b/drivers/staging/xgifb/TODO
@@ -1,4 +1,4 @@
-This drivers still need a lot of work. I can list all cleanups to do but it's
+This drivers still needs a lot of work. I can list all cleanups to do but it's
 going to be long. So, I'm writing "cleanups" and not the list.
 
 Arnaud
diff --git a/drivers/staging/xgifb/vb_setmode.c 
b/drivers/staging/xgifb/vb_setmode.c
index e95a165..c8561a0 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -2501,7 +2501,7 @@ static void XGI_GetVBInfo(unsigned short ModeNo, unsigned 
short ModeIdIndex,
} else {
temp = 0x017C;
}
-   } else { /* 3nd party chip */
+   } else { /* 3rd party chip */
temp = SetCRT2ToLCD;
}
 
@@ -4390,7 +4390,7 @@ static void XGI_SetLCDRegs(unsigned short ModeNo, 
unsigned short ModeIdIndex,
xgifb_reg_and_or(pVBInfo->Part2Port, 0x17, 0xFB, 0x00);
xgifb_reg_and_or(pVBInfo->Part2Port, 0x18, 0xDF, 0x00);
 
-   /* Customized LCDB Des no add */
+   /* Customized LCDB Does not add */
tempbx = 5;
LCDBDesPtr = XGI_GetLcdPtr(tempbx, ModeNo, ModeIdIndex,
   RefreshRateTableIndex, pVBInfo);
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]staging xgifb Fix typos.

2012-10-02 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The patch below fixes typos while reading through staging xgifb.

 drivers/staging/xgifb/TODO |2 +-
 drivers/staging/xgifb/vb_setmode.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/xgifb/TODO b/drivers/staging/xgifb/TODO
index 13d9bc2..392b29d 100644
--- a/drivers/staging/xgifb/TODO
+++ b/drivers/staging/xgifb/TODO
@@ -1,4 +1,4 @@
-This drivers still need a lot of work. I can list all cleanups to do but it's
+This drivers still needs a lot of work. I can list all cleanups to do but it's
 going to be long. So, I'm writing cleanups and not the list.
 
 Arnaud
diff --git a/drivers/staging/xgifb/vb_setmode.c 
b/drivers/staging/xgifb/vb_setmode.c
index e95a165..c8561a0 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -2501,7 +2501,7 @@ static void XGI_GetVBInfo(unsigned short ModeNo, unsigned 
short ModeIdIndex,
} else {
temp = 0x017C;
}
-   } else { /* 3nd party chip */
+   } else { /* 3rd party chip */
temp = SetCRT2ToLCD;
}
 
@@ -4390,7 +4390,7 @@ static void XGI_SetLCDRegs(unsigned short ModeNo, 
unsigned short ModeIdIndex,
xgifb_reg_and_or(pVBInfo-Part2Port, 0x17, 0xFB, 0x00);
xgifb_reg_and_or(pVBInfo-Part2Port, 0x18, 0xDF, 0x00);
 
-   /* Customized LCDB Des no add */
+   /* Customized LCDB Does not add */
tempbx = 5;
LCDBDesPtr = XGI_GetLcdPtr(tempbx, ModeNo, ModeIdIndex,
   RefreshRateTableIndex, pVBInfo);
-- 
1.7.9.5

___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH]staging xgifb Fix typos.

2012-10-02 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The patch below fixes typos while reading through staging xgifb.

 drivers/staging/xgifb/TODO |2 +-
 drivers/staging/xgifb/vb_setmode.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/xgifb/TODO b/drivers/staging/xgifb/TODO
index 13d9bc2..392b29d 100644
--- a/drivers/staging/xgifb/TODO
+++ b/drivers/staging/xgifb/TODO
@@ -1,4 +1,4 @@
-This drivers still need a lot of work. I can list all cleanups to do but it's
+This drivers still needs a lot of work. I can list all cleanups to do but it's
 going to be long. So, I'm writing cleanups and not the list.
 
 Arnaud
diff --git a/drivers/staging/xgifb/vb_setmode.c 
b/drivers/staging/xgifb/vb_setmode.c
index e95a165..c8561a0 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -2501,7 +2501,7 @@ static void XGI_GetVBInfo(unsigned short ModeNo, unsigned 
short ModeIdIndex,
} else {
temp = 0x017C;
}
-   } else { /* 3nd party chip */
+   } else { /* 3rd party chip */
temp = SetCRT2ToLCD;
}
 
@@ -4390,7 +4390,7 @@ static void XGI_SetLCDRegs(unsigned short ModeNo, 
unsigned short ModeIdIndex,
xgifb_reg_and_or(pVBInfo-Part2Port, 0x17, 0xFB, 0x00);
xgifb_reg_and_or(pVBInfo-Part2Port, 0x18, 0xDF, 0x00);
 
-   /* Customized LCDB Des no add */
+   /* Customized LCDB Does not add */
tempbx = 5;
LCDBDesPtr = XGI_GetLcdPtr(tempbx, ModeNo, ModeIdIndex,
   RefreshRateTableIndex, pVBInfo);
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]staging "wlan-ng" Fix typos.

2012-09-24 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging "wlan-ng"

 drivers/staging/wlan-ng/cfg80211.c |4 ++--
 drivers/staging/wlan-ng/p80211netdev.c |2 +-
 drivers/staging/wlan-ng/p80211types.h  |2 +-
 drivers/staging/wlan-ng/prism2fw.c |2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c 
b/drivers/staging/wlan-ng/cfg80211.c
index 0970127..e1833bd 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -1,7 +1,7 @@
 /* cfg80211 Interface for prism2_usb module */
 
 
-/* Prism2 channell/frequency/bitrate declarations */
+/* Prism2 channel/frequency/bitrate declarations */
 static const struct ieee80211_channel prism2_channels[] = {
{ .center_freq = 2412 },
{ .center_freq = 2417 },
@@ -499,7 +499,7 @@ int prism2_connect(struct wiphy *wiphy, struct net_device 
*dev,
goto exit;
}
 
-   /* Set the authorisation */
+   /* Set the authorization */
if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) ||
((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep))
msg_join.authtype.data = P80211ENUM_authalg_opensystem;
diff --git a/drivers/staging/wlan-ng/p80211netdev.c 
b/drivers/staging/wlan-ng/p80211netdev.c
index 8afb193..a5e2d41 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -461,7 +461,7 @@ failed:
 /*
 * p80211knetdev_set_multicast_list
 *
-* Called from higher lavers whenever there's a need to set/clear
+* Called from higher layers whenever there's a need to set/clear
 * promiscuous mode or rewrite the multicast list.
 *
 * Arguments:
diff --git a/drivers/staging/wlan-ng/p80211types.h 
b/drivers/staging/wlan-ng/p80211types.h
index f043090..8cb4fc6 100644
--- a/drivers/staging/wlan-ng/p80211types.h
+++ b/drivers/staging/wlan-ng/p80211types.h
@@ -197,7 +197,7 @@
P80211DID_LSB_ACCESS)
 
 /**/
-/* The following structure types are used for the represenation */
+/* The following structure types are used for the representation */
 /*  of ENUMint type metadata. */
 
 typedef struct p80211enumpair {
diff --git a/drivers/staging/wlan-ng/prism2fw.c 
b/drivers/staging/wlan-ng/prism2fw.c
index e22784e..0dfd2a4 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -806,7 +806,7 @@ static int read_cardpda(struct pda *pda, wlandevice_t 
*wlandev)
 *
 * Note also that the start address record, originally an S7 record in
 * the srec file, is expected in the fw file to be like a data record but
-* with a certain address to make it identiable.
+* with a certain address to make it identifiable.
 *
 * Here's the SREC format that the fw should have come from:
 * S[37]nnddd...dddcc
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]staging wlan-ng Fix typos.

2012-09-24 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging wlan-ng

 drivers/staging/wlan-ng/cfg80211.c |4 ++--
 drivers/staging/wlan-ng/p80211netdev.c |2 +-
 drivers/staging/wlan-ng/p80211types.h  |2 +-
 drivers/staging/wlan-ng/prism2fw.c |2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c 
b/drivers/staging/wlan-ng/cfg80211.c
index 0970127..e1833bd 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -1,7 +1,7 @@
 /* cfg80211 Interface for prism2_usb module */
 
 
-/* Prism2 channell/frequency/bitrate declarations */
+/* Prism2 channel/frequency/bitrate declarations */
 static const struct ieee80211_channel prism2_channels[] = {
{ .center_freq = 2412 },
{ .center_freq = 2417 },
@@ -499,7 +499,7 @@ int prism2_connect(struct wiphy *wiphy, struct net_device 
*dev,
goto exit;
}
 
-   /* Set the authorisation */
+   /* Set the authorization */
if ((sme-auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) ||
((sme-auth_type == NL80211_AUTHTYPE_AUTOMATIC)  !is_wep))
msg_join.authtype.data = P80211ENUM_authalg_opensystem;
diff --git a/drivers/staging/wlan-ng/p80211netdev.c 
b/drivers/staging/wlan-ng/p80211netdev.c
index 8afb193..a5e2d41 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -461,7 +461,7 @@ failed:
 /*
 * p80211knetdev_set_multicast_list
 *
-* Called from higher lavers whenever there's a need to set/clear
+* Called from higher layers whenever there's a need to set/clear
 * promiscuous mode or rewrite the multicast list.
 *
 * Arguments:
diff --git a/drivers/staging/wlan-ng/p80211types.h 
b/drivers/staging/wlan-ng/p80211types.h
index f043090..8cb4fc6 100644
--- a/drivers/staging/wlan-ng/p80211types.h
+++ b/drivers/staging/wlan-ng/p80211types.h
@@ -197,7 +197,7 @@
P80211DID_LSB_ACCESS)
 
 /**/
-/* The following structure types are used for the represenation */
+/* The following structure types are used for the representation */
 /*  of ENUMint type metadata. */
 
 typedef struct p80211enumpair {
diff --git a/drivers/staging/wlan-ng/prism2fw.c 
b/drivers/staging/wlan-ng/prism2fw.c
index e22784e..0dfd2a4 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -806,7 +806,7 @@ static int read_cardpda(struct pda *pda, wlandevice_t 
*wlandev)
 *
 * Note also that the start address record, originally an S7 record in
 * the srec file, is expected in the fw file to be like a data record but
-* with a certain address to make it identiable.
+* with a certain address to make it identifiable.
 *
 * Here's the SREC format that the fw should have come from:
 * S[37]nnddd...dddcc
-- 
1.7.9.5

___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH]staging wlan-ng Fix typos.

2012-09-24 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging wlan-ng

 drivers/staging/wlan-ng/cfg80211.c |4 ++--
 drivers/staging/wlan-ng/p80211netdev.c |2 +-
 drivers/staging/wlan-ng/p80211types.h  |2 +-
 drivers/staging/wlan-ng/prism2fw.c |2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c 
b/drivers/staging/wlan-ng/cfg80211.c
index 0970127..e1833bd 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -1,7 +1,7 @@
 /* cfg80211 Interface for prism2_usb module */
 
 
-/* Prism2 channell/frequency/bitrate declarations */
+/* Prism2 channel/frequency/bitrate declarations */
 static const struct ieee80211_channel prism2_channels[] = {
{ .center_freq = 2412 },
{ .center_freq = 2417 },
@@ -499,7 +499,7 @@ int prism2_connect(struct wiphy *wiphy, struct net_device 
*dev,
goto exit;
}
 
-   /* Set the authorisation */
+   /* Set the authorization */
if ((sme-auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) ||
((sme-auth_type == NL80211_AUTHTYPE_AUTOMATIC)  !is_wep))
msg_join.authtype.data = P80211ENUM_authalg_opensystem;
diff --git a/drivers/staging/wlan-ng/p80211netdev.c 
b/drivers/staging/wlan-ng/p80211netdev.c
index 8afb193..a5e2d41 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -461,7 +461,7 @@ failed:
 /*
 * p80211knetdev_set_multicast_list
 *
-* Called from higher lavers whenever there's a need to set/clear
+* Called from higher layers whenever there's a need to set/clear
 * promiscuous mode or rewrite the multicast list.
 *
 * Arguments:
diff --git a/drivers/staging/wlan-ng/p80211types.h 
b/drivers/staging/wlan-ng/p80211types.h
index f043090..8cb4fc6 100644
--- a/drivers/staging/wlan-ng/p80211types.h
+++ b/drivers/staging/wlan-ng/p80211types.h
@@ -197,7 +197,7 @@
P80211DID_LSB_ACCESS)
 
 /**/
-/* The following structure types are used for the represenation */
+/* The following structure types are used for the representation */
 /*  of ENUMint type metadata. */
 
 typedef struct p80211enumpair {
diff --git a/drivers/staging/wlan-ng/prism2fw.c 
b/drivers/staging/wlan-ng/prism2fw.c
index e22784e..0dfd2a4 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -806,7 +806,7 @@ static int read_cardpda(struct pda *pda, wlandevice_t 
*wlandev)
 *
 * Note also that the start address record, originally an S7 record in
 * the srec file, is expected in the fw file to be like a data record but
-* with a certain address to make it identiable.
+* with a certain address to make it identifiable.
 *
 * Here's the SREC format that the fw should have come from:
 * S[37]nnddd...dddcc
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]staging: "wlags49_h25" Fix typos.

2012-09-17 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging "wlags49_h25"

 drivers/staging/wlags49_h25/Kconfig |2 +-
 drivers/staging/wlags49_h25/TODO|8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlags49_h25/Kconfig 
b/drivers/staging/wlags49_h25/Kconfig
index bf5664a..dd8dc4d 100644
--- a/drivers/staging/wlags49_h25/Kconfig
+++ b/drivers/staging/wlags49_h25/Kconfig
@@ -8,4 +8,4 @@ config WLAGS49_H25
Driver for wireless cards using Agere's HERMES II.5 chipset
which are identified with Manufacture ID: 0156,0004
The software is a modified version of wl_lkm_722_abg.tar.gz
-   from the Agere Systems website, addapted for Ubuntu 9.04.
+   from the Agere Systems website, adapted for Ubuntu 9.04.
diff --git a/drivers/staging/wlags49_h25/TODO b/drivers/staging/wlags49_h25/TODO
index 94032b6..ec71ad3 100644
--- a/drivers/staging/wlags49_h25/TODO
+++ b/drivers/staging/wlags49_h25/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
  are build in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ some the critical sections take to long
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman  and Cc: Henk de Groot 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]staging: wlags49_h25 Fix typos.

2012-09-17 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging wlags49_h25

 drivers/staging/wlags49_h25/Kconfig |2 +-
 drivers/staging/wlags49_h25/TODO|8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlags49_h25/Kconfig 
b/drivers/staging/wlags49_h25/Kconfig
index bf5664a..dd8dc4d 100644
--- a/drivers/staging/wlags49_h25/Kconfig
+++ b/drivers/staging/wlags49_h25/Kconfig
@@ -8,4 +8,4 @@ config WLAGS49_H25
Driver for wireless cards using Agere's HERMES II.5 chipset
which are identified with Manufacture ID: 0156,0004
The software is a modified version of wl_lkm_722_abg.tar.gz
-   from the Agere Systems website, addapted for Ubuntu 9.04.
+   from the Agere Systems website, adapted for Ubuntu 9.04.
diff --git a/drivers/staging/wlags49_h25/TODO b/drivers/staging/wlags49_h25/TODO
index 94032b6..ec71ad3 100644
--- a/drivers/staging/wlags49_h25/TODO
+++ b/drivers/staging/wlags49_h25/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
  are build in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ some the critical sections take to long
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman g...@kroah.com and Cc: Henk de Groot pe1...@amsat.org
-- 
1.7.9.5

___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH]staging: wlags49_h25 Fix typos.

2012-09-17 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging wlags49_h25

 drivers/staging/wlags49_h25/Kconfig |2 +-
 drivers/staging/wlags49_h25/TODO|8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlags49_h25/Kconfig 
b/drivers/staging/wlags49_h25/Kconfig
index bf5664a..dd8dc4d 100644
--- a/drivers/staging/wlags49_h25/Kconfig
+++ b/drivers/staging/wlags49_h25/Kconfig
@@ -8,4 +8,4 @@ config WLAGS49_H25
Driver for wireless cards using Agere's HERMES II.5 chipset
which are identified with Manufacture ID: 0156,0004
The software is a modified version of wl_lkm_722_abg.tar.gz
-   from the Agere Systems website, addapted for Ubuntu 9.04.
+   from the Agere Systems website, adapted for Ubuntu 9.04.
diff --git a/drivers/staging/wlags49_h25/TODO b/drivers/staging/wlags49_h25/TODO
index 94032b6..ec71ad3 100644
--- a/drivers/staging/wlags49_h25/TODO
+++ b/drivers/staging/wlags49_h25/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
  are build in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ some the critical sections take to long
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman g...@kroah.com and Cc: Henk de Groot pe1...@amsat.org
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH V2]staging: "wlags49_h2" Fix typos.

2012-09-10 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

NOTE: Resend because the original created a new typo in the subject line.
The below patch fixes typos while reading through staging "wlags49_h2".

 drivers/staging/wlags49_h2/README.ubuntu |   10 +-
 drivers/staging/wlags49_h2/TODO  |   10 +-
 drivers/staging/wlags49_h2/hcf.c |   20 ++--
 drivers/staging/wlags49_h2/mdd.h |4 ++--
 drivers/staging/wlags49_h2/sta_h2.c  |2 +-
 drivers/staging/wlags49_h2/sta_h25.c |2 +-
 drivers/staging/wlags49_h2/wl_enc.h  |2 +-
 drivers/staging/wlags49_h2/wl_internal.h |2 +-
 drivers/staging/wlags49_h2/wl_main.c |   14 +++---
 drivers/staging/wlags49_h2/wl_netdev.c   |   10 +-
 drivers/staging/wlags49_h2/wl_pci.c  |4 ++--
 drivers/staging/wlags49_h2/wl_wext.c |   22 +++---
 12 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/drivers/staging/wlags49_h2/README.ubuntu 
b/drivers/staging/wlags49_h2/README.ubuntu
index f1483c4..bfad7dc 100644
--- a/drivers/staging/wlags49_h2/README.ubuntu
+++ b/drivers/staging/wlags49_h2/README.ubuntu
@@ -46,12 +46,12 @@ If you have a card using the HERMES II.5 chip you have to 
make
 changes to the Makefile and uncomment -DHERMES25. This will build
 driver wlags49_h25_cs.
 
-Note: You can detemine the type with command "pccardctrl info"
+Note: You can determine the type with command "pccardctrl info"
 MANIFID: 0156,0002 = HERMES - not supported by this driver
 MANIFID: 0156,0003 = HERMES II   (Wireless B)
 MANIFID: 0156,0004 = HERMES II.5 (Wireless B/G)
 
-After succesfull compile type command
+After successful compile type command
 
 sudo make install
 
@@ -93,7 +93,7 @@ have to "open" the device first to get a handle and after 
"close" no
 changed; the former ioctl functions are now called before "open" and
 after "close", which was not expected. One of the problems was enable/
 disable of interrupts in the HCF. Interrupt handling starts at "open"
-so if a former "ioctl" routinge is called before "open" or after "close"
+so if a former "ioctl" routine is called before "open" or after "close"
 then nothing should be done with interrupt switching in the HCF. Once
 this was solved most HCF_ASSERTS went away.
 
@@ -120,8 +120,8 @@ include the man page. Even though setting parameters on the 
module
 does not work anymore but it provides some information about all the
 settings.
 
-I have not have personal contact with Agere, but others have. Agere
-agreed to make their software available under the BSD licence.
+I have no personal contact with Agere, but others have. Agere
+agreed to make their software available under the BSD license.
 This driver is based on the 7.22 version.
 
 The following was mailed by Agere to Andrey Borzenkov about this:
diff --git a/drivers/staging/wlags49_h2/TODO b/drivers/staging/wlags49_h2/TODO
index 94032b6..f1a4561 100644
--- a/drivers/staging/wlags49_h2/TODO
+++ b/drivers/staging/wlags49_h2/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
- are build in to catch most cases but not all
+ are built in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ that some of the critical sections take some time.
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman  and Cc: Henk de Groot 
diff --git a/drivers/staging/wlags49_h2/hcf.c b/drivers/staging/wlags49_h2/hcf.c
index 4235446..4aac26d 100644
--- a/drivers/staging/wlags49_h2/hcf.c
+++ b/drivers/staging/wlags49_h2/hcf.c
@@ -508,7 +508,7 @@ HCF_STATIC hcf_16* BASED [ ] = {
  *- HCF_ACT_INT_FORCE_ON enable in

[PATCH]NEXT:staging "wlags49_h2" Fix ypos.

2012-09-10 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos while reading through staging "wlags49_h2".

 drivers/staging/wlags49_h2/README.ubuntu |   10 +-
 drivers/staging/wlags49_h2/TODO  |   10 +-
 drivers/staging/wlags49_h2/hcf.c |   20 ++--
 drivers/staging/wlags49_h2/mdd.h |4 ++--
 drivers/staging/wlags49_h2/sta_h2.c  |2 +-
 drivers/staging/wlags49_h2/sta_h25.c |2 +-
 drivers/staging/wlags49_h2/wl_enc.h  |2 +-
 drivers/staging/wlags49_h2/wl_internal.h |2 +-
 drivers/staging/wlags49_h2/wl_main.c |   14 +++---
 drivers/staging/wlags49_h2/wl_netdev.c   |   10 +-
 drivers/staging/wlags49_h2/wl_pci.c  |4 ++--
 drivers/staging/wlags49_h2/wl_wext.c |   22 +++---
 12 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/drivers/staging/wlags49_h2/README.ubuntu 
b/drivers/staging/wlags49_h2/README.ubuntu
index f1483c4..bfad7dc 100644
--- a/drivers/staging/wlags49_h2/README.ubuntu
+++ b/drivers/staging/wlags49_h2/README.ubuntu
@@ -46,12 +46,12 @@ If you have a card using the HERMES II.5 chip you have to 
make
 changes to the Makefile and uncomment -DHERMES25. This will build
 driver wlags49_h25_cs.
 
-Note: You can detemine the type with command "pccardctrl info"
+Note: You can determine the type with command "pccardctrl info"
 MANIFID: 0156,0002 = HERMES - not supported by this driver
 MANIFID: 0156,0003 = HERMES II   (Wireless B)
 MANIFID: 0156,0004 = HERMES II.5 (Wireless B/G)
 
-After succesfull compile type command
+After successful compile type command
 
 sudo make install
 
@@ -93,7 +93,7 @@ have to "open" the device first to get a handle and after 
"close" no
 changed; the former ioctl functions are now called before "open" and
 after "close", which was not expected. One of the problems was enable/
 disable of interrupts in the HCF. Interrupt handling starts at "open"
-so if a former "ioctl" routinge is called before "open" or after "close"
+so if a former "ioctl" routine is called before "open" or after "close"
 then nothing should be done with interrupt switching in the HCF. Once
 this was solved most HCF_ASSERTS went away.
 
@@ -120,8 +120,8 @@ include the man page. Even though setting parameters on the 
module
 does not work anymore but it provides some information about all the
 settings.
 
-I have not have personal contact with Agere, but others have. Agere
-agreed to make their software available under the BSD licence.
+I have no personal contact with Agere, but others have. Agere
+agreed to make their software available under the BSD license.
 This driver is based on the 7.22 version.
 
 The following was mailed by Agere to Andrey Borzenkov about this:
diff --git a/drivers/staging/wlags49_h2/TODO b/drivers/staging/wlags49_h2/TODO
index 94032b6..f1a4561 100644
--- a/drivers/staging/wlags49_h2/TODO
+++ b/drivers/staging/wlags49_h2/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
- are build in to catch most cases but not all
+ are built in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ that some of the critical sections take some time.
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman  and Cc: Henk de Groot 
diff --git a/drivers/staging/wlags49_h2/hcf.c b/drivers/staging/wlags49_h2/hcf.c
index 4235446..4aac26d 100644
--- a/drivers/staging/wlags49_h2/hcf.c
+++ b/drivers/staging/wlags49_h2/hcf.c
@@ -508,7 +508,7 @@ HCF_STATIC hcf_16* BASED [ ] = {
  *- HCF_ACT_INT_FORCE_ON enable interrupt generation by WaveLAN NIC
  *- HCF_ACT_INT_OFF  d

[PATCH]NEXT:staging wlags49_h2 Fix ypos.

2012-09-10 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos while reading through staging wlags49_h2.

 drivers/staging/wlags49_h2/README.ubuntu |   10 +-
 drivers/staging/wlags49_h2/TODO  |   10 +-
 drivers/staging/wlags49_h2/hcf.c |   20 ++--
 drivers/staging/wlags49_h2/mdd.h |4 ++--
 drivers/staging/wlags49_h2/sta_h2.c  |2 +-
 drivers/staging/wlags49_h2/sta_h25.c |2 +-
 drivers/staging/wlags49_h2/wl_enc.h  |2 +-
 drivers/staging/wlags49_h2/wl_internal.h |2 +-
 drivers/staging/wlags49_h2/wl_main.c |   14 +++---
 drivers/staging/wlags49_h2/wl_netdev.c   |   10 +-
 drivers/staging/wlags49_h2/wl_pci.c  |4 ++--
 drivers/staging/wlags49_h2/wl_wext.c |   22 +++---
 12 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/drivers/staging/wlags49_h2/README.ubuntu 
b/drivers/staging/wlags49_h2/README.ubuntu
index f1483c4..bfad7dc 100644
--- a/drivers/staging/wlags49_h2/README.ubuntu
+++ b/drivers/staging/wlags49_h2/README.ubuntu
@@ -46,12 +46,12 @@ If you have a card using the HERMES II.5 chip you have to 
make
 changes to the Makefile and uncomment -DHERMES25. This will build
 driver wlags49_h25_cs.
 
-Note: You can detemine the type with command pccardctrl info
+Note: You can determine the type with command pccardctrl info
 MANIFID: 0156,0002 = HERMES - not supported by this driver
 MANIFID: 0156,0003 = HERMES II   (Wireless B)
 MANIFID: 0156,0004 = HERMES II.5 (Wireless B/G)
 
-After succesfull compile type command
+After successful compile type command
 
 sudo make install
 
@@ -93,7 +93,7 @@ have to open the device first to get a handle and after 
close no
 changed; the former ioctl functions are now called before open and
 after close, which was not expected. One of the problems was enable/
 disable of interrupts in the HCF. Interrupt handling starts at open
-so if a former ioctl routinge is called before open or after close
+so if a former ioctl routine is called before open or after close
 then nothing should be done with interrupt switching in the HCF. Once
 this was solved most HCF_ASSERTS went away.
 
@@ -120,8 +120,8 @@ include the man page. Even though setting parameters on the 
module
 does not work anymore but it provides some information about all the
 settings.
 
-I have not have personal contact with Agere, but others have. Agere
-agreed to make their software available under the BSD licence.
+I have no personal contact with Agere, but others have. Agere
+agreed to make their software available under the BSD license.
 This driver is based on the 7.22 version.
 
 The following was mailed by Agere to Andrey Borzenkov about this:
diff --git a/drivers/staging/wlags49_h2/TODO b/drivers/staging/wlags49_h2/TODO
index 94032b6..f1a4561 100644
--- a/drivers/staging/wlags49_h2/TODO
+++ b/drivers/staging/wlags49_h2/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
- are build in to catch most cases but not all
+ are built in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ that some of the critical sections take some time.
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman g...@kroah.com and Cc: Henk de Groot pe1...@amsat.org
diff --git a/drivers/staging/wlags49_h2/hcf.c b/drivers/staging/wlags49_h2/hcf.c
index 4235446..4aac26d 100644
--- a/drivers/staging/wlags49_h2/hcf.c
+++ b/drivers/staging/wlags49_h2/hcf.c
@@ -508,7 +508,7 @@ HCF_STATIC hcf_16* BASED [ ] = {
  *- HCF_ACT_INT_FORCE_ON enable interrupt generation by WaveLAN NIC
  *- HCF_ACT_INT_OFF  disable interrupt generation by WaveLAN NIC
  *- HCF_ACT_INT_ON   compensate 1 HCF_ACT_INT_OFF, enable interrupt

[PATCH]NEXT:staging wlags49_h2 Fix ypos.

2012-09-10 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos while reading through staging wlags49_h2.

 drivers/staging/wlags49_h2/README.ubuntu |   10 +-
 drivers/staging/wlags49_h2/TODO  |   10 +-
 drivers/staging/wlags49_h2/hcf.c |   20 ++--
 drivers/staging/wlags49_h2/mdd.h |4 ++--
 drivers/staging/wlags49_h2/sta_h2.c  |2 +-
 drivers/staging/wlags49_h2/sta_h25.c |2 +-
 drivers/staging/wlags49_h2/wl_enc.h  |2 +-
 drivers/staging/wlags49_h2/wl_internal.h |2 +-
 drivers/staging/wlags49_h2/wl_main.c |   14 +++---
 drivers/staging/wlags49_h2/wl_netdev.c   |   10 +-
 drivers/staging/wlags49_h2/wl_pci.c  |4 ++--
 drivers/staging/wlags49_h2/wl_wext.c |   22 +++---
 12 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/drivers/staging/wlags49_h2/README.ubuntu 
b/drivers/staging/wlags49_h2/README.ubuntu
index f1483c4..bfad7dc 100644
--- a/drivers/staging/wlags49_h2/README.ubuntu
+++ b/drivers/staging/wlags49_h2/README.ubuntu
@@ -46,12 +46,12 @@ If you have a card using the HERMES II.5 chip you have to 
make
 changes to the Makefile and uncomment -DHERMES25. This will build
 driver wlags49_h25_cs.
 
-Note: You can detemine the type with command pccardctrl info
+Note: You can determine the type with command pccardctrl info
 MANIFID: 0156,0002 = HERMES - not supported by this driver
 MANIFID: 0156,0003 = HERMES II   (Wireless B)
 MANIFID: 0156,0004 = HERMES II.5 (Wireless B/G)
 
-After succesfull compile type command
+After successful compile type command
 
 sudo make install
 
@@ -93,7 +93,7 @@ have to open the device first to get a handle and after 
close no
 changed; the former ioctl functions are now called before open and
 after close, which was not expected. One of the problems was enable/
 disable of interrupts in the HCF. Interrupt handling starts at open
-so if a former ioctl routinge is called before open or after close
+so if a former ioctl routine is called before open or after close
 then nothing should be done with interrupt switching in the HCF. Once
 this was solved most HCF_ASSERTS went away.
 
@@ -120,8 +120,8 @@ include the man page. Even though setting parameters on the 
module
 does not work anymore but it provides some information about all the
 settings.
 
-I have not have personal contact with Agere, but others have. Agere
-agreed to make their software available under the BSD licence.
+I have no personal contact with Agere, but others have. Agere
+agreed to make their software available under the BSD license.
 This driver is based on the 7.22 version.
 
 The following was mailed by Agere to Andrey Borzenkov about this:
diff --git a/drivers/staging/wlags49_h2/TODO b/drivers/staging/wlags49_h2/TODO
index 94032b6..f1a4561 100644
--- a/drivers/staging/wlags49_h2/TODO
+++ b/drivers/staging/wlags49_h2/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
- are build in to catch most cases but not all
+ are built in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ that some of the critical sections take some time.
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman g...@kroah.com and Cc: Henk de Groot pe1...@amsat.org
diff --git a/drivers/staging/wlags49_h2/hcf.c b/drivers/staging/wlags49_h2/hcf.c
index 4235446..4aac26d 100644
--- a/drivers/staging/wlags49_h2/hcf.c
+++ b/drivers/staging/wlags49_h2/hcf.c
@@ -508,7 +508,7 @@ HCF_STATIC hcf_16* BASED [ ] = {
  *- HCF_ACT_INT_FORCE_ON enable interrupt generation by WaveLAN NIC
  *- HCF_ACT_INT_OFF  disable interrupt generation by WaveLAN NIC
  *- HCF_ACT_INT_ON   compensate 1 HCF_ACT_INT_OFF, enable interrupt

[PATCH V2]staging: wlags49_h2 Fix typos.

2012-09-10 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

NOTE: Resend because the original created a new typo in the subject line.
The below patch fixes typos while reading through staging wlags49_h2.

 drivers/staging/wlags49_h2/README.ubuntu |   10 +-
 drivers/staging/wlags49_h2/TODO  |   10 +-
 drivers/staging/wlags49_h2/hcf.c |   20 ++--
 drivers/staging/wlags49_h2/mdd.h |4 ++--
 drivers/staging/wlags49_h2/sta_h2.c  |2 +-
 drivers/staging/wlags49_h2/sta_h25.c |2 +-
 drivers/staging/wlags49_h2/wl_enc.h  |2 +-
 drivers/staging/wlags49_h2/wl_internal.h |2 +-
 drivers/staging/wlags49_h2/wl_main.c |   14 +++---
 drivers/staging/wlags49_h2/wl_netdev.c   |   10 +-
 drivers/staging/wlags49_h2/wl_pci.c  |4 ++--
 drivers/staging/wlags49_h2/wl_wext.c |   22 +++---
 12 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/drivers/staging/wlags49_h2/README.ubuntu 
b/drivers/staging/wlags49_h2/README.ubuntu
index f1483c4..bfad7dc 100644
--- a/drivers/staging/wlags49_h2/README.ubuntu
+++ b/drivers/staging/wlags49_h2/README.ubuntu
@@ -46,12 +46,12 @@ If you have a card using the HERMES II.5 chip you have to 
make
 changes to the Makefile and uncomment -DHERMES25. This will build
 driver wlags49_h25_cs.
 
-Note: You can detemine the type with command pccardctrl info
+Note: You can determine the type with command pccardctrl info
 MANIFID: 0156,0002 = HERMES - not supported by this driver
 MANIFID: 0156,0003 = HERMES II   (Wireless B)
 MANIFID: 0156,0004 = HERMES II.5 (Wireless B/G)
 
-After succesfull compile type command
+After successful compile type command
 
 sudo make install
 
@@ -93,7 +93,7 @@ have to open the device first to get a handle and after 
close no
 changed; the former ioctl functions are now called before open and
 after close, which was not expected. One of the problems was enable/
 disable of interrupts in the HCF. Interrupt handling starts at open
-so if a former ioctl routinge is called before open or after close
+so if a former ioctl routine is called before open or after close
 then nothing should be done with interrupt switching in the HCF. Once
 this was solved most HCF_ASSERTS went away.
 
@@ -120,8 +120,8 @@ include the man page. Even though setting parameters on the 
module
 does not work anymore but it provides some information about all the
 settings.
 
-I have not have personal contact with Agere, but others have. Agere
-agreed to make their software available under the BSD licence.
+I have no personal contact with Agere, but others have. Agere
+agreed to make their software available under the BSD license.
 This driver is based on the 7.22 version.
 
 The following was mailed by Agere to Andrey Borzenkov about this:
diff --git a/drivers/staging/wlags49_h2/TODO b/drivers/staging/wlags49_h2/TODO
index 94032b6..f1a4561 100644
--- a/drivers/staging/wlags49_h2/TODO
+++ b/drivers/staging/wlags49_h2/TODO
@@ -1,4 +1,4 @@
-First of all, the best thing would be that this driver becomes obsolte by
+First of all, the best thing would be that this driver becomes obsolete by
 adding support for Hermes II and Hermes II.5 cards to the existing orinoco
 driver. The orinoco driver currently only supports Hermes I based cards.
 Since this will not happen by magic and has not happened until now this
@@ -10,11 +10,11 @@ list.
 
 TODO:
- verify against a Hermes II.5 card
-   - verify with WPA encription (both with H2 and H2.5 cards)
+   - verify with WPA encryption (both with H2 and H2.5 cards)
- sometimes the card does not initialize correctly, retry mechanisms
- are build in to catch most cases but not all
+ are built in to catch most cases but not all
- once the driver runs it is very stable, but I have the impression
- some the crittical sections take to long
+ that some of the critical sections take some time.
- the driver is split into a Hermes II and a Hermes II.5 part, it
  would be nice to handle both with one module instead of two
- review by the wireless developer community
@@ -25,7 +25,7 @@ TODO:
 DONE:
- verified against a Hermes II card (Thomson Speedtouch 110 PCMCIA
  card)
-   - verified with WEP encription
+   - verified with WEP encryption
 
 Please send any patches or complaints about this driver to Greg
 Kroah-Hartman g...@kroah.com and Cc: Henk de Groot pe1...@amsat.org
diff --git a/drivers/staging/wlags49_h2/hcf.c b/drivers/staging/wlags49_h2/hcf.c
index 4235446..4aac26d 100644
--- a/drivers/staging/wlags49_h2/hcf.c
+++ b/drivers/staging/wlags49_h2/hcf.c
@@ -508,7 +508,7 @@ HCF_STATIC hcf_16* BASED [ ] = {
  *- HCF_ACT_INT_FORCE_ON enable interrupt generation by WaveLAN NIC
  *- HCF_ACT_INT_OFF  disable interrupt generation by WaveLAN NIC

[PATCH]NEXT:staging "winbond" Fix typos.

2012-09-03 Thread Justin P. Mattock
From: "Justin P. Mattock" 

 Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging "winbond".

 drivers/staging/winbond/localpara.h   |4 ++--
 drivers/staging/winbond/mds.c |2 +-
 drivers/staging/winbond/mto.c |2 +-
 drivers/staging/winbond/phy_calibration.c |   14 +++---
 drivers/staging/winbond/reg.c |2 +-
 drivers/staging/winbond/sme_api.h |2 +-
 drivers/staging/winbond/wb35reg.c |4 ++--
 drivers/staging/winbond/wb35tx.c  |8 
 drivers/staging/winbond/wb35tx_s.h|2 +-
 9 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/drivers/staging/winbond/localpara.h 
b/drivers/staging/winbond/localpara.h
index d798057..84effc4 100644
--- a/drivers/staging/winbond/localpara.h
+++ b/drivers/staging/winbond/localpara.h
@@ -137,7 +137,7 @@ struct wb_local_para {
u8  iPowerSaveMode; /* 0 indicates on, 1 indicates off */
u8  ATIMmode;
u8  ExcludeUnencrypted;
-   /* Unit ime count for the decision to enter PS mode */
+   /* Unit time count for the decision to enter PS mode */
u16 CheckCountForPS;
u8  boHasTxActivity;/* tx activity has occurred */
u8  boMacPsValid;   /* Power save mode obtained from H/W is valid 
or not */
@@ -187,7 +187,7 @@ struct wb_local_para {
u8  reserved7[3];
 
struct  chan_info CurrentChan;  /* Current channel no. and channel 
band. It may be changed by scanning. */
-   u8  boHandover; /* Roaming, Hnadover to other AP. */
+   u8  boHandover; /* Roaming, Handover to other AP. */
u8  boCCAbusy;
 
u16 CWMax;  /* It may not be the real value that 
H/W used */
diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index c9f0e8f..1b8b8ac 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -569,7 +569,7 @@ Mds_SendComplete(struct wbsoft_priv *adapter, struct 
T02_descriptor *pT02)
unsigned char   SendOK = true;
u8  RetryCount, TxRate;
 
-   if (pT02->T02_IgnoreResult) /* Don't care the result */
+   if (pT02->T02_IgnoreResult) /* Don't care about the result */
return;
if (pT02->T02_IsLastMpdu) {
/* TODO: DTO -- get the retry count and fragment count */
diff --git a/drivers/staging/winbond/mto.c b/drivers/staging/winbond/mto.c
index 1b52ebd..560c0ab 100644
--- a/drivers/staging/winbond/mto.c
+++ b/drivers/staging/winbond/mto.c
@@ -23,7 +23,7 @@
 #include "core.h"
 
 /* Declare SQ3 to rate and fragmentation threshold table */
-/* Declare fragmentation thresholds table */
+/* Declare fragmentation threshold table */
 #define MTO_MAX_FRAG_TH_LEVELS 5
 #define MTO_MAX_DATA_RATE_LEVELS   12
 
diff --git a/drivers/staging/winbond/phy_calibration.c 
b/drivers/staging/winbond/phy_calibration.c
index 77a3fff..cabae34 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -399,7 +399,7 @@ void _rxadc_dc_offset_cancellation_winbond(struct hw_data 
*phw_data, u32 frequen
val |= MASK_ADC_DC_CAL_STR;
hw_set_dxx_reg(phw_data, REG_MODE_CTRL, val);
 
-   /* e. The result are shown in "adc_dc_cal_i[8:0] and adc_dc_cal_q[8:0]" 
*/
+   /* e. The results are shown in "adc_dc_cal_i[8:0] and 
adc_dc_cal_q[8:0]" */
 #ifdef _DEBUG
hw_get_dxx_reg(phw_data, REG_OFFSET_READ, );
PHY_DEBUG(("[CAL]REG_OFFSET_READ = 0x%08X\n", val));
@@ -720,7 +720,7 @@ u8 _tx_iq_calibration_loop_winbond(struct hw_data *phw_data,
for (capture_time = 0; capture_time < 10; capture_time++) {
/*
 * a. Set iqcal_mode[1:0] to 0x2 and set "calib_start" 
to 0x1 to
-*enable "IQ alibration Mode II"
+*enable "IQ calibration Mode II"
 */
reg_mode_ctrl &= ~(MASK_IQCAL_TONE_SEL|MASK_IQCAL_MODE);
reg_mode_ctrl &= ~MASK_IQCAL_MODE;
@@ -750,7 +750,7 @@ u8 _tx_iq_calibration_loop_winbond(struct hw_data *phw_data,
 
/*
 * d. Set iqcal_mode[1:0] to 0x3 and set "calib_start" 
to 0x1 to
-*enable "IQ alibration Mode II"
+*enable "IQ calibration Mode II"
 */
/* hw_get_dxx_reg(phw_data, REG_MODE_CTRL, ); */
hw_get_dxx_reg(phw_data, REG_MODE_CTRL, _mode_ctrl);
@@ -980,7 +980,7 @@ void _tx_iq_calibration_winbond(struct hw_data *phw_data)
phy_set_rf_data(phw_data, 0, (0<<24)|0xFDF1C0);

[PATCH]NEXT:staging winbond Fix typos.

2012-09-03 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

 Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging winbond.

 drivers/staging/winbond/localpara.h   |4 ++--
 drivers/staging/winbond/mds.c |2 +-
 drivers/staging/winbond/mto.c |2 +-
 drivers/staging/winbond/phy_calibration.c |   14 +++---
 drivers/staging/winbond/reg.c |2 +-
 drivers/staging/winbond/sme_api.h |2 +-
 drivers/staging/winbond/wb35reg.c |4 ++--
 drivers/staging/winbond/wb35tx.c  |8 
 drivers/staging/winbond/wb35tx_s.h|2 +-
 9 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/drivers/staging/winbond/localpara.h 
b/drivers/staging/winbond/localpara.h
index d798057..84effc4 100644
--- a/drivers/staging/winbond/localpara.h
+++ b/drivers/staging/winbond/localpara.h
@@ -137,7 +137,7 @@ struct wb_local_para {
u8  iPowerSaveMode; /* 0 indicates on, 1 indicates off */
u8  ATIMmode;
u8  ExcludeUnencrypted;
-   /* Unit ime count for the decision to enter PS mode */
+   /* Unit time count for the decision to enter PS mode */
u16 CheckCountForPS;
u8  boHasTxActivity;/* tx activity has occurred */
u8  boMacPsValid;   /* Power save mode obtained from H/W is valid 
or not */
@@ -187,7 +187,7 @@ struct wb_local_para {
u8  reserved7[3];
 
struct  chan_info CurrentChan;  /* Current channel no. and channel 
band. It may be changed by scanning. */
-   u8  boHandover; /* Roaming, Hnadover to other AP. */
+   u8  boHandover; /* Roaming, Handover to other AP. */
u8  boCCAbusy;
 
u16 CWMax;  /* It may not be the real value that 
H/W used */
diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index c9f0e8f..1b8b8ac 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -569,7 +569,7 @@ Mds_SendComplete(struct wbsoft_priv *adapter, struct 
T02_descriptor *pT02)
unsigned char   SendOK = true;
u8  RetryCount, TxRate;
 
-   if (pT02-T02_IgnoreResult) /* Don't care the result */
+   if (pT02-T02_IgnoreResult) /* Don't care about the result */
return;
if (pT02-T02_IsLastMpdu) {
/* TODO: DTO -- get the retry count and fragment count */
diff --git a/drivers/staging/winbond/mto.c b/drivers/staging/winbond/mto.c
index 1b52ebd..560c0ab 100644
--- a/drivers/staging/winbond/mto.c
+++ b/drivers/staging/winbond/mto.c
@@ -23,7 +23,7 @@
 #include core.h
 
 /* Declare SQ3 to rate and fragmentation threshold table */
-/* Declare fragmentation thresholds table */
+/* Declare fragmentation threshold table */
 #define MTO_MAX_FRAG_TH_LEVELS 5
 #define MTO_MAX_DATA_RATE_LEVELS   12
 
diff --git a/drivers/staging/winbond/phy_calibration.c 
b/drivers/staging/winbond/phy_calibration.c
index 77a3fff..cabae34 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -399,7 +399,7 @@ void _rxadc_dc_offset_cancellation_winbond(struct hw_data 
*phw_data, u32 frequen
val |= MASK_ADC_DC_CAL_STR;
hw_set_dxx_reg(phw_data, REG_MODE_CTRL, val);
 
-   /* e. The result are shown in adc_dc_cal_i[8:0] and adc_dc_cal_q[8:0] 
*/
+   /* e. The results are shown in adc_dc_cal_i[8:0] and 
adc_dc_cal_q[8:0] */
 #ifdef _DEBUG
hw_get_dxx_reg(phw_data, REG_OFFSET_READ, val);
PHY_DEBUG(([CAL]REG_OFFSET_READ = 0x%08X\n, val));
@@ -720,7 +720,7 @@ u8 _tx_iq_calibration_loop_winbond(struct hw_data *phw_data,
for (capture_time = 0; capture_time  10; capture_time++) {
/*
 * a. Set iqcal_mode[1:0] to 0x2 and set calib_start 
to 0x1 to
-*enable IQ alibration Mode II
+*enable IQ calibration Mode II
 */
reg_mode_ctrl = ~(MASK_IQCAL_TONE_SEL|MASK_IQCAL_MODE);
reg_mode_ctrl = ~MASK_IQCAL_MODE;
@@ -750,7 +750,7 @@ u8 _tx_iq_calibration_loop_winbond(struct hw_data *phw_data,
 
/*
 * d. Set iqcal_mode[1:0] to 0x3 and set calib_start 
to 0x1 to
-*enable IQ alibration Mode II
+*enable IQ calibration Mode II
 */
/* hw_get_dxx_reg(phw_data, REG_MODE_CTRL, val); */
hw_get_dxx_reg(phw_data, REG_MODE_CTRL, reg_mode_ctrl);
@@ -980,7 +980,7 @@ void _tx_iq_calibration_winbond(struct hw_data *phw_data)
phy_set_rf_data(phw_data, 0, (024)|0xFDF1C0);
/* ; [BB-chip]: Calibration (6f).Send test pattern */
/* ; [BB-chip]: Calibration (6g). Search RXGCL optimal value

[PATCH]NEXT:staging winbond Fix typos.

2012-09-03 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

 Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging winbond.

 drivers/staging/winbond/localpara.h   |4 ++--
 drivers/staging/winbond/mds.c |2 +-
 drivers/staging/winbond/mto.c |2 +-
 drivers/staging/winbond/phy_calibration.c |   14 +++---
 drivers/staging/winbond/reg.c |2 +-
 drivers/staging/winbond/sme_api.h |2 +-
 drivers/staging/winbond/wb35reg.c |4 ++--
 drivers/staging/winbond/wb35tx.c  |8 
 drivers/staging/winbond/wb35tx_s.h|2 +-
 9 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/drivers/staging/winbond/localpara.h 
b/drivers/staging/winbond/localpara.h
index d798057..84effc4 100644
--- a/drivers/staging/winbond/localpara.h
+++ b/drivers/staging/winbond/localpara.h
@@ -137,7 +137,7 @@ struct wb_local_para {
u8  iPowerSaveMode; /* 0 indicates on, 1 indicates off */
u8  ATIMmode;
u8  ExcludeUnencrypted;
-   /* Unit ime count for the decision to enter PS mode */
+   /* Unit time count for the decision to enter PS mode */
u16 CheckCountForPS;
u8  boHasTxActivity;/* tx activity has occurred */
u8  boMacPsValid;   /* Power save mode obtained from H/W is valid 
or not */
@@ -187,7 +187,7 @@ struct wb_local_para {
u8  reserved7[3];
 
struct  chan_info CurrentChan;  /* Current channel no. and channel 
band. It may be changed by scanning. */
-   u8  boHandover; /* Roaming, Hnadover to other AP. */
+   u8  boHandover; /* Roaming, Handover to other AP. */
u8  boCCAbusy;
 
u16 CWMax;  /* It may not be the real value that 
H/W used */
diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c
index c9f0e8f..1b8b8ac 100644
--- a/drivers/staging/winbond/mds.c
+++ b/drivers/staging/winbond/mds.c
@@ -569,7 +569,7 @@ Mds_SendComplete(struct wbsoft_priv *adapter, struct 
T02_descriptor *pT02)
unsigned char   SendOK = true;
u8  RetryCount, TxRate;
 
-   if (pT02-T02_IgnoreResult) /* Don't care the result */
+   if (pT02-T02_IgnoreResult) /* Don't care about the result */
return;
if (pT02-T02_IsLastMpdu) {
/* TODO: DTO -- get the retry count and fragment count */
diff --git a/drivers/staging/winbond/mto.c b/drivers/staging/winbond/mto.c
index 1b52ebd..560c0ab 100644
--- a/drivers/staging/winbond/mto.c
+++ b/drivers/staging/winbond/mto.c
@@ -23,7 +23,7 @@
 #include core.h
 
 /* Declare SQ3 to rate and fragmentation threshold table */
-/* Declare fragmentation thresholds table */
+/* Declare fragmentation threshold table */
 #define MTO_MAX_FRAG_TH_LEVELS 5
 #define MTO_MAX_DATA_RATE_LEVELS   12
 
diff --git a/drivers/staging/winbond/phy_calibration.c 
b/drivers/staging/winbond/phy_calibration.c
index 77a3fff..cabae34 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -399,7 +399,7 @@ void _rxadc_dc_offset_cancellation_winbond(struct hw_data 
*phw_data, u32 frequen
val |= MASK_ADC_DC_CAL_STR;
hw_set_dxx_reg(phw_data, REG_MODE_CTRL, val);
 
-   /* e. The result are shown in adc_dc_cal_i[8:0] and adc_dc_cal_q[8:0] 
*/
+   /* e. The results are shown in adc_dc_cal_i[8:0] and 
adc_dc_cal_q[8:0] */
 #ifdef _DEBUG
hw_get_dxx_reg(phw_data, REG_OFFSET_READ, val);
PHY_DEBUG(([CAL]REG_OFFSET_READ = 0x%08X\n, val));
@@ -720,7 +720,7 @@ u8 _tx_iq_calibration_loop_winbond(struct hw_data *phw_data,
for (capture_time = 0; capture_time  10; capture_time++) {
/*
 * a. Set iqcal_mode[1:0] to 0x2 and set calib_start 
to 0x1 to
-*enable IQ alibration Mode II
+*enable IQ calibration Mode II
 */
reg_mode_ctrl = ~(MASK_IQCAL_TONE_SEL|MASK_IQCAL_MODE);
reg_mode_ctrl = ~MASK_IQCAL_MODE;
@@ -750,7 +750,7 @@ u8 _tx_iq_calibration_loop_winbond(struct hw_data *phw_data,
 
/*
 * d. Set iqcal_mode[1:0] to 0x3 and set calib_start 
to 0x1 to
-*enable IQ alibration Mode II
+*enable IQ calibration Mode II
 */
/* hw_get_dxx_reg(phw_data, REG_MODE_CTRL, val); */
hw_get_dxx_reg(phw_data, REG_MODE_CTRL, reg_mode_ctrl);
@@ -980,7 +980,7 @@ void _tx_iq_calibration_winbond(struct hw_data *phw_data)
phy_set_rf_data(phw_data, 0, (024)|0xFDF1C0);
/* ; [BB-chip]: Calibration (6f).Send test pattern */
/* ; [BB-chip]: Calibration (6g). Search RXGCL optimal value

[PATCH 3/3]NEXT:staging "vt6656" Typo rename Embeded to Embedded.

2012-08-26 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch renames Embeded to Embedded.

 drivers/staging/vt6656/rf.c |   52 +--
 drivers/staging/vt6656/rf.h |2 +-
 2 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c
index 6205e65..593cdc7 100644
--- a/drivers/staging/vt6656/rf.c
+++ b/drivers/staging/vt6656/rf.c
@@ -26,7 +26,7 @@
  * Date: Feb. 19, 2004
  *
  * Functions:
- *  IFRFbWriteEmbeded  - Embedded write RF register via MAC
+ *  IFRFbWriteEmbedded  - Embedded write RF register via MAC
  *
  * Revision History:
  *
@@ -722,7 +722,7 @@ const BYTE RFaby11aChannelIndex[200] = {
  * Return Value: TRUE if succeeded; FALSE if failed.
  *
  */
-BOOL IFRFbWriteEmbeded (PSDevice pDevice, DWORD dwData)
+BOOL IFRFbWriteEmbedded (PSDevice pDevice, DWORD dwData)
 {
 BYTEpbyData[4];
 
@@ -828,23 +828,23 @@ BOOLbResult = TRUE;
 case RF_AL2230 :
 if (pDevice->byCurPwr >= AL2230_PWR_IDX_LEN)
 return FALSE;
-bResult &= IFRFbWriteEmbeded(pDevice, 
dwAL2230PowerTable[pDevice->byCurPwr]);
+bResult &= IFRFbWriteEmbedded(pDevice, 
dwAL2230PowerTable[pDevice->byCurPwr]);
 if (uRATE <= RATE_11M)
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x0001B400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x0001B400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
 else
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
 break;
 
 case RF_AL2230S :
 if (pDevice->byCurPwr >= AL2230_PWR_IDX_LEN)
 return FALSE;
-bResult &= IFRFbWriteEmbeded(pDevice, 
dwAL2230PowerTable[pDevice->byCurPwr]);
+bResult &= IFRFbWriteEmbedded(pDevice, 
dwAL2230PowerTable[pDevice->byCurPwr]);
 if (uRATE <= RATE_11M) {
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x040C1400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x00299B00+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x040C1400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x00299B00+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
 }else {
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x00099B00+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x00099B00+(BY_AL2230_REG_LEN<<3)+IFREGCTL_REGW);
 }
 break;
 
@@ -854,10 +854,10 @@ BOOLbResult = TRUE;
 DWORD   dwMax7230Pwr;
 
 if (uRATE <= RATE_11M) { //RobertYu:20060426, for better 11b 
mask
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x111BB900+(BY_AL7230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x111BB900+(BY_AL7230_REG_LEN<<3)+IFREGCTL_REGW);
 }
 else {
-bResult &= IFRFbWriteEmbeded(pDevice, 
0x221BB900+(BY_AL7230_REG_LEN<<3)+IFREGCTL_REGW);
+bResult &= IFRFbWriteEmbedded(pDevice, 
0x221BB900+(BY_AL7230_REG_LEN<<3)+IFREGCTL_REGW);
 }
 
 if (pDevice->byCurPwr > AL7230_PWR_IDX_LEN) return FALSE;
@@ -866,7 +866,7 @@ BOOLbResult = TRUE;
 dwMax7230Pwr = 0x080C0B00 | ( (pDevice->byCurPwr) << 12 ) |
  (BY_AL7230_REG_LEN << 3 )  | IFREGCTL_REGW;
 
-bResult &= IFRFbWriteEmbeded(pDevice, dwMax7230Pwr);
+bResult &= IFRFbWriteEmbedded(pDevice, dwMax7230Pwr);
 break;
 }
 break;
@@ -879,7 +879,7 @@ BOOLbResult = TRUE;
 return FALSE;
 dwVT3226Pwr = ((0x3F-pDevice->byCurPwr) << 20 ) | ( 0x17 << 8 ) /* 
Reg7 */ |
(BY_VT3226_REG_LEN << 3 )  | IFREGCTL_REGW;
-bResult &= IFRFbWriteEmbeded(pDevice, dwVT3226Pwr);
+bResult &= IFRFbWriteEmbedded(pDevice, dwVT3226Pwr);
 break;
 }
 
@@ -894,27 +894,27 @@ BOOLbResult = TRUE;
 
 dwVT

[PATCH 1/3]NEXT:staging "vt6656" Fix typos in comments, and in a printk message.

2012-08-26 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

Note: the following three patches need to be applied in order for the correct 
alignment of the patche(s).
The below patch fixes typos found while reading through staging "vt6656". these 
are only typos in comments
and in a couple of printk messages. patches 2 and 3 are actual code typos. if 
you choose to take them. 

 drivers/staging/vt6656/80211mgr.h |4 ++--
 drivers/staging/vt6656/baseband.c |4 ++--
 drivers/staging/vt6656/bssdb.c|   18 +-
 drivers/staging/vt6656/card.c |   10 +-
 drivers/staging/vt6656/device.h   |2 +-
 drivers/staging/vt6656/dpc.c  |2 +-
 drivers/staging/vt6656/hostap.c   |   10 +-
 drivers/staging/vt6656/int.c  |2 +-
 drivers/staging/vt6656/ioctl.c|4 ++--
 drivers/staging/vt6656/iwctl.c|2 +-
 drivers/staging/vt6656/key.c  |4 ++--
 drivers/staging/vt6656/main_usb.c |   20 ++--
 drivers/staging/vt6656/power.c|2 +-
 drivers/staging/vt6656/rf.c   |4 ++--
 drivers/staging/vt6656/rxtx.c |   10 +-
 drivers/staging/vt6656/tcrc.c |2 +-
 drivers/staging/vt6656/tcrc.h |2 +-
 drivers/staging/vt6656/tether.c   |4 ++--
 drivers/staging/vt6656/tkip.c |2 +-
 drivers/staging/vt6656/wcmd.c |6 +++---
 drivers/staging/vt6656/wctl.c |2 +-
 drivers/staging/vt6656/wmgr.c |   20 ++--
 drivers/staging/vt6656/wpa.c  |2 +-
 drivers/staging/vt6656/wpa2.c |6 +++---
 drivers/staging/vt6656/wpactl.c   |6 +++---
 25 files changed, 75 insertions(+), 75 deletions(-)

diff --git a/drivers/staging/vt6656/80211mgr.h 
b/drivers/staging/vt6656/80211mgr.h
index 515b9c1..e5db73b 100644
--- a/drivers/staging/vt6656/80211mgr.h
+++ b/drivers/staging/vt6656/80211mgr.h
@@ -191,7 +191,7 @@
 
 
 //
-// Cipher Suite Selectors defiened in 802.11i
+// Cipher Suite Selectors defined in 802.11i
 //
 #define WLAN_11i_CSS_USE_GROUP  0
 #define WLAN_11i_CSS_WEP40  1
@@ -720,7 +720,7 @@ typedef struct tagWLAN_FR_AUTHEN {
 
 } WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN;
 
-// Deauthenication
+// Deauthentication
 typedef struct tagWLAN_FR_DEAUTHEN {
 
 unsigned intuType;
diff --git a/drivers/staging/vt6656/baseband.c 
b/drivers/staging/vt6656/baseband.c
index 06f27f6..b24605a 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -27,7 +27,7 @@
  *
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
- *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
+ *  BBvCaculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
  *  BBbVT3184Init  - VIA VT3184 baseband chip init code
  *  BBvLoopbackOn  - Turn on BaseBand Loopback mode
  *  BBvLoopbackOff - Turn off BaseBand Loopback mode
@@ -741,7 +741,7 @@ BBuGetFrameTime (
 }
 
 /*
- * Description: Caculate Length, Service, and Signal fields of Phy for Tx
+ * Description: Calculate Length, Service, and Signal fields of Phy for Tx
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c
index 0999367..2ac066d 100644
--- a/drivers/staging/vt6656/bssdb.c
+++ b/drivers/staging/vt6656/bssdb.c
@@ -226,7 +226,7 @@ PKnownBSS BSSpSearchBSSList(void *hDeviceContext,
 if (pSelect == NULL) {
 pSelect = pCurrBSS;
 } else {
-// compare RSSI, select signal strong one
+// compare RSSI, select the strongest signal 
 if (pCurrBSS->uRSSI < pSelect->uRSSI) {
 pSelect = pCurrBSS;
 }
@@ -274,9 +274,9 @@ void BSSvClearBSSList(void *hDeviceContext, BOOL 
bKeepCurrBSSID)
 if (pMgmt->sBSSList[ii].bActive &&
!compare_ether_addr(pMgmt->sBSSList[ii].abyBSSID,
pMgmt->abyCurrBSSID)) {
- //mike mark: there are two same BSSID in list if that AP is in hidden ssid 
mode,one 's SSID is null,
- // but other's is obvious, so if it acssociate with your STA  
exactly,you must keep two
- // of them!
+ //mike mark: there are two BSSID's in list. If that AP is in hidden ssid 
mode, one SSID is null,
+ // but other's might not be obvious, so if it associate's 
with your STA,
+ // you must keep the two of them!!
// bKeepCurrBSSID = FALSE;
 continue;
 }
@@ -489,7 +489,7 @@ BOOL BSSbInsertToBSSList(void *hDeviceContext,
 }
 
 if (pDevice->bUpdateBBVGA) {
-// Moniter if RSSI is too strong.
+// Monitor if RSSI is too strong.
 pBSSList->byRSSIStatCnt = 0;
  

[PATCH 2/3]NEXT:staging "vt6656" Typo rename Caculate to Calculate.

2012-08-26 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patches renames Caculate to Calculate.

 drivers/staging/vt6656/baseband.c |4 ++--
 drivers/staging/vt6656/baseband.h |2 +-
 drivers/staging/vt6656/card.c |   28 +--
 drivers/staging/vt6656/rxtx.c |   38 ++---
 4 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/drivers/staging/vt6656/baseband.c 
b/drivers/staging/vt6656/baseband.c
index b24605a..3855015 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -27,7 +27,7 @@
  *
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
- *  BBvCaculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
+ *  BBvCalculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
  *  BBbVT3184Init  - VIA VT3184 baseband chip init code
  *  BBvLoopbackOn  - Turn on BaseBand Loopback mode
  *  BBvLoopbackOff - Turn off BaseBand Loopback mode
@@ -757,7 +757,7 @@ BBuGetFrameTime (
  *
  */
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
   PSDevice pDevice,
   unsigned int cbFrameLength,
   WORD wRate,
diff --git a/drivers/staging/vt6656/baseband.h 
b/drivers/staging/vt6656/baseband.h
index 8db8cd0..844d5a8 100644
--- a/drivers/staging/vt6656/baseband.h
+++ b/drivers/staging/vt6656/baseband.h
@@ -104,7 +104,7 @@ BBuGetFrameTime(
  WORD wRate
 );
 
-void BBvCaculateParameter(PSDevice pDevice,
+void BBvCalculateParameter(PSDevice pDevice,
  unsigned int cbFrameLength,
  WORD wRate,
  BYTE byPacketType,
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 694e648..826520b 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -214,7 +214,7 @@ static WORD swGetOFDMControlRate(void *pDeviceHandler, WORD 
wRateIdx)
  *
  */
 void
-CARDvCaculateOFDMRParameter (
+CARDvCalculateOFDMRParameter (
   WORD wRate,
   BYTE byBBType,
  PBYTE pbyTxRate,
@@ -337,7 +337,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 int i;
 
 //RSPINF_b_1
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_1M),
  PK_TYPE_11B,
@@ -347,7 +347,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 ///RSPINF_b_2
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_2M),
  PK_TYPE_11B,
@@ -357,7 +357,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_b_5
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_5M),
  PK_TYPE_11B,
@@ -367,7 +367,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_b_11
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_11M),
  PK_TYPE_11B,
@@ -377,55 +377,55 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_a_6
-CARDvCaculateOFDMRParameter (RATE_6M,
+CARDvCalculateOFDMRParameter (RATE_6M,
  byBBType,
  [0],
  [0]);
 
 //RSPINF_a_9
-CARDvCaculateOFDMRParameter (RATE_9M,
+CARDvCalculateOFDMRParameter (RATE_9M,
  byBBType,
  [1],
  [1]);
 
 //RSPINF_a_12
-CARDvCaculateOFDMRParameter (RATE_12M,
+CARDvCalculateOFDMRParameter (RATE_12M,
  byBBType,
  [2],
  [2]);
 
 //RSPINF_a_18
-CARDvCaculateOFDMRParameter (RATE_18M,
+CARDvCalculateOFDMRParameter (RATE_18M,
  byBBType,
  [3],
  [3]);
 
 //RSPINF_a_24
-CARDvCaculateOFDMRParameter (RATE_24M,
+CARDvCalculateOFDMRParameter (RATE_24M,
  byBBType,
  [4],
  [4]);
 
 //RSPINF_a_36
-CARDvCaculateOFDMRParameter (swGetOFDMControlRate(pDevice, RATE_36M),
+CARDvCalculateOFDMRParameter (swGetOFDMControlRate(pDevice, RATE_36M),
  byBBType,
  

[PATCH 1/3]NEXT:staging vt6656 Fix typos in comments, and in a printk message.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

Note: the following three patches need to be applied in order for the correct 
alignment of the patche(s).
The below patch fixes typos found while reading through staging vt6656. these 
are only typos in comments
and in a couple of printk messages. patches 2 and 3 are actual code typos. if 
you choose to take them. 

 drivers/staging/vt6656/80211mgr.h |4 ++--
 drivers/staging/vt6656/baseband.c |4 ++--
 drivers/staging/vt6656/bssdb.c|   18 +-
 drivers/staging/vt6656/card.c |   10 +-
 drivers/staging/vt6656/device.h   |2 +-
 drivers/staging/vt6656/dpc.c  |2 +-
 drivers/staging/vt6656/hostap.c   |   10 +-
 drivers/staging/vt6656/int.c  |2 +-
 drivers/staging/vt6656/ioctl.c|4 ++--
 drivers/staging/vt6656/iwctl.c|2 +-
 drivers/staging/vt6656/key.c  |4 ++--
 drivers/staging/vt6656/main_usb.c |   20 ++--
 drivers/staging/vt6656/power.c|2 +-
 drivers/staging/vt6656/rf.c   |4 ++--
 drivers/staging/vt6656/rxtx.c |   10 +-
 drivers/staging/vt6656/tcrc.c |2 +-
 drivers/staging/vt6656/tcrc.h |2 +-
 drivers/staging/vt6656/tether.c   |4 ++--
 drivers/staging/vt6656/tkip.c |2 +-
 drivers/staging/vt6656/wcmd.c |6 +++---
 drivers/staging/vt6656/wctl.c |2 +-
 drivers/staging/vt6656/wmgr.c |   20 ++--
 drivers/staging/vt6656/wpa.c  |2 +-
 drivers/staging/vt6656/wpa2.c |6 +++---
 drivers/staging/vt6656/wpactl.c   |6 +++---
 25 files changed, 75 insertions(+), 75 deletions(-)

diff --git a/drivers/staging/vt6656/80211mgr.h 
b/drivers/staging/vt6656/80211mgr.h
index 515b9c1..e5db73b 100644
--- a/drivers/staging/vt6656/80211mgr.h
+++ b/drivers/staging/vt6656/80211mgr.h
@@ -191,7 +191,7 @@
 
 
 //
-// Cipher Suite Selectors defiened in 802.11i
+// Cipher Suite Selectors defined in 802.11i
 //
 #define WLAN_11i_CSS_USE_GROUP  0
 #define WLAN_11i_CSS_WEP40  1
@@ -720,7 +720,7 @@ typedef struct tagWLAN_FR_AUTHEN {
 
 } WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN;
 
-// Deauthenication
+// Deauthentication
 typedef struct tagWLAN_FR_DEAUTHEN {
 
 unsigned intuType;
diff --git a/drivers/staging/vt6656/baseband.c 
b/drivers/staging/vt6656/baseband.c
index 06f27f6..b24605a 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -27,7 +27,7 @@
  *
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
- *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
+ *  BBvCaculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
  *  BBbVT3184Init  - VIA VT3184 baseband chip init code
  *  BBvLoopbackOn  - Turn on BaseBand Loopback mode
  *  BBvLoopbackOff - Turn off BaseBand Loopback mode
@@ -741,7 +741,7 @@ BBuGetFrameTime (
 }
 
 /*
- * Description: Caculate Length, Service, and Signal fields of Phy for Tx
+ * Description: Calculate Length, Service, and Signal fields of Phy for Tx
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c
index 0999367..2ac066d 100644
--- a/drivers/staging/vt6656/bssdb.c
+++ b/drivers/staging/vt6656/bssdb.c
@@ -226,7 +226,7 @@ PKnownBSS BSSpSearchBSSList(void *hDeviceContext,
 if (pSelect == NULL) {
 pSelect = pCurrBSS;
 } else {
-// compare RSSI, select signal strong one
+// compare RSSI, select the strongest signal 
 if (pCurrBSS-uRSSI  pSelect-uRSSI) {
 pSelect = pCurrBSS;
 }
@@ -274,9 +274,9 @@ void BSSvClearBSSList(void *hDeviceContext, BOOL 
bKeepCurrBSSID)
 if (pMgmt-sBSSList[ii].bActive 
!compare_ether_addr(pMgmt-sBSSList[ii].abyBSSID,
pMgmt-abyCurrBSSID)) {
- //mike mark: there are two same BSSID in list if that AP is in hidden ssid 
mode,one 's SSID is null,
- // but other's is obvious, so if it acssociate with your STA  
exactly,you must keep two
- // of them!
+ //mike mark: there are two BSSID's in list. If that AP is in hidden ssid 
mode, one SSID is null,
+ // but other's might not be obvious, so if it associate's 
with your STA,
+ // you must keep the two of them!!
// bKeepCurrBSSID = FALSE;
 continue;
 }
@@ -489,7 +489,7 @@ BOOL BSSbInsertToBSSList(void *hDeviceContext,
 }
 
 if (pDevice-bUpdateBBVGA) {
-// Moniter if RSSI is too strong.
+// Monitor if RSSI is too strong.
 pBSSList-byRSSIStatCnt = 0;
 RFvRSSITodBm

[PATCH 2/3]NEXT:staging vt6656 Typo rename Caculate to Calculate.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patches renames Caculate to Calculate.

 drivers/staging/vt6656/baseband.c |4 ++--
 drivers/staging/vt6656/baseband.h |2 +-
 drivers/staging/vt6656/card.c |   28 +--
 drivers/staging/vt6656/rxtx.c |   38 ++---
 4 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/drivers/staging/vt6656/baseband.c 
b/drivers/staging/vt6656/baseband.c
index b24605a..3855015 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -27,7 +27,7 @@
  *
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
- *  BBvCaculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
+ *  BBvCalculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
  *  BBbVT3184Init  - VIA VT3184 baseband chip init code
  *  BBvLoopbackOn  - Turn on BaseBand Loopback mode
  *  BBvLoopbackOff - Turn off BaseBand Loopback mode
@@ -757,7 +757,7 @@ BBuGetFrameTime (
  *
  */
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
   PSDevice pDevice,
   unsigned int cbFrameLength,
   WORD wRate,
diff --git a/drivers/staging/vt6656/baseband.h 
b/drivers/staging/vt6656/baseband.h
index 8db8cd0..844d5a8 100644
--- a/drivers/staging/vt6656/baseband.h
+++ b/drivers/staging/vt6656/baseband.h
@@ -104,7 +104,7 @@ BBuGetFrameTime(
  WORD wRate
 );
 
-void BBvCaculateParameter(PSDevice pDevice,
+void BBvCalculateParameter(PSDevice pDevice,
  unsigned int cbFrameLength,
  WORD wRate,
  BYTE byPacketType,
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 694e648..826520b 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -214,7 +214,7 @@ static WORD swGetOFDMControlRate(void *pDeviceHandler, WORD 
wRateIdx)
  *
  */
 void
-CARDvCaculateOFDMRParameter (
+CARDvCalculateOFDMRParameter (
   WORD wRate,
   BYTE byBBType,
  PBYTE pbyTxRate,
@@ -337,7 +337,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 int i;
 
 //RSPINF_b_1
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_1M),
  PK_TYPE_11B,
@@ -347,7 +347,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 ///RSPINF_b_2
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_2M),
  PK_TYPE_11B,
@@ -357,7 +357,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_b_5
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_5M),
  PK_TYPE_11B,
@@ -367,7 +367,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_b_11
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_11M),
  PK_TYPE_11B,
@@ -377,55 +377,55 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_a_6
-CARDvCaculateOFDMRParameter (RATE_6M,
+CARDvCalculateOFDMRParameter (RATE_6M,
  byBBType,
  abyTxRate[0],
  abyRsvTime[0]);
 
 //RSPINF_a_9
-CARDvCaculateOFDMRParameter (RATE_9M,
+CARDvCalculateOFDMRParameter (RATE_9M,
  byBBType,
  abyTxRate[1],
  abyRsvTime[1]);
 
 //RSPINF_a_12
-CARDvCaculateOFDMRParameter (RATE_12M,
+CARDvCalculateOFDMRParameter (RATE_12M,
  byBBType,
  abyTxRate[2],
  abyRsvTime[2]);
 
 //RSPINF_a_18
-CARDvCaculateOFDMRParameter (RATE_18M,
+CARDvCalculateOFDMRParameter (RATE_18M,
  byBBType,
  abyTxRate[3],
  abyRsvTime[3]);
 
 //RSPINF_a_24
-CARDvCaculateOFDMRParameter (RATE_24M,
+CARDvCalculateOFDMRParameter (RATE_24M,
  byBBType,
  abyTxRate[4],
  abyRsvTime[4]);
 
 //RSPINF_a_36
-CARDvCaculateOFDMRParameter (swGetOFDMControlRate(pDevice, RATE_36M),
+CARDvCalculateOFDMRParameter (swGetOFDMControlRate

[PATCH 3/3]NEXT:staging vt6656 Typo rename Embeded to Embedded.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch renames Embeded to Embedded.

 drivers/staging/vt6656/rf.c |   52 +--
 drivers/staging/vt6656/rf.h |2 +-
 2 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c
index 6205e65..593cdc7 100644
--- a/drivers/staging/vt6656/rf.c
+++ b/drivers/staging/vt6656/rf.c
@@ -26,7 +26,7 @@
  * Date: Feb. 19, 2004
  *
  * Functions:
- *  IFRFbWriteEmbeded  - Embedded write RF register via MAC
+ *  IFRFbWriteEmbedded  - Embedded write RF register via MAC
  *
  * Revision History:
  *
@@ -722,7 +722,7 @@ const BYTE RFaby11aChannelIndex[200] = {
  * Return Value: TRUE if succeeded; FALSE if failed.
  *
  */
-BOOL IFRFbWriteEmbeded (PSDevice pDevice, DWORD dwData)
+BOOL IFRFbWriteEmbedded (PSDevice pDevice, DWORD dwData)
 {
 BYTEpbyData[4];
 
@@ -828,23 +828,23 @@ BOOLbResult = TRUE;
 case RF_AL2230 :
 if (pDevice-byCurPwr = AL2230_PWR_IDX_LEN)
 return FALSE;
-bResult = IFRFbWriteEmbeded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
+bResult = IFRFbWriteEmbedded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
 if (uRATE = RATE_11M)
-bResult = IFRFbWriteEmbeded(pDevice, 
0x0001B400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x0001B400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 else
-bResult = IFRFbWriteEmbeded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 break;
 
 case RF_AL2230S :
 if (pDevice-byCurPwr = AL2230_PWR_IDX_LEN)
 return FALSE;
-bResult = IFRFbWriteEmbeded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
+bResult = IFRFbWriteEmbedded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
 if (uRATE = RATE_11M) {
-bResult = IFRFbWriteEmbeded(pDevice, 
0x040C1400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
-bResult = IFRFbWriteEmbeded(pDevice, 
0x00299B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x040C1400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x00299B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 }else {
-bResult = IFRFbWriteEmbeded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
-bResult = IFRFbWriteEmbeded(pDevice, 
0x00099B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x00099B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 }
 break;
 
@@ -854,10 +854,10 @@ BOOLbResult = TRUE;
 DWORD   dwMax7230Pwr;
 
 if (uRATE = RATE_11M) { //RobertYu:20060426, for better 11b 
mask
-bResult = IFRFbWriteEmbeded(pDevice, 
0x111BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x111BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
 }
 else {
-bResult = IFRFbWriteEmbeded(pDevice, 
0x221BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x221BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
 }
 
 if (pDevice-byCurPwr  AL7230_PWR_IDX_LEN) return FALSE;
@@ -866,7 +866,7 @@ BOOLbResult = TRUE;
 dwMax7230Pwr = 0x080C0B00 | ( (pDevice-byCurPwr)  12 ) |
  (BY_AL7230_REG_LEN  3 )  | IFREGCTL_REGW;
 
-bResult = IFRFbWriteEmbeded(pDevice, dwMax7230Pwr);
+bResult = IFRFbWriteEmbedded(pDevice, dwMax7230Pwr);
 break;
 }
 break;
@@ -879,7 +879,7 @@ BOOLbResult = TRUE;
 return FALSE;
 dwVT3226Pwr = ((0x3F-pDevice-byCurPwr)  20 ) | ( 0x17  8 ) /* 
Reg7 */ |
(BY_VT3226_REG_LEN  3 )  | IFREGCTL_REGW;
-bResult = IFRFbWriteEmbeded(pDevice, dwVT3226Pwr);
+bResult = IFRFbWriteEmbedded(pDevice, dwVT3226Pwr);
 break;
 }
 
@@ -894,27 +894,27 @@ BOOLbResult = TRUE;
 
 dwVT3226Pwr = ((0x3F-pDevice-byCurPwr)  20 ) | ( 0xE07  8 
) /* Reg7 */ |   //RobertYu:20060420, TWIF 1.10
(BY_VT3226_REG_LEN  3 )  | IFREGCTL_REGW;
-bResult = IFRFbWriteEmbeded(pDevice, dwVT3226Pwr);
+bResult = IFRFbWriteEmbedded(pDevice, dwVT3226Pwr

[PATCH 2/3]NEXT:staging vt6656 Typo rename Caculate to Calculate.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patches renames Caculate to Calculate.

 drivers/staging/vt6656/baseband.c |4 ++--
 drivers/staging/vt6656/baseband.h |2 +-
 drivers/staging/vt6656/card.c |   28 +--
 drivers/staging/vt6656/rxtx.c |   38 ++---
 4 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/drivers/staging/vt6656/baseband.c 
b/drivers/staging/vt6656/baseband.c
index b24605a..3855015 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -27,7 +27,7 @@
  *
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
- *  BBvCaculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
+ *  BBvCalculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
  *  BBbVT3184Init  - VIA VT3184 baseband chip init code
  *  BBvLoopbackOn  - Turn on BaseBand Loopback mode
  *  BBvLoopbackOff - Turn off BaseBand Loopback mode
@@ -757,7 +757,7 @@ BBuGetFrameTime (
  *
  */
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
   PSDevice pDevice,
   unsigned int cbFrameLength,
   WORD wRate,
diff --git a/drivers/staging/vt6656/baseband.h 
b/drivers/staging/vt6656/baseband.h
index 8db8cd0..844d5a8 100644
--- a/drivers/staging/vt6656/baseband.h
+++ b/drivers/staging/vt6656/baseband.h
@@ -104,7 +104,7 @@ BBuGetFrameTime(
  WORD wRate
 );
 
-void BBvCaculateParameter(PSDevice pDevice,
+void BBvCalculateParameter(PSDevice pDevice,
  unsigned int cbFrameLength,
  WORD wRate,
  BYTE byPacketType,
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 694e648..826520b 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -214,7 +214,7 @@ static WORD swGetOFDMControlRate(void *pDeviceHandler, WORD 
wRateIdx)
  *
  */
 void
-CARDvCaculateOFDMRParameter (
+CARDvCalculateOFDMRParameter (
   WORD wRate,
   BYTE byBBType,
  PBYTE pbyTxRate,
@@ -337,7 +337,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 int i;
 
 //RSPINF_b_1
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_1M),
  PK_TYPE_11B,
@@ -347,7 +347,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 ///RSPINF_b_2
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_2M),
  PK_TYPE_11B,
@@ -357,7 +357,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_b_5
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_5M),
  PK_TYPE_11B,
@@ -367,7 +367,7 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_b_11
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  swGetCCKControlRate(pDevice, RATE_11M),
  PK_TYPE_11B,
@@ -377,55 +377,55 @@ void CARDvSetRSPINF(void *pDeviceHandler, BYTE byBBType)
 );
 
 //RSPINF_a_6
-CARDvCaculateOFDMRParameter (RATE_6M,
+CARDvCalculateOFDMRParameter (RATE_6M,
  byBBType,
  abyTxRate[0],
  abyRsvTime[0]);
 
 //RSPINF_a_9
-CARDvCaculateOFDMRParameter (RATE_9M,
+CARDvCalculateOFDMRParameter (RATE_9M,
  byBBType,
  abyTxRate[1],
  abyRsvTime[1]);
 
 //RSPINF_a_12
-CARDvCaculateOFDMRParameter (RATE_12M,
+CARDvCalculateOFDMRParameter (RATE_12M,
  byBBType,
  abyTxRate[2],
  abyRsvTime[2]);
 
 //RSPINF_a_18
-CARDvCaculateOFDMRParameter (RATE_18M,
+CARDvCalculateOFDMRParameter (RATE_18M,
  byBBType,
  abyTxRate[3],
  abyRsvTime[3]);
 
 //RSPINF_a_24
-CARDvCaculateOFDMRParameter (RATE_24M,
+CARDvCalculateOFDMRParameter (RATE_24M,
  byBBType,
  abyTxRate[4],
  abyRsvTime[4]);
 
 //RSPINF_a_36
-CARDvCaculateOFDMRParameter (swGetOFDMControlRate(pDevice, RATE_36M),
+CARDvCalculateOFDMRParameter (swGetOFDMControlRate

[PATCH 1/3]NEXT:staging vt6656 Fix typos in comments, and in a printk message.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

Note: the following three patches need to be applied in order for the correct 
alignment of the patche(s).
The below patch fixes typos found while reading through staging vt6656. these 
are only typos in comments
and in a couple of printk messages. patches 2 and 3 are actual code typos. if 
you choose to take them. 

 drivers/staging/vt6656/80211mgr.h |4 ++--
 drivers/staging/vt6656/baseband.c |4 ++--
 drivers/staging/vt6656/bssdb.c|   18 +-
 drivers/staging/vt6656/card.c |   10 +-
 drivers/staging/vt6656/device.h   |2 +-
 drivers/staging/vt6656/dpc.c  |2 +-
 drivers/staging/vt6656/hostap.c   |   10 +-
 drivers/staging/vt6656/int.c  |2 +-
 drivers/staging/vt6656/ioctl.c|4 ++--
 drivers/staging/vt6656/iwctl.c|2 +-
 drivers/staging/vt6656/key.c  |4 ++--
 drivers/staging/vt6656/main_usb.c |   20 ++--
 drivers/staging/vt6656/power.c|2 +-
 drivers/staging/vt6656/rf.c   |4 ++--
 drivers/staging/vt6656/rxtx.c |   10 +-
 drivers/staging/vt6656/tcrc.c |2 +-
 drivers/staging/vt6656/tcrc.h |2 +-
 drivers/staging/vt6656/tether.c   |4 ++--
 drivers/staging/vt6656/tkip.c |2 +-
 drivers/staging/vt6656/wcmd.c |6 +++---
 drivers/staging/vt6656/wctl.c |2 +-
 drivers/staging/vt6656/wmgr.c |   20 ++--
 drivers/staging/vt6656/wpa.c  |2 +-
 drivers/staging/vt6656/wpa2.c |6 +++---
 drivers/staging/vt6656/wpactl.c   |6 +++---
 25 files changed, 75 insertions(+), 75 deletions(-)

diff --git a/drivers/staging/vt6656/80211mgr.h 
b/drivers/staging/vt6656/80211mgr.h
index 515b9c1..e5db73b 100644
--- a/drivers/staging/vt6656/80211mgr.h
+++ b/drivers/staging/vt6656/80211mgr.h
@@ -191,7 +191,7 @@
 
 
 //
-// Cipher Suite Selectors defiened in 802.11i
+// Cipher Suite Selectors defined in 802.11i
 //
 #define WLAN_11i_CSS_USE_GROUP  0
 #define WLAN_11i_CSS_WEP40  1
@@ -720,7 +720,7 @@ typedef struct tagWLAN_FR_AUTHEN {
 
 } WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN;
 
-// Deauthenication
+// Deauthentication
 typedef struct tagWLAN_FR_DEAUTHEN {
 
 unsigned intuType;
diff --git a/drivers/staging/vt6656/baseband.c 
b/drivers/staging/vt6656/baseband.c
index 06f27f6..b24605a 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -27,7 +27,7 @@
  *
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
- *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
+ *  BBvCaculateParameter   - Calculate PhyLength, PhyService and Phy 
Signal parameter for baseband Tx
  *  BBbVT3184Init  - VIA VT3184 baseband chip init code
  *  BBvLoopbackOn  - Turn on BaseBand Loopback mode
  *  BBvLoopbackOff - Turn off BaseBand Loopback mode
@@ -741,7 +741,7 @@ BBuGetFrameTime (
 }
 
 /*
- * Description: Caculate Length, Service, and Signal fields of Phy for Tx
+ * Description: Calculate Length, Service, and Signal fields of Phy for Tx
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c
index 0999367..2ac066d 100644
--- a/drivers/staging/vt6656/bssdb.c
+++ b/drivers/staging/vt6656/bssdb.c
@@ -226,7 +226,7 @@ PKnownBSS BSSpSearchBSSList(void *hDeviceContext,
 if (pSelect == NULL) {
 pSelect = pCurrBSS;
 } else {
-// compare RSSI, select signal strong one
+// compare RSSI, select the strongest signal 
 if (pCurrBSS-uRSSI  pSelect-uRSSI) {
 pSelect = pCurrBSS;
 }
@@ -274,9 +274,9 @@ void BSSvClearBSSList(void *hDeviceContext, BOOL 
bKeepCurrBSSID)
 if (pMgmt-sBSSList[ii].bActive 
!compare_ether_addr(pMgmt-sBSSList[ii].abyBSSID,
pMgmt-abyCurrBSSID)) {
- //mike mark: there are two same BSSID in list if that AP is in hidden ssid 
mode,one 's SSID is null,
- // but other's is obvious, so if it acssociate with your STA  
exactly,you must keep two
- // of them!
+ //mike mark: there are two BSSID's in list. If that AP is in hidden ssid 
mode, one SSID is null,
+ // but other's might not be obvious, so if it associate's 
with your STA,
+ // you must keep the two of them!!
// bKeepCurrBSSID = FALSE;
 continue;
 }
@@ -489,7 +489,7 @@ BOOL BSSbInsertToBSSList(void *hDeviceContext,
 }
 
 if (pDevice-bUpdateBBVGA) {
-// Moniter if RSSI is too strong.
+// Monitor if RSSI is too strong.
 pBSSList-byRSSIStatCnt = 0;
 RFvRSSITodBm

[PATCH 3/3]NEXT:staging vt6656 Typo rename Embeded to Embedded.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch renames Embeded to Embedded.

 drivers/staging/vt6656/rf.c |   52 +--
 drivers/staging/vt6656/rf.h |2 +-
 2 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c
index 6205e65..593cdc7 100644
--- a/drivers/staging/vt6656/rf.c
+++ b/drivers/staging/vt6656/rf.c
@@ -26,7 +26,7 @@
  * Date: Feb. 19, 2004
  *
  * Functions:
- *  IFRFbWriteEmbeded  - Embedded write RF register via MAC
+ *  IFRFbWriteEmbedded  - Embedded write RF register via MAC
  *
  * Revision History:
  *
@@ -722,7 +722,7 @@ const BYTE RFaby11aChannelIndex[200] = {
  * Return Value: TRUE if succeeded; FALSE if failed.
  *
  */
-BOOL IFRFbWriteEmbeded (PSDevice pDevice, DWORD dwData)
+BOOL IFRFbWriteEmbedded (PSDevice pDevice, DWORD dwData)
 {
 BYTEpbyData[4];
 
@@ -828,23 +828,23 @@ BOOLbResult = TRUE;
 case RF_AL2230 :
 if (pDevice-byCurPwr = AL2230_PWR_IDX_LEN)
 return FALSE;
-bResult = IFRFbWriteEmbeded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
+bResult = IFRFbWriteEmbedded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
 if (uRATE = RATE_11M)
-bResult = IFRFbWriteEmbeded(pDevice, 
0x0001B400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x0001B400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 else
-bResult = IFRFbWriteEmbeded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 break;
 
 case RF_AL2230S :
 if (pDevice-byCurPwr = AL2230_PWR_IDX_LEN)
 return FALSE;
-bResult = IFRFbWriteEmbeded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
+bResult = IFRFbWriteEmbedded(pDevice, 
dwAL2230PowerTable[pDevice-byCurPwr]);
 if (uRATE = RATE_11M) {
-bResult = IFRFbWriteEmbeded(pDevice, 
0x040C1400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
-bResult = IFRFbWriteEmbeded(pDevice, 
0x00299B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x040C1400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x00299B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 }else {
-bResult = IFRFbWriteEmbeded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
-bResult = IFRFbWriteEmbeded(pDevice, 
0x00099B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x0005A400+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x00099B00+(BY_AL2230_REG_LEN3)+IFREGCTL_REGW);
 }
 break;
 
@@ -854,10 +854,10 @@ BOOLbResult = TRUE;
 DWORD   dwMax7230Pwr;
 
 if (uRATE = RATE_11M) { //RobertYu:20060426, for better 11b 
mask
-bResult = IFRFbWriteEmbeded(pDevice, 
0x111BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x111BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
 }
 else {
-bResult = IFRFbWriteEmbeded(pDevice, 
0x221BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
+bResult = IFRFbWriteEmbedded(pDevice, 
0x221BB900+(BY_AL7230_REG_LEN3)+IFREGCTL_REGW);
 }
 
 if (pDevice-byCurPwr  AL7230_PWR_IDX_LEN) return FALSE;
@@ -866,7 +866,7 @@ BOOLbResult = TRUE;
 dwMax7230Pwr = 0x080C0B00 | ( (pDevice-byCurPwr)  12 ) |
  (BY_AL7230_REG_LEN  3 )  | IFREGCTL_REGW;
 
-bResult = IFRFbWriteEmbeded(pDevice, dwMax7230Pwr);
+bResult = IFRFbWriteEmbedded(pDevice, dwMax7230Pwr);
 break;
 }
 break;
@@ -879,7 +879,7 @@ BOOLbResult = TRUE;
 return FALSE;
 dwVT3226Pwr = ((0x3F-pDevice-byCurPwr)  20 ) | ( 0x17  8 ) /* 
Reg7 */ |
(BY_VT3226_REG_LEN  3 )  | IFREGCTL_REGW;
-bResult = IFRFbWriteEmbeded(pDevice, dwVT3226Pwr);
+bResult = IFRFbWriteEmbedded(pDevice, dwVT3226Pwr);
 break;
 }
 
@@ -894,27 +894,27 @@ BOOLbResult = TRUE;
 
 dwVT3226Pwr = ((0x3F-pDevice-byCurPwr)  20 ) | ( 0xE07  8 
) /* Reg7 */ |   //RobertYu:20060420, TWIF 1.10
(BY_VT3226_REG_LEN  3 )  | IFREGCTL_REGW;
-bResult = IFRFbWriteEmbeded(pDevice, dwVT3226Pwr);
+bResult = IFRFbWriteEmbedded(pDevice, dwVT3226Pwr

[PATCH 3/3]NEXT:staging: "vt6655" Typo change *Caculate to *Calculate.

2012-08-20 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---
The below patch changes *Caculate to *Calculate in comments and code.

 drivers/staging/vt6655/baseband.c |6 ++--
 drivers/staging/vt6655/baseband.h |2 +-
 drivers/staging/vt6655/card.c |   62 ++---
 drivers/staging/vt6655/rxtx.c |   36 ++---
 drivers/staging/vt6655/tether.c   |4 +--
 drivers/staging/vt6655/tkip.c |2 +-
 6 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index 9a039ea..8d2c6a7 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -40,7 +40,7 @@
  * Revision History:
  *  06-10-2003 Bryan YC Fan:  Re-write codes to support VT3253 spec.
  *  08-07-2003 Bryan YC Fan:  Add MAXIM2827/2825 and RFMD2959 support.
- *  08-26-2003 Kyle Hsu:  Modify BBuGetFrameTime() and 
BBvCaculateParameter().
+ *  08-26-2003 Kyle Hsu:  Modify BBuGetFrameTime() and 
BBvCalculateParameter().
  *cancel the setting of MAC_REG_SOFTPWRCTL on 
BBbVT3253Init().
  *Add the comments.
  *  09-01-2003 Bryan YC Fan:  RF & BB tables updated.
@@ -1826,7 +1826,7 @@ BBuGetFrameTime (
 }
 
 /*
- * Description: Caculate Length, Service, and Signal fields of Phy for Tx
+ * Description: Calculate Length, Service, and Signal fields of Phy for Tx
  *
  * Parameters:
  *  In:
@@ -1842,7 +1842,7 @@ BBuGetFrameTime (
  *
  */
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
 PSDevice pDevice,
 unsigned int cbFrameLength,
 unsigned short wRate,
diff --git a/drivers/staging/vt6655/baseband.h 
b/drivers/staging/vt6655/baseband.h
index c6909fa..9b5bc9c 100644
--- a/drivers/staging/vt6655/baseband.h
+++ b/drivers/staging/vt6655/baseband.h
@@ -97,7 +97,7 @@ BBuGetFrameTime(
 );
 
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
 PSDevice pDevice,
 unsigned int cbFrameLength,
 unsigned short wRate,
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index b740cf2..319ca48 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -28,9 +28,9 @@
  *  CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
  *  CARDvSetLoopbackMode - Set Loopback mode
  *  CARDbSoftwareReset - Sortware reset NIC
- *  CARDqGetTSFOffset - Caculate TSFOffset
+ *  CARDqGetTSFOffset - Calculate TSFOffset
  *  CARDbGetCurrentTSF - Read Current NIC TSF counter
- *  CARDqGetNextTBTT - Caculate Next Beacon TSF counter
+ *  CARDqGetNextTBTT - Calculate Next Beacon TSF counter
  *  CARDvSetFirstNextTBTT - Set NIC Beacon time
  *  CARDvUpdateNextTBTT - Sync. NIC Beacon time
  *  CARDbRadioPowerOff - Turn Off NIC Radio Power
@@ -100,7 +100,7 @@ const unsigned short cwRXBCNTSFOff[MAX_RATE] =
 
 static
 void
-s_vCaculateOFDMRParameter(
+s_vCalculateOFDMRParameter(
 unsigned char byRate,
 CARD_PHY_TYPE ePHYType,
 unsigned char *pbyTxRate,
@@ -111,7 +111,7 @@ s_vCaculateOFDMRParameter(
 /*-  Export Functions  --*/
 
 /*
- * Description: Caculate TxRate and RsvTime fields for RSPINF in OFDM mode.
+ * Description: Calculate TxRate and RsvTime fields for RSPINF in OFDM mode.
  *
  * Parameters:
  *  In:
@@ -126,7 +126,7 @@ s_vCaculateOFDMRParameter(
  */
 static
 void
-s_vCaculateOFDMRParameter (
+s_vCalculateOFDMRParameter (
 unsigned char byRate,
 CARD_PHY_TYPE ePHYType,
 unsigned char *pbyTxRate,
@@ -251,7 +251,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 MACvSelectPage1(pDevice->PortOffset);
 
 //RSPINF_b_1
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_1M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYPE_11B,
@@ -262,7 +262,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 
 VNSvOutPortD(pDevice->PortOffset + MAC_REG_RSPINF_B_1, 
MAKEDWORD(wLen,MAKEWORD(bySignal,byServ)));
 ///RSPINF_b_2
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_2M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYPE_11B,
@@ -273,7 +273,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 
 VNSvOutPortD(pDevice->PortOffset + MAC_REG_RSPINF_B_2, 
MAKEDWORD(wLen,MAKEWORD(bySignal,byServ)));
 //RSPINF_b_5
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_5M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYP

[PATCH 2/3]NEXT:staging: "vt6655" Typo change *Embeded to *Embedded.

2012-08-20 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---
The below patch changes *Embeded to *Embedded in comments and code.
Note: I am grepping but grepping is being difficult, if I missed any let me know
and I will resubmit.

 drivers/staging/vt6655/baseband.c|  162 +-
 drivers/staging/vt6655/baseband.h|8 +-
 drivers/staging/vt6655/card.c|   36 
 drivers/staging/vt6655/device_main.c |2 +-
 drivers/staging/vt6655/rf.c  |   80 -
 drivers/staging/vt6655/rf.h  |2 +-
 6 files changed, 145 insertions(+), 145 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index 6a06f64..9a039ea 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -28,8 +28,8 @@
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
  *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
- *  BBbReadEmbeded - Embedded read baseband register via MAC
- *  BBbWriteEmbeded- Embedded write baseband register via MAC
+ *  BBbReadEmbedded - Embedded read baseband register via MAC
+ *  BBbWriteEmbedded- Embedded write baseband register via MAC
  *  BBbIsRegBitsOn - Test if baseband register bits on
  *  BBbIsRegBitsOff- Test if baseband register bits off
  *  BBbVT3253Init  - VIA VT3253 baseband chip init code
@@ -2013,7 +2013,7 @@ BBvCaculateParameter (
  * Return Value: true if succeeded; false if failed.
  *
  */
-bool BBbReadEmbeded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char *pbyData)
+bool BBbReadEmbedded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char *pbyData)
 {
 unsigned short ww;
 unsigned char byValue;
@@ -2056,7 +2056,7 @@ bool BBbReadEmbeded (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
  * Return Value: true if succeeded; false if failed.
  *
  */
-bool BBbWriteEmbeded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char byData)
+bool BBbWriteEmbedded (unsigned long dwIoBase, unsigned char byBBAddr, 
unsigned char byData)
 {
 unsigned short ww;
 unsigned char byValue;
@@ -2102,7 +2102,7 @@ bool BBbIsRegBitsOn (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
 {
 unsigned char byOrgData;
 
-BBbReadEmbeded(dwIoBase, byBBAddr, );
+BBbReadEmbedded(dwIoBase, byBBAddr, );
 return (byOrgData & byTestBits) == byTestBits;
 }
 
@@ -2125,7 +2125,7 @@ bool BBbIsRegBitsOff (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned c
 {
 unsigned char byOrgData;
 
-BBbReadEmbeded(dwIoBase, byBBAddr, );
+BBbReadEmbedded(dwIoBase, byBBAddr, );
 return (byOrgData & byTestBits) == 0;
 }
 
@@ -2155,14 +2155,14 @@ bool BBbVT3253Init (PSDevice pDevice)
 if (byRFType == RF_RFMD2959) {
 if (byLocalID <= REV_ID_VT3253_A1) {
 for (ii = 0; ii < CB_VT3253_INIT_FOR_RFMD; ii++) {
-bResult &= 
BBbWriteEmbeded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]);
+bResult &= 
BBbWriteEmbedded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]);
 }
 } else {
 for (ii = 0; ii < CB_VT3253B0_INIT_FOR_RFMD; ii++) {
-bResult &= 
BBbWriteEmbeded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]);
+bResult &= 
BBbWriteEmbedded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]);
 }
 for (ii = 0; ii < CB_VT3253B0_AGC_FOR_RFMD2959; ii++) {
-   bResult &= 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]);
+   bResult &= 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]);
 }
 VNSvOutPortD(dwIoBase + MAC_REG_ITRTMSET, 0x23);
 MACvRegBitsOn(dwIoBase, MAC_REG_PAPEDELAY, BIT0);
@@ -2177,10 +2177,10 @@ bool BBbVT3253Init (PSDevice pDevice)
 pDevice->ldBmThreshold[3] = 0;
 } else if ((byRFType == RF_AIROHA) || (byRFType == RF_AL2230S) ) {
 for (ii = 0; ii < CB_VT3253B0_INIT_FOR_AIROHA2230; ii++) {
-   bResult &= 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]);
+   bResult &= 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]);
}
 for (ii = 0; ii < CB_VT3253B0_AGC; ii++) {
-   bResult &= 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC[ii][0],byVT3253B0_AGC[ii][1]);
+   bResult &= 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AGC[ii][0],byVT3253B0_AGC[ii][1]);
}
 pDevice->abyBBVGA[0] = 0x1C;
 pDevice->abyBBVGA[1] = 0x10;
@@ -2192,10 +2192,10 @@ bool

[PATCH 1/3]NEXT:staging: "vt6655" Fix typos in comments.

2012-08-20 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---
Note: the patches must be applied in order.
The patch below is 1 out of 3 that I will be sending out for fixing typos in
staging vt6655. This patch mainly focuses on comments; patch 2 and 3 focus on 
actual code change.

 drivers/staging/vt6655/80211mgr.h|2 +-
 drivers/staging/vt6655/baseband.c|8 ++---
 drivers/staging/vt6655/bssdb.c   |4 +--
 drivers/staging/vt6655/card.c|3 +-
 drivers/staging/vt6655/datarate.c|2 +-
 drivers/staging/vt6655/device.h  |4 +--
 drivers/staging/vt6655/device_main.c |6 ++--
 drivers/staging/vt6655/dpc.c |2 +-
 drivers/staging/vt6655/ioctl.c   |2 +-
 drivers/staging/vt6655/iwctl.c   |6 ++--
 drivers/staging/vt6655/key.c |2 +-
 drivers/staging/vt6655/mac.c |   12 
 drivers/staging/vt6655/mac.h |2 +-
 drivers/staging/vt6655/mib.c |2 +-
 drivers/staging/vt6655/power.c   |2 +-
 drivers/staging/vt6655/rf.c  |   10 +++---
 drivers/staging/vt6655/rxtx.c|6 ++--
 drivers/staging/vt6655/tcrc.c|2 +-
 drivers/staging/vt6655/tcrc.h|2 +-
 drivers/staging/vt6655/vntwifi.c |2 +-
 drivers/staging/vt6655/wcmd.c|6 ++--
 drivers/staging/vt6655/wmgr.c|   56 +-
 drivers/staging/vt6655/wmgr.h|4 +--
 drivers/staging/vt6655/wpa.c |2 +-
 drivers/staging/vt6655/wpa2.c|8 ++---
 drivers/staging/vt6655/wpactl.c  |6 ++--
 drivers/staging/vt6655/wroute.c  |2 +-
 27 files changed, 83 insertions(+), 82 deletions(-)

diff --git a/drivers/staging/vt6655/80211mgr.h 
b/drivers/staging/vt6655/80211mgr.h
index 3bdab3f..65780f2 100644
--- a/drivers/staging/vt6655/80211mgr.h
+++ b/drivers/staging/vt6655/80211mgr.h
@@ -186,7 +186,7 @@
 
 
 //
-// Cipher Suite Selectors defiened in 802.11i
+// Cipher Suite Selectors defined in 802.11i
 //
 #define WLAN_11i_CSS_USE_GROUP  0
 #define WLAN_11i_CSS_WEP40  1
diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index e7b93a2..6a06f64 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -28,8 +28,8 @@
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
  *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
- *  BBbReadEmbeded - Embeded read baseband register via MAC
- *  BBbWriteEmbeded- Embeded write baseband register via MAC
+ *  BBbReadEmbeded - Embedded read baseband register via MAC
+ *  BBbWriteEmbeded- Embedded write baseband register via MAC
  *  BBbIsRegBitsOn - Test if baseband register bits on
  *  BBbIsRegBitsOff- Test if baseband register bits off
  *  BBbVT3253Init  - VIA VT3253 baseband chip init code
@@ -2001,7 +2001,7 @@ BBvCaculateParameter (
 }
 
 /*
- * Description: Read a byte from BASEBAND, by embeded programming
+ * Description: Read a byte from BASEBAND, by embedded programming
  *
  * Parameters:
  *  In:
@@ -2043,7 +2043,7 @@ bool BBbReadEmbeded (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
 
 
 /*
- * Description: Write a Byte to BASEBAND, by embeded programming
+ * Description: Write a Byte to BASEBAND, by embedded programming
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index fcffa4f..fe57fb8 100644
--- a/drivers/staging/vt6655/bssdb.c
+++ b/drivers/staging/vt6655/bssdb.c
@@ -784,8 +784,8 @@ BSSDBbIsSTAInNodeDB(void *pMgmtObject, unsigned char 
*abyDstAddr,
 /*+
  *
  * Routine Description:
- *Find an empty node and allocated; if no empty found,
- *instand used of most inactive one.
+ *Find an empty node and allocat it; if there is no empty node,
+ *then use the most inactive one.
  *
  * Return Value:
  *None
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index 2721e07..e2785c3 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -1354,7 +1354,8 @@ CARDbSetQuiet (
 /*
  *
  * Description:
- *Do Quiet, It will called by either ISR (after start) or VNTWIFI (before 
start) so do not need SPINLOCK
+ *Do Quiet, It will be called by either ISR(after start) 
+ *or VNTWIFI(before start) so we do not need a SPINLOCK
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6655/datarate.c 
b/drivers/staging/vt6655/datarate.c
index efbb8f4..b86ec1b 100644
--- a/drivers/staging/vt6655/datarate.c
+++ b/drivers/staging/vt6655/datarate.c
@@ -126,7 +126,7 @@ DATARATEbyGetRateIdx (
 /*+
  *
  * Routine Description:
- *  Rate fallback Algorithm Implementaion
+ *  Rate fallback Algorithm Implementation
  *
  * Parameters:
  *  In:
diff --git a/drivers/stag

[PATCH 3/3]NEXT:staging: vt6655 Typo change *Caculate to *Calculate.

2012-08-20 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
The below patch changes *Caculate to *Calculate in comments and code.

 drivers/staging/vt6655/baseband.c |6 ++--
 drivers/staging/vt6655/baseband.h |2 +-
 drivers/staging/vt6655/card.c |   62 ++---
 drivers/staging/vt6655/rxtx.c |   36 ++---
 drivers/staging/vt6655/tether.c   |4 +--
 drivers/staging/vt6655/tkip.c |2 +-
 6 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index 9a039ea..8d2c6a7 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -40,7 +40,7 @@
  * Revision History:
  *  06-10-2003 Bryan YC Fan:  Re-write codes to support VT3253 spec.
  *  08-07-2003 Bryan YC Fan:  Add MAXIM2827/2825 and RFMD2959 support.
- *  08-26-2003 Kyle Hsu:  Modify BBuGetFrameTime() and 
BBvCaculateParameter().
+ *  08-26-2003 Kyle Hsu:  Modify BBuGetFrameTime() and 
BBvCalculateParameter().
  *cancel the setting of MAC_REG_SOFTPWRCTL on 
BBbVT3253Init().
  *Add the comments.
  *  09-01-2003 Bryan YC Fan:  RF  BB tables updated.
@@ -1826,7 +1826,7 @@ BBuGetFrameTime (
 }
 
 /*
- * Description: Caculate Length, Service, and Signal fields of Phy for Tx
+ * Description: Calculate Length, Service, and Signal fields of Phy for Tx
  *
  * Parameters:
  *  In:
@@ -1842,7 +1842,7 @@ BBuGetFrameTime (
  *
  */
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
 PSDevice pDevice,
 unsigned int cbFrameLength,
 unsigned short wRate,
diff --git a/drivers/staging/vt6655/baseband.h 
b/drivers/staging/vt6655/baseband.h
index c6909fa..9b5bc9c 100644
--- a/drivers/staging/vt6655/baseband.h
+++ b/drivers/staging/vt6655/baseband.h
@@ -97,7 +97,7 @@ BBuGetFrameTime(
 );
 
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
 PSDevice pDevice,
 unsigned int cbFrameLength,
 unsigned short wRate,
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index b740cf2..319ca48 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -28,9 +28,9 @@
  *  CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
  *  CARDvSetLoopbackMode - Set Loopback mode
  *  CARDbSoftwareReset - Sortware reset NIC
- *  CARDqGetTSFOffset - Caculate TSFOffset
+ *  CARDqGetTSFOffset - Calculate TSFOffset
  *  CARDbGetCurrentTSF - Read Current NIC TSF counter
- *  CARDqGetNextTBTT - Caculate Next Beacon TSF counter
+ *  CARDqGetNextTBTT - Calculate Next Beacon TSF counter
  *  CARDvSetFirstNextTBTT - Set NIC Beacon time
  *  CARDvUpdateNextTBTT - Sync. NIC Beacon time
  *  CARDbRadioPowerOff - Turn Off NIC Radio Power
@@ -100,7 +100,7 @@ const unsigned short cwRXBCNTSFOff[MAX_RATE] =
 
 static
 void
-s_vCaculateOFDMRParameter(
+s_vCalculateOFDMRParameter(
 unsigned char byRate,
 CARD_PHY_TYPE ePHYType,
 unsigned char *pbyTxRate,
@@ -111,7 +111,7 @@ s_vCaculateOFDMRParameter(
 /*-  Export Functions  --*/
 
 /*
- * Description: Caculate TxRate and RsvTime fields for RSPINF in OFDM mode.
+ * Description: Calculate TxRate and RsvTime fields for RSPINF in OFDM mode.
  *
  * Parameters:
  *  In:
@@ -126,7 +126,7 @@ s_vCaculateOFDMRParameter(
  */
 static
 void
-s_vCaculateOFDMRParameter (
+s_vCalculateOFDMRParameter (
 unsigned char byRate,
 CARD_PHY_TYPE ePHYType,
 unsigned char *pbyTxRate,
@@ -251,7 +251,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 MACvSelectPage1(pDevice-PortOffset);
 
 //RSPINF_b_1
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_1M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYPE_11B,
@@ -262,7 +262,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 
 VNSvOutPortD(pDevice-PortOffset + MAC_REG_RSPINF_B_1, 
MAKEDWORD(wLen,MAKEWORD(bySignal,byServ)));
 ///RSPINF_b_2
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_2M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYPE_11B,
@@ -273,7 +273,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 
 VNSvOutPortD(pDevice-PortOffset + MAC_REG_RSPINF_B_2, 
MAKEDWORD(wLen,MAKEWORD(bySignal,byServ)));
 //RSPINF_b_5
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_5M, pvSupportRateIEs, 
pvExtSupportRateIEs

[PATCH 2/3]NEXT:staging: vt6655 Typo change *Embeded to *Embedded.

2012-08-20 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
The below patch changes *Embeded to *Embedded in comments and code.
Note: I am grepping but grepping is being difficult, if I missed any let me know
and I will resubmit.

 drivers/staging/vt6655/baseband.c|  162 +-
 drivers/staging/vt6655/baseband.h|8 +-
 drivers/staging/vt6655/card.c|   36 
 drivers/staging/vt6655/device_main.c |2 +-
 drivers/staging/vt6655/rf.c  |   80 -
 drivers/staging/vt6655/rf.h  |2 +-
 6 files changed, 145 insertions(+), 145 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index 6a06f64..9a039ea 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -28,8 +28,8 @@
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
  *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
- *  BBbReadEmbeded - Embedded read baseband register via MAC
- *  BBbWriteEmbeded- Embedded write baseband register via MAC
+ *  BBbReadEmbedded - Embedded read baseband register via MAC
+ *  BBbWriteEmbedded- Embedded write baseband register via MAC
  *  BBbIsRegBitsOn - Test if baseband register bits on
  *  BBbIsRegBitsOff- Test if baseband register bits off
  *  BBbVT3253Init  - VIA VT3253 baseband chip init code
@@ -2013,7 +2013,7 @@ BBvCaculateParameter (
  * Return Value: true if succeeded; false if failed.
  *
  */
-bool BBbReadEmbeded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char *pbyData)
+bool BBbReadEmbedded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char *pbyData)
 {
 unsigned short ww;
 unsigned char byValue;
@@ -2056,7 +2056,7 @@ bool BBbReadEmbeded (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
  * Return Value: true if succeeded; false if failed.
  *
  */
-bool BBbWriteEmbeded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char byData)
+bool BBbWriteEmbedded (unsigned long dwIoBase, unsigned char byBBAddr, 
unsigned char byData)
 {
 unsigned short ww;
 unsigned char byValue;
@@ -2102,7 +2102,7 @@ bool BBbIsRegBitsOn (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
 {
 unsigned char byOrgData;
 
-BBbReadEmbeded(dwIoBase, byBBAddr, byOrgData);
+BBbReadEmbedded(dwIoBase, byBBAddr, byOrgData);
 return (byOrgData  byTestBits) == byTestBits;
 }
 
@@ -2125,7 +2125,7 @@ bool BBbIsRegBitsOff (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned c
 {
 unsigned char byOrgData;
 
-BBbReadEmbeded(dwIoBase, byBBAddr, byOrgData);
+BBbReadEmbedded(dwIoBase, byBBAddr, byOrgData);
 return (byOrgData  byTestBits) == 0;
 }
 
@@ -2155,14 +2155,14 @@ bool BBbVT3253Init (PSDevice pDevice)
 if (byRFType == RF_RFMD2959) {
 if (byLocalID = REV_ID_VT3253_A1) {
 for (ii = 0; ii  CB_VT3253_INIT_FOR_RFMD; ii++) {
-bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]);
+bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]);
 }
 } else {
 for (ii = 0; ii  CB_VT3253B0_INIT_FOR_RFMD; ii++) {
-bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]);
+bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]);
 }
 for (ii = 0; ii  CB_VT3253B0_AGC_FOR_RFMD2959; ii++) {
-   bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]);
+   bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]);
 }
 VNSvOutPortD(dwIoBase + MAC_REG_ITRTMSET, 0x23);
 MACvRegBitsOn(dwIoBase, MAC_REG_PAPEDELAY, BIT0);
@@ -2177,10 +2177,10 @@ bool BBbVT3253Init (PSDevice pDevice)
 pDevice-ldBmThreshold[3] = 0;
 } else if ((byRFType == RF_AIROHA) || (byRFType == RF_AL2230S) ) {
 for (ii = 0; ii  CB_VT3253B0_INIT_FOR_AIROHA2230; ii++) {
-   bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]);
+   bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]);
}
 for (ii = 0; ii  CB_VT3253B0_AGC; ii++) {
-   bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC[ii][0],byVT3253B0_AGC[ii][1]);
+   bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AGC[ii][0],byVT3253B0_AGC[ii][1]);
}
 pDevice-abyBBVGA[0] = 0x1C;
 pDevice-abyBBVGA[1] = 0x10;
@@ -2192,10 +2192,10 @@ bool BBbVT3253Init (PSDevice pDevice

[PATCH 1/3]NEXT:staging: vt6655 Fix typos in comments.

2012-08-20 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
Note: the patches must be applied in order.
The patch below is 1 out of 3 that I will be sending out for fixing typos in
staging vt6655. This patch mainly focuses on comments; patch 2 and 3 focus on 
actual code change.

 drivers/staging/vt6655/80211mgr.h|2 +-
 drivers/staging/vt6655/baseband.c|8 ++---
 drivers/staging/vt6655/bssdb.c   |4 +--
 drivers/staging/vt6655/card.c|3 +-
 drivers/staging/vt6655/datarate.c|2 +-
 drivers/staging/vt6655/device.h  |4 +--
 drivers/staging/vt6655/device_main.c |6 ++--
 drivers/staging/vt6655/dpc.c |2 +-
 drivers/staging/vt6655/ioctl.c   |2 +-
 drivers/staging/vt6655/iwctl.c   |6 ++--
 drivers/staging/vt6655/key.c |2 +-
 drivers/staging/vt6655/mac.c |   12 
 drivers/staging/vt6655/mac.h |2 +-
 drivers/staging/vt6655/mib.c |2 +-
 drivers/staging/vt6655/power.c   |2 +-
 drivers/staging/vt6655/rf.c  |   10 +++---
 drivers/staging/vt6655/rxtx.c|6 ++--
 drivers/staging/vt6655/tcrc.c|2 +-
 drivers/staging/vt6655/tcrc.h|2 +-
 drivers/staging/vt6655/vntwifi.c |2 +-
 drivers/staging/vt6655/wcmd.c|6 ++--
 drivers/staging/vt6655/wmgr.c|   56 +-
 drivers/staging/vt6655/wmgr.h|4 +--
 drivers/staging/vt6655/wpa.c |2 +-
 drivers/staging/vt6655/wpa2.c|8 ++---
 drivers/staging/vt6655/wpactl.c  |6 ++--
 drivers/staging/vt6655/wroute.c  |2 +-
 27 files changed, 83 insertions(+), 82 deletions(-)

diff --git a/drivers/staging/vt6655/80211mgr.h 
b/drivers/staging/vt6655/80211mgr.h
index 3bdab3f..65780f2 100644
--- a/drivers/staging/vt6655/80211mgr.h
+++ b/drivers/staging/vt6655/80211mgr.h
@@ -186,7 +186,7 @@
 
 
 //
-// Cipher Suite Selectors defiened in 802.11i
+// Cipher Suite Selectors defined in 802.11i
 //
 #define WLAN_11i_CSS_USE_GROUP  0
 #define WLAN_11i_CSS_WEP40  1
diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index e7b93a2..6a06f64 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -28,8 +28,8 @@
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
  *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
- *  BBbReadEmbeded - Embeded read baseband register via MAC
- *  BBbWriteEmbeded- Embeded write baseband register via MAC
+ *  BBbReadEmbeded - Embedded read baseband register via MAC
+ *  BBbWriteEmbeded- Embedded write baseband register via MAC
  *  BBbIsRegBitsOn - Test if baseband register bits on
  *  BBbIsRegBitsOff- Test if baseband register bits off
  *  BBbVT3253Init  - VIA VT3253 baseband chip init code
@@ -2001,7 +2001,7 @@ BBvCaculateParameter (
 }
 
 /*
- * Description: Read a byte from BASEBAND, by embeded programming
+ * Description: Read a byte from BASEBAND, by embedded programming
  *
  * Parameters:
  *  In:
@@ -2043,7 +2043,7 @@ bool BBbReadEmbeded (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
 
 
 /*
- * Description: Write a Byte to BASEBAND, by embeded programming
+ * Description: Write a Byte to BASEBAND, by embedded programming
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index fcffa4f..fe57fb8 100644
--- a/drivers/staging/vt6655/bssdb.c
+++ b/drivers/staging/vt6655/bssdb.c
@@ -784,8 +784,8 @@ BSSDBbIsSTAInNodeDB(void *pMgmtObject, unsigned char 
*abyDstAddr,
 /*+
  *
  * Routine Description:
- *Find an empty node and allocated; if no empty found,
- *instand used of most inactive one.
+ *Find an empty node and allocat it; if there is no empty node,
+ *then use the most inactive one.
  *
  * Return Value:
  *None
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index 2721e07..e2785c3 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -1354,7 +1354,8 @@ CARDbSetQuiet (
 /*
  *
  * Description:
- *Do Quiet, It will called by either ISR (after start) or VNTWIFI (before 
start) so do not need SPINLOCK
+ *Do Quiet, It will be called by either ISR(after start) 
+ *or VNTWIFI(before start) so we do not need a SPINLOCK
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6655/datarate.c 
b/drivers/staging/vt6655/datarate.c
index efbb8f4..b86ec1b 100644
--- a/drivers/staging/vt6655/datarate.c
+++ b/drivers/staging/vt6655/datarate.c
@@ -126,7 +126,7 @@ DATARATEbyGetRateIdx (
 /*+
  *
  * Routine Description:
- *  Rate fallback Algorithm Implementaion
+ *  Rate fallback Algorithm Implementation
  *
  * Parameters

[PATCH 1/3]NEXT:staging: vt6655 Fix typos in comments.

2012-08-20 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
Note: the patches must be applied in order.
The patch below is 1 out of 3 that I will be sending out for fixing typos in
staging vt6655. This patch mainly focuses on comments; patch 2 and 3 focus on 
actual code change.

 drivers/staging/vt6655/80211mgr.h|2 +-
 drivers/staging/vt6655/baseband.c|8 ++---
 drivers/staging/vt6655/bssdb.c   |4 +--
 drivers/staging/vt6655/card.c|3 +-
 drivers/staging/vt6655/datarate.c|2 +-
 drivers/staging/vt6655/device.h  |4 +--
 drivers/staging/vt6655/device_main.c |6 ++--
 drivers/staging/vt6655/dpc.c |2 +-
 drivers/staging/vt6655/ioctl.c   |2 +-
 drivers/staging/vt6655/iwctl.c   |6 ++--
 drivers/staging/vt6655/key.c |2 +-
 drivers/staging/vt6655/mac.c |   12 
 drivers/staging/vt6655/mac.h |2 +-
 drivers/staging/vt6655/mib.c |2 +-
 drivers/staging/vt6655/power.c   |2 +-
 drivers/staging/vt6655/rf.c  |   10 +++---
 drivers/staging/vt6655/rxtx.c|6 ++--
 drivers/staging/vt6655/tcrc.c|2 +-
 drivers/staging/vt6655/tcrc.h|2 +-
 drivers/staging/vt6655/vntwifi.c |2 +-
 drivers/staging/vt6655/wcmd.c|6 ++--
 drivers/staging/vt6655/wmgr.c|   56 +-
 drivers/staging/vt6655/wmgr.h|4 +--
 drivers/staging/vt6655/wpa.c |2 +-
 drivers/staging/vt6655/wpa2.c|8 ++---
 drivers/staging/vt6655/wpactl.c  |6 ++--
 drivers/staging/vt6655/wroute.c  |2 +-
 27 files changed, 83 insertions(+), 82 deletions(-)

diff --git a/drivers/staging/vt6655/80211mgr.h 
b/drivers/staging/vt6655/80211mgr.h
index 3bdab3f..65780f2 100644
--- a/drivers/staging/vt6655/80211mgr.h
+++ b/drivers/staging/vt6655/80211mgr.h
@@ -186,7 +186,7 @@
 
 
 //
-// Cipher Suite Selectors defiened in 802.11i
+// Cipher Suite Selectors defined in 802.11i
 //
 #define WLAN_11i_CSS_USE_GROUP  0
 #define WLAN_11i_CSS_WEP40  1
diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index e7b93a2..6a06f64 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -28,8 +28,8 @@
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
  *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
- *  BBbReadEmbeded - Embeded read baseband register via MAC
- *  BBbWriteEmbeded- Embeded write baseband register via MAC
+ *  BBbReadEmbeded - Embedded read baseband register via MAC
+ *  BBbWriteEmbeded- Embedded write baseband register via MAC
  *  BBbIsRegBitsOn - Test if baseband register bits on
  *  BBbIsRegBitsOff- Test if baseband register bits off
  *  BBbVT3253Init  - VIA VT3253 baseband chip init code
@@ -2001,7 +2001,7 @@ BBvCaculateParameter (
 }
 
 /*
- * Description: Read a byte from BASEBAND, by embeded programming
+ * Description: Read a byte from BASEBAND, by embedded programming
  *
  * Parameters:
  *  In:
@@ -2043,7 +2043,7 @@ bool BBbReadEmbeded (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
 
 
 /*
- * Description: Write a Byte to BASEBAND, by embeded programming
+ * Description: Write a Byte to BASEBAND, by embedded programming
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index fcffa4f..fe57fb8 100644
--- a/drivers/staging/vt6655/bssdb.c
+++ b/drivers/staging/vt6655/bssdb.c
@@ -784,8 +784,8 @@ BSSDBbIsSTAInNodeDB(void *pMgmtObject, unsigned char 
*abyDstAddr,
 /*+
  *
  * Routine Description:
- *Find an empty node and allocated; if no empty found,
- *instand used of most inactive one.
+ *Find an empty node and allocat it; if there is no empty node,
+ *then use the most inactive one.
  *
  * Return Value:
  *None
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index 2721e07..e2785c3 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -1354,7 +1354,8 @@ CARDbSetQuiet (
 /*
  *
  * Description:
- *Do Quiet, It will called by either ISR (after start) or VNTWIFI (before 
start) so do not need SPINLOCK
+ *Do Quiet, It will be called by either ISR(after start) 
+ *or VNTWIFI(before start) so we do not need a SPINLOCK
  *
  * Parameters:
  *  In:
diff --git a/drivers/staging/vt6655/datarate.c 
b/drivers/staging/vt6655/datarate.c
index efbb8f4..b86ec1b 100644
--- a/drivers/staging/vt6655/datarate.c
+++ b/drivers/staging/vt6655/datarate.c
@@ -126,7 +126,7 @@ DATARATEbyGetRateIdx (
 /*+
  *
  * Routine Description:
- *  Rate fallback Algorithm Implementaion
+ *  Rate fallback Algorithm Implementation
  *
  * Parameters

[PATCH 2/3]NEXT:staging: vt6655 Typo change *Embeded to *Embedded.

2012-08-20 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
The below patch changes *Embeded to *Embedded in comments and code.
Note: I am grepping but grepping is being difficult, if I missed any let me know
and I will resubmit.

 drivers/staging/vt6655/baseband.c|  162 +-
 drivers/staging/vt6655/baseband.h|8 +-
 drivers/staging/vt6655/card.c|   36 
 drivers/staging/vt6655/device_main.c |2 +-
 drivers/staging/vt6655/rf.c  |   80 -
 drivers/staging/vt6655/rf.h  |2 +-
 6 files changed, 145 insertions(+), 145 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index 6a06f64..9a039ea 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -28,8 +28,8 @@
  * Functions:
  *  BBuGetFrameTime- Calculate data frame transmitting time
  *  BBvCaculateParameter   - Caculate PhyLength, PhyService and Phy Signal 
parameter for baseband Tx
- *  BBbReadEmbeded - Embedded read baseband register via MAC
- *  BBbWriteEmbeded- Embedded write baseband register via MAC
+ *  BBbReadEmbedded - Embedded read baseband register via MAC
+ *  BBbWriteEmbedded- Embedded write baseband register via MAC
  *  BBbIsRegBitsOn - Test if baseband register bits on
  *  BBbIsRegBitsOff- Test if baseband register bits off
  *  BBbVT3253Init  - VIA VT3253 baseband chip init code
@@ -2013,7 +2013,7 @@ BBvCaculateParameter (
  * Return Value: true if succeeded; false if failed.
  *
  */
-bool BBbReadEmbeded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char *pbyData)
+bool BBbReadEmbedded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char *pbyData)
 {
 unsigned short ww;
 unsigned char byValue;
@@ -2056,7 +2056,7 @@ bool BBbReadEmbeded (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
  * Return Value: true if succeeded; false if failed.
  *
  */
-bool BBbWriteEmbeded (unsigned long dwIoBase, unsigned char byBBAddr, unsigned 
char byData)
+bool BBbWriteEmbedded (unsigned long dwIoBase, unsigned char byBBAddr, 
unsigned char byData)
 {
 unsigned short ww;
 unsigned char byValue;
@@ -2102,7 +2102,7 @@ bool BBbIsRegBitsOn (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned ch
 {
 unsigned char byOrgData;
 
-BBbReadEmbeded(dwIoBase, byBBAddr, byOrgData);
+BBbReadEmbedded(dwIoBase, byBBAddr, byOrgData);
 return (byOrgData  byTestBits) == byTestBits;
 }
 
@@ -2125,7 +2125,7 @@ bool BBbIsRegBitsOff (unsigned long dwIoBase, unsigned 
char byBBAddr, unsigned c
 {
 unsigned char byOrgData;
 
-BBbReadEmbeded(dwIoBase, byBBAddr, byOrgData);
+BBbReadEmbedded(dwIoBase, byBBAddr, byOrgData);
 return (byOrgData  byTestBits) == 0;
 }
 
@@ -2155,14 +2155,14 @@ bool BBbVT3253Init (PSDevice pDevice)
 if (byRFType == RF_RFMD2959) {
 if (byLocalID = REV_ID_VT3253_A1) {
 for (ii = 0; ii  CB_VT3253_INIT_FOR_RFMD; ii++) {
-bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]);
+bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]);
 }
 } else {
 for (ii = 0; ii  CB_VT3253B0_INIT_FOR_RFMD; ii++) {
-bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]);
+bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]);
 }
 for (ii = 0; ii  CB_VT3253B0_AGC_FOR_RFMD2959; ii++) {
-   bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]);
+   bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]);
 }
 VNSvOutPortD(dwIoBase + MAC_REG_ITRTMSET, 0x23);
 MACvRegBitsOn(dwIoBase, MAC_REG_PAPEDELAY, BIT0);
@@ -2177,10 +2177,10 @@ bool BBbVT3253Init (PSDevice pDevice)
 pDevice-ldBmThreshold[3] = 0;
 } else if ((byRFType == RF_AIROHA) || (byRFType == RF_AL2230S) ) {
 for (ii = 0; ii  CB_VT3253B0_INIT_FOR_AIROHA2230; ii++) {
-   bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]);
+   bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]);
}
 for (ii = 0; ii  CB_VT3253B0_AGC; ii++) {
-   bResult = 
BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC[ii][0],byVT3253B0_AGC[ii][1]);
+   bResult = 
BBbWriteEmbedded(dwIoBase,byVT3253B0_AGC[ii][0],byVT3253B0_AGC[ii][1]);
}
 pDevice-abyBBVGA[0] = 0x1C;
 pDevice-abyBBVGA[1] = 0x10;
@@ -2192,10 +2192,10 @@ bool BBbVT3253Init (PSDevice pDevice

[PATCH 3/3]NEXT:staging: vt6655 Typo change *Caculate to *Calculate.

2012-08-20 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
The below patch changes *Caculate to *Calculate in comments and code.

 drivers/staging/vt6655/baseband.c |6 ++--
 drivers/staging/vt6655/baseband.h |2 +-
 drivers/staging/vt6655/card.c |   62 ++---
 drivers/staging/vt6655/rxtx.c |   36 ++---
 drivers/staging/vt6655/tether.c   |4 +--
 drivers/staging/vt6655/tkip.c |2 +-
 6 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.c 
b/drivers/staging/vt6655/baseband.c
index 9a039ea..8d2c6a7 100644
--- a/drivers/staging/vt6655/baseband.c
+++ b/drivers/staging/vt6655/baseband.c
@@ -40,7 +40,7 @@
  * Revision History:
  *  06-10-2003 Bryan YC Fan:  Re-write codes to support VT3253 spec.
  *  08-07-2003 Bryan YC Fan:  Add MAXIM2827/2825 and RFMD2959 support.
- *  08-26-2003 Kyle Hsu:  Modify BBuGetFrameTime() and 
BBvCaculateParameter().
+ *  08-26-2003 Kyle Hsu:  Modify BBuGetFrameTime() and 
BBvCalculateParameter().
  *cancel the setting of MAC_REG_SOFTPWRCTL on 
BBbVT3253Init().
  *Add the comments.
  *  09-01-2003 Bryan YC Fan:  RF  BB tables updated.
@@ -1826,7 +1826,7 @@ BBuGetFrameTime (
 }
 
 /*
- * Description: Caculate Length, Service, and Signal fields of Phy for Tx
+ * Description: Calculate Length, Service, and Signal fields of Phy for Tx
  *
  * Parameters:
  *  In:
@@ -1842,7 +1842,7 @@ BBuGetFrameTime (
  *
  */
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
 PSDevice pDevice,
 unsigned int cbFrameLength,
 unsigned short wRate,
diff --git a/drivers/staging/vt6655/baseband.h 
b/drivers/staging/vt6655/baseband.h
index c6909fa..9b5bc9c 100644
--- a/drivers/staging/vt6655/baseband.h
+++ b/drivers/staging/vt6655/baseband.h
@@ -97,7 +97,7 @@ BBuGetFrameTime(
 );
 
 void
-BBvCaculateParameter (
+BBvCalculateParameter (
 PSDevice pDevice,
 unsigned int cbFrameLength,
 unsigned short wRate,
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index b740cf2..319ca48 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -28,9 +28,9 @@
  *  CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
  *  CARDvSetLoopbackMode - Set Loopback mode
  *  CARDbSoftwareReset - Sortware reset NIC
- *  CARDqGetTSFOffset - Caculate TSFOffset
+ *  CARDqGetTSFOffset - Calculate TSFOffset
  *  CARDbGetCurrentTSF - Read Current NIC TSF counter
- *  CARDqGetNextTBTT - Caculate Next Beacon TSF counter
+ *  CARDqGetNextTBTT - Calculate Next Beacon TSF counter
  *  CARDvSetFirstNextTBTT - Set NIC Beacon time
  *  CARDvUpdateNextTBTT - Sync. NIC Beacon time
  *  CARDbRadioPowerOff - Turn Off NIC Radio Power
@@ -100,7 +100,7 @@ const unsigned short cwRXBCNTSFOff[MAX_RATE] =
 
 static
 void
-s_vCaculateOFDMRParameter(
+s_vCalculateOFDMRParameter(
 unsigned char byRate,
 CARD_PHY_TYPE ePHYType,
 unsigned char *pbyTxRate,
@@ -111,7 +111,7 @@ s_vCaculateOFDMRParameter(
 /*-  Export Functions  --*/
 
 /*
- * Description: Caculate TxRate and RsvTime fields for RSPINF in OFDM mode.
+ * Description: Calculate TxRate and RsvTime fields for RSPINF in OFDM mode.
  *
  * Parameters:
  *  In:
@@ -126,7 +126,7 @@ s_vCaculateOFDMRParameter(
  */
 static
 void
-s_vCaculateOFDMRParameter (
+s_vCalculateOFDMRParameter (
 unsigned char byRate,
 CARD_PHY_TYPE ePHYType,
 unsigned char *pbyTxRate,
@@ -251,7 +251,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 MACvSelectPage1(pDevice-PortOffset);
 
 //RSPINF_b_1
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_1M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYPE_11B,
@@ -262,7 +262,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 
 VNSvOutPortD(pDevice-PortOffset + MAC_REG_RSPINF_B_1, 
MAKEDWORD(wLen,MAKEWORD(bySignal,byServ)));
 ///RSPINF_b_2
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_2M, pvSupportRateIEs, 
pvExtSupportRateIEs),
  PK_TYPE_11B,
@@ -273,7 +273,7 @@ s_vSetRSPINF (PSDevice pDevice, CARD_PHY_TYPE ePHYType, 
void *pvSupportRateIEs,
 
 VNSvOutPortD(pDevice-PortOffset + MAC_REG_RSPINF_B_2, 
MAKEDWORD(wLen,MAKEWORD(bySignal,byServ)));
 //RSPINF_b_5
-BBvCaculateParameter(pDevice,
+BBvCalculateParameter(pDevice,
  14,
  VNTWIFIbyGetACKTxRate(RATE_5M, pvSupportRateIEs, 
pvExtSupportRateIEs

[PATCH v2]staging "vme" Fix typos.

2012-08-13 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---
Note:resend with minor adjustments.
The below patch fixes typos found while reading through staging "vme"

 drivers/staging/vme/devices/vme_user.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_user.c 
b/drivers/staging/vme/devices/vme_user.c
index e25645e..0170788 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -64,13 +64,13 @@ static unsigned int bus_num;
  *
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
- * saner interface later.
+ * http://www.vmelinux.org/ as an alternative the driver can be written
+ * providing a saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
  * for slaves were repurposed to support all 8 master images on the UniverseII!
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user 
*buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.
  * Small transfers will go user space -> buffer -> VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH]staging "vme" Fix typos.

2012-08-13 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging "vme"

 drivers/staging/vme/devices/Kconfig|2 +-
 drivers/staging/vme/devices/vme_user.c |6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/Kconfig 
b/drivers/staging/vme/devices/Kconfig
index d0cab17..5504ab4 100644
--- a/drivers/staging/vme/devices/Kconfig
+++ b/drivers/staging/vme/devices/Kconfig
@@ -5,7 +5,7 @@ config VME_USER
depends on STAGING
help
  If you say Y here you want to be able to access a limited number of
- VME windows in a manner at least semi-compatible with the interface
+ VME windows in a manner atleast semi-compatible with the interface
  provided with the original driver at http://vmelinux.org/.
 
 config VME_PIO2
diff --git a/drivers/staging/vme/devices/vme_user.c 
b/drivers/staging/vme/devices/vme_user.c
index e25645e..46f60d6 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -64,12 +64,12 @@ static unsigned int bus_num;
  *
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
+ * http://www.vmelinux.org/ as an alternative the driver can be written 
providing a
  * saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user 
*buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.
  * Small transfers will go user space -> buffer -> VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2]staging vme Fix typos.

2012-08-13 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
Note:resend with minor adjustments.
The below patch fixes typos found while reading through staging vme

 drivers/staging/vme/devices/vme_user.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_user.c 
b/drivers/staging/vme/devices/vme_user.c
index e25645e..0170788 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -64,13 +64,13 @@ static unsigned int bus_num;
  *
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
- * saner interface later.
+ * http://www.vmelinux.org/ as an alternative the driver can be written
+ * providing a saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
  * for slaves were repurposed to support all 8 master images on the UniverseII!
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user 
*buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.
  * Small transfers will go user space - buffer - VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
-- 
1.7.5.4

___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH]staging vme Fix typos.

2012-08-13 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging vme

 drivers/staging/vme/devices/Kconfig|2 +-
 drivers/staging/vme/devices/vme_user.c |6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/Kconfig 
b/drivers/staging/vme/devices/Kconfig
index d0cab17..5504ab4 100644
--- a/drivers/staging/vme/devices/Kconfig
+++ b/drivers/staging/vme/devices/Kconfig
@@ -5,7 +5,7 @@ config VME_USER
depends on STAGING
help
  If you say Y here you want to be able to access a limited number of
- VME windows in a manner at least semi-compatible with the interface
+ VME windows in a manner atleast semi-compatible with the interface
  provided with the original driver at http://vmelinux.org/.
 
 config VME_PIO2
diff --git a/drivers/staging/vme/devices/vme_user.c 
b/drivers/staging/vme/devices/vme_user.c
index e25645e..46f60d6 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -64,12 +64,12 @@ static unsigned int bus_num;
  *
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
+ * http://www.vmelinux.org/ as an alternative the driver can be written 
providing a
  * saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user 
*buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.
  * Small transfers will go user space - buffer - VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2]staging vme Fix typos.

2012-08-13 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
Note:resend with minor adjustments.
The below patch fixes typos found while reading through staging vme

 drivers/staging/vme/devices/vme_user.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_user.c 
b/drivers/staging/vme/devices/vme_user.c
index e25645e..0170788 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -64,13 +64,13 @@ static unsigned int bus_num;
  *
  * However the VME driver at http://www.vmelinux.org/ is rather old and doesn't
  * even support the tsi148 chipset (which has 8 master and 8 slave windows).
- * We'll run with this or now as far as possible, however it probably makes
+ * We'll run with this for now as far as possible, however it probably makes
  * sense to get rid of the old mappings and just do everything dynamically.
  *
  * So for now, we'll restrict the driver to providing 4 masters and 4 slaves as
  * defined above and try to support at least some of the interface from
- * http://www.vmelinux.org/ as an alternative drive can be written providing a
- * saner interface later.
+ * http://www.vmelinux.org/ as an alternative the driver can be written
+ * providing a saner interface later.
  *
  * The vmelinux.org driver never supported slave images, the devices reserved
  * for slaves were repurposed to support all 8 master images on the UniverseII!
@@ -242,7 +242,7 @@ static ssize_t resource_to_user(int minor, char __user 
*buf, size_t count,
 }
 
 /*
- * We are going ot alloc a page during init per window for small transfers.
+ * We are going to alloc a page during init per window for small transfers.
  * Small transfers will go user space - buffer - VME. Larger (more than a
  * page) transfers will lock the user space buffer into memory and then
  * transfer the data directly from the user space buffers out to VME.
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2]staging "usbip" Fix typos.

2012-08-06 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---
NOTE:I see *rc1 in the git web log, so hopefully its ok to send out.
The below patch fixes typos found while reading through staging usbip.

 drivers/staging/usbip/stub_rx.c  |2 +-
 drivers/staging/usbip/vhci_hcd.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 * eventually reassigned to the device as far as driver matching
 * condition is kept.
 *
-* Unfortunatelly, an existing usbip connection will be dropped
+* Unfortunately, an existing usbip connection will be dropped
 * due to this driver unbinding. So, skip here.
 * A user may need to set a special configuration value before
 * exporting the device.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..a5b028d 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device 
*ud)
 *  disable endpoints. pending urbs are unlinked(dequeued).
 *
 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-* deteched device should release used urbs in a cleanup function(i.e.
+* detached device should release used urbs in a cleanup function (i.e.
 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 * pushed urbs and their private data in this function.
 *
-* NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+* NOTE: vhci_dequeue() must be considered carefully. When shutting down
 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 * gives back pushed urbs and frees their private data by request of
 * the cleanup function of a USB driver. When unlinking a urb with an
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2]staging usbip Fix typos.

2012-08-06 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
NOTE:I see *rc1 in the git web log, so hopefully its ok to send out.
The below patch fixes typos found while reading through staging usbip.

 drivers/staging/usbip/stub_rx.c  |2 +-
 drivers/staging/usbip/vhci_hcd.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 * eventually reassigned to the device as far as driver matching
 * condition is kept.
 *
-* Unfortunatelly, an existing usbip connection will be dropped
+* Unfortunately, an existing usbip connection will be dropped
 * due to this driver unbinding. So, skip here.
 * A user may need to set a special configuration value before
 * exporting the device.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..a5b028d 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device 
*ud)
 *  disable endpoints. pending urbs are unlinked(dequeued).
 *
 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-* deteched device should release used urbs in a cleanup function(i.e.
+* detached device should release used urbs in a cleanup function (i.e.
 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 * pushed urbs and their private data in this function.
 *
-* NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+* NOTE: vhci_dequeue() must be considered carefully. When shutting down
 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 * gives back pushed urbs and frees their private data by request of
 * the cleanup function of a USB driver. When unlinking a urb with an
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2]staging usbip Fix typos.

2012-08-06 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---
NOTE:I see *rc1 in the git web log, so hopefully its ok to send out.
The below patch fixes typos found while reading through staging usbip.

 drivers/staging/usbip/stub_rx.c  |2 +-
 drivers/staging/usbip/vhci_hcd.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 * eventually reassigned to the device as far as driver matching
 * condition is kept.
 *
-* Unfortunatelly, an existing usbip connection will be dropped
+* Unfortunately, an existing usbip connection will be dropped
 * due to this driver unbinding. So, skip here.
 * A user may need to set a special configuration value before
 * exporting the device.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..a5b028d 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device 
*ud)
 *  disable endpoints. pending urbs are unlinked(dequeued).
 *
 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-* deteched device should release used urbs in a cleanup function(i.e.
+* detached device should release used urbs in a cleanup function (i.e.
 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 * pushed urbs and their private data in this function.
 *
-* NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+* NOTE: vhci_dequeue() must be considered carefully. When shutting down
 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 * gives back pushed urbs and frees their private data by request of
 * the cleanup function of a USB driver. When unlinking a urb with an
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH NEXT v2]staging: tidspbridge: Fix typos.

2012-07-30 Thread Justin P. Mattock

greg!
I know how things can get lost in the sands of time, so when you get a 
chance is this patch good? or do I need to resend?


On 07/23/2012 08:40 PM, Justin P. Mattock wrote:

From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging: tidsbridge:

  .../staging/tidspbridge/Documentation/error-codes  |2 +-
  drivers/staging/tidspbridge/core/_tiomap.h |2 +-
  drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
  drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
  drivers/staging/tidspbridge/core/sync.c|2 +-
  drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
  drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
  drivers/staging/tidspbridge/dynload/tramp.c|8 
  drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
  .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
  .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
  drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
  drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
  drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
  drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
  drivers/staging/tidspbridge/rmgr/node.c|2 +-
  drivers/staging/tidspbridge/rmgr/proc.c|2 +-
  22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
  Invalid pointer or handler.

  [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.

  [EINVAL]
  Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
  /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
  #define MBX_CORE2_RESOURCES 1

-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
  #define MBX_PM_MAX_RESOURCES 11

  /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
   *  The lower edge functions must be implemented by the Bridge driver
   *  writer, and are declared in chnl_sm.h.
   *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
   *  queues from
   *  1. Threads.
   *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
   *  Channel Invariant:
   *  There is an important invariant condition which must be maintained per
   *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
   *  This invariant condition is:
   *
   *  list_empty(>io_completions) ==> pchnl->sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
  /*
  

[PATCH]staging: usbip: Fix typos.

2012-07-30 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging: usbip

 drivers/staging/usbip/stub_rx.c  |2 +-
 drivers/staging/usbip/vhci_hcd.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 * eventually reassigned to the device as far as driver matching
 * condition is kept.
 *
-* Unfortunatelly, an existing usbip connection will be dropped
+* Unfortunately, an existing usbip connection will be dropped
 * due to this driver unbinding. So, skip here.
 * A user may need to set a special configuration value before
 * exporting the device.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..dd15dc0 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device 
*ud)
 *  disable endpoints. pending urbs are unlinked(dequeued).
 *
 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-* deteched device should release used urbs in a cleanup function(i.e.
+* detached device should release used urbs in a cleanup function(i.e.
 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 * pushed urbs and their private data in this function.
 *
-* NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+* NOTE: vhci_dequeue() must be considered carefully. When shuting down
 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 * gives back pushed urbs and frees their private data by request of
 * the cleanup function of a USB driver. When unlinking a urb with an
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH NEXT v2]staging: tidspbridge: Fix typos.

2012-07-30 Thread Justin P. Mattock

greg!
I know how things can get lost in the sands of time, so when you get a 
chance is this patch good? or do I need to resend?


On 07/23/2012 08:40 PM, Justin P. Mattock wrote:

From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging: tidsbridge:

  .../staging/tidspbridge/Documentation/error-codes  |2 +-
  drivers/staging/tidspbridge/core/_tiomap.h |2 +-
  drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
  drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
  drivers/staging/tidspbridge/core/sync.c|2 +-
  drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
  drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
  drivers/staging/tidspbridge/dynload/tramp.c|8 
  drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
  .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
  .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
  drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
  drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
  drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
  drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
  drivers/staging/tidspbridge/rmgr/node.c|2 +-
  drivers/staging/tidspbridge/rmgr/proc.c|2 +-
  22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
  Invalid pointer or handler.

  [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.

  [EINVAL]
  Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
  /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
  #define MBX_CORE2_RESOURCES 1

-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
  #define MBX_PM_MAX_RESOURCES 11

  /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
   *  The lower edge functions must be implemented by the Bridge driver
   *  writer, and are declared in chnl_sm.h.
   *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
   *  queues from
   *  1. Threads.
   *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
   *  Channel Invariant:
   *  There is an important invariant condition which must be maintained per
   *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
   *  This invariant condition is:
   *
   *  list_empty(pchnl-io_completions) == pchnl-sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr

[PATCH]staging: usbip: Fix typos.

2012-07-30 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging: usbip

 drivers/staging/usbip/stub_rx.c  |2 +-
 drivers/staging/usbip/vhci_hcd.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 * eventually reassigned to the device as far as driver matching
 * condition is kept.
 *
-* Unfortunatelly, an existing usbip connection will be dropped
+* Unfortunately, an existing usbip connection will be dropped
 * due to this driver unbinding. So, skip here.
 * A user may need to set a special configuration value before
 * exporting the device.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..dd15dc0 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device 
*ud)
 *  disable endpoints. pending urbs are unlinked(dequeued).
 *
 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-* deteched device should release used urbs in a cleanup function(i.e.
+* detached device should release used urbs in a cleanup function(i.e.
 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 * pushed urbs and their private data in this function.
 *
-* NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+* NOTE: vhci_dequeue() must be considered carefully. When shuting down
 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 * gives back pushed urbs and frees their private data by request of
 * the cleanup function of a USB driver. When unlinking a urb with an
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH NEXT v2]staging: tidspbridge: Fix typos.

2012-07-30 Thread Justin P. Mattock

greg!
I know how things can get lost in the sands of time, so when you get a 
chance is this patch good? or do I need to resend?


On 07/23/2012 08:40 PM, Justin P. Mattock wrote:

From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging: tidsbridge:

  .../staging/tidspbridge/Documentation/error-codes  |2 +-
  drivers/staging/tidspbridge/core/_tiomap.h |2 +-
  drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
  drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
  drivers/staging/tidspbridge/core/sync.c|2 +-
  drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
  drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
  drivers/staging/tidspbridge/dynload/tramp.c|8 
  drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
  .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
  .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
  .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
  drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
  drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
  drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
  drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
  drivers/staging/tidspbridge/rmgr/node.c|2 +-
  drivers/staging/tidspbridge/rmgr/proc.c|2 +-
  22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
  Invalid pointer or handler.

  [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.

  [EINVAL]
  Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
  /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
  #define MBX_CORE2_RESOURCES 1

-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
  #define MBX_PM_MAX_RESOURCES 11

  /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
   *  The lower edge functions must be implemented by the Bridge driver
   *  writer, and are declared in chnl_sm.h.
   *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
   *  queues from
   *  1. Threads.
   *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
   *  Channel Invariant:
   *  There is an important invariant condition which must be maintained per
   *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
   *  This invariant condition is:
   *
   *  list_empty(pchnl-io_completions) == pchnl-sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr

[PATCH]staging: usbip: Fix typos.

2012-07-30 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging: usbip

 drivers/staging/usbip/stub_rx.c  |2 +-
 drivers/staging/usbip/vhci_hcd.c |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 * eventually reassigned to the device as far as driver matching
 * condition is kept.
 *
-* Unfortunatelly, an existing usbip connection will be dropped
+* Unfortunately, an existing usbip connection will be dropped
 * due to this driver unbinding. So, skip here.
 * A user may need to set a special configuration value before
 * exporting the device.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..dd15dc0 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device 
*ud)
 *  disable endpoints. pending urbs are unlinked(dequeued).
 *
 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-* deteched device should release used urbs in a cleanup function(i.e.
+* detached device should release used urbs in a cleanup function(i.e.
 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 * pushed urbs and their private data in this function.
 *
-* NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+* NOTE: vhci_dequeue() must be considered carefully. When shuting down
 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 * gives back pushed urbs and frees their private data by request of
 * the cleanup function of a USB driver. When unlinking a urb with an
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH NEXT v2]staging: tidspbridge: Fix typos.

2012-07-23 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging: tidsbridge:

 .../staging/tidspbridge/Documentation/error-codes  |2 +-
 drivers/staging/tidspbridge/core/_tiomap.h |2 +-
 drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
 drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
 drivers/staging/tidspbridge/core/sync.c|2 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
 drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
 drivers/staging/tidspbridge/dynload/tramp.c|8 
 drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
 .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
 .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
 drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
 drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
 drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
 drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
 drivers/staging/tidspbridge/rmgr/node.c|2 +-
 drivers/staging/tidspbridge/rmgr/proc.c|2 +-
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
 Invalid pointer or handler.
 
 [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.
 
 [EINVAL]
 Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
 /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
 #define MBX_CORE2_RESOURCES 1
 
-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
 #define MBX_PM_MAX_RESOURCES 11
 
 /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
  *  The lower edge functions must be implemented by the Bridge driver
  *  writer, and are declared in chnl_sm.h.
  *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
  *  queues from
  *  1. Threads.
  *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
  *  Channel Invariant:
  *  There is an important invariant condition which must be maintained per
  *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
  *  This invariant condition is:
  *
  *  list_empty(>io_completions) ==> pchnl->sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 /*
  *   io_dpc 
  *  Deferred procedure call for shared memory channel driver ISR.  Carries
- *  out the dispatch of I/O as a non-preemptible event.It can only be
- *  pre-empted  by an ISR.
+ *  out 

Re: [PATCH NEXT]staging "tidspbridge" Fix typos.

2012-07-23 Thread Justin P. Mattock

On 07/23/2012 01:44 PM, Ramirez Luna, Omar wrote:

Hi Justin,

On Mon, Jul 23, 2012 at 8:49 AM, Justin P. Mattock
 wrote:

diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c 
b/drivers/staging/tidspbridge/core/tiomap3430.c
index f9609ce..2c82d5a 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -328,7 +328,7 @@ static int bridge_brd_read(struct bridge_dev_context 
*dev_ctxt,
ul_num_bytes, mem_type);
 return status;
 }
-   /* copy the data from  DSP memory, */
+   /* copy the data from DSP memory, */


I guess we can get rid of the comma (,) at the end of this sentence.


good catch!



...

diff --git a/drivers/staging/tidspbridge/include/dspbridge/proc.h 
b/drivers/staging/tidspbridge/include/dspbridge/proc.h
index a82380e..9cd5022 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/proc.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/proc.h
@@ -263,7 +263,7 @@ extern int proc_get_processor_id(void *proc, u32 * proc_id);
   *  Returns:
   *  0 :   Success.
   *  -EFAULT :   Invalid processor handle.
- *  -EPERM   :   General failure while retireving processor trace
+ *  -EPERM   :   General failure while retireing processor trace


This was meant to be 'retrieving'.

And given that this is focused on tidspbridge, could you change the
patch subject? To: staging: tidspbridge: fix typos.

Cheers,

Omar



ah.. I see now.. comments can be tough to decipher sometimes with what 
the writer is saying, helps to know what the code is doing.


cheers, resending the revised version, and Thank you for taking the time.

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH NEXT]staging "tidspbridge" Fix typos.

2012-07-23 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes some typos found while reading through staging 
"tidspbridge".

 .../staging/tidspbridge/Documentation/error-codes  |2 +-
 drivers/staging/tidspbridge/core/_tiomap.h |2 +-
 drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
 drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
 drivers/staging/tidspbridge/core/sync.c|2 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
 drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
 drivers/staging/tidspbridge/dynload/tramp.c|8 
 drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
 .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
 .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
 drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
 drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
 drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
 drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
 drivers/staging/tidspbridge/rmgr/node.c|2 +-
 drivers/staging/tidspbridge/rmgr/proc.c|2 +-
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
 Invalid pointer or handler.
 
 [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.
 
 [EINVAL]
 Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
 /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
 #define MBX_CORE2_RESOURCES 1
 
-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
 #define MBX_PM_MAX_RESOURCES 11
 
 /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
  *  The lower edge functions must be implemented by the Bridge driver
  *  writer, and are declared in chnl_sm.h.
  *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
  *  queues from
  *  1. Threads.
  *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
  *  Channel Invariant:
  *  There is an important invariant condition which must be maintained per
  *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
  *  This invariant condition is:
  *
  *  list_empty(>io_completions) ==> pchnl->sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 /*
  *   io_dpc 
  *  Deferred procedure call for shared memory channel driver ISR.  Carries
- *  out the dispatch of I/O as a non-preemptible event.It can only be
- *  pre-empted  by an I

[PATCH NEXT]staging tidspbridge Fix typos.

2012-07-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes some typos found while reading through staging 
tidspbridge.

 .../staging/tidspbridge/Documentation/error-codes  |2 +-
 drivers/staging/tidspbridge/core/_tiomap.h |2 +-
 drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
 drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
 drivers/staging/tidspbridge/core/sync.c|2 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
 drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
 drivers/staging/tidspbridge/dynload/tramp.c|8 
 drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
 .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
 .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
 drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
 drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
 drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
 drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
 drivers/staging/tidspbridge/rmgr/node.c|2 +-
 drivers/staging/tidspbridge/rmgr/proc.c|2 +-
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
 Invalid pointer or handler.
 
 [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.
 
 [EINVAL]
 Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
 /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
 #define MBX_CORE2_RESOURCES 1
 
-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
 #define MBX_PM_MAX_RESOURCES 11
 
 /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
  *  The lower edge functions must be implemented by the Bridge driver
  *  writer, and are declared in chnl_sm.h.
  *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
  *  queues from
  *  1. Threads.
  *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
  *  Channel Invariant:
  *  There is an important invariant condition which must be maintained per
  *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
  *  This invariant condition is:
  *
  *  list_empty(pchnl-io_completions) == pchnl-sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 /*
  *   io_dpc 
  *  Deferred procedure call for shared memory channel driver ISR.  Carries
- *  out the dispatch of I/O as a non-preemptible event.It can only be
- *  pre

Re: [PATCH NEXT]staging tidspbridge Fix typos.

2012-07-23 Thread Justin P. Mattock

On 07/23/2012 01:44 PM, Ramirez Luna, Omar wrote:

Hi Justin,

On Mon, Jul 23, 2012 at 8:49 AM, Justin P. Mattock
justinmatt...@gmail.com wrote:

diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c 
b/drivers/staging/tidspbridge/core/tiomap3430.c
index f9609ce..2c82d5a 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -328,7 +328,7 @@ static int bridge_brd_read(struct bridge_dev_context 
*dev_ctxt,
ul_num_bytes, mem_type);
 return status;
 }
-   /* copy the data from  DSP memory, */
+   /* copy the data from DSP memory, */


I guess we can get rid of the comma (,) at the end of this sentence.


good catch!



...

diff --git a/drivers/staging/tidspbridge/include/dspbridge/proc.h 
b/drivers/staging/tidspbridge/include/dspbridge/proc.h
index a82380e..9cd5022 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/proc.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/proc.h
@@ -263,7 +263,7 @@ extern int proc_get_processor_id(void *proc, u32 * proc_id);
   *  Returns:
   *  0 :   Success.
   *  -EFAULT :   Invalid processor handle.
- *  -EPERM   :   General failure while retireving processor trace
+ *  -EPERM   :   General failure while retireing processor trace


This was meant to be 'retrieving'.

And given that this is focused on tidspbridge, could you change the
patch subject? To: staging: tidspbridge: fix typos.

Cheers,

Omar



ah.. I see now.. comments can be tough to decipher sometimes with what 
the writer is saying, helps to know what the code is doing.


cheers, resending the revised version, and Thank you for taking the time.

Justin P. Mattock
___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH NEXT v2]staging: tidspbridge: Fix typos.

2012-07-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging: tidsbridge:

 .../staging/tidspbridge/Documentation/error-codes  |2 +-
 drivers/staging/tidspbridge/core/_tiomap.h |2 +-
 drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
 drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
 drivers/staging/tidspbridge/core/sync.c|2 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
 drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
 drivers/staging/tidspbridge/dynload/tramp.c|8 
 drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
 .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
 .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
 drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
 drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
 drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
 drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
 drivers/staging/tidspbridge/rmgr/node.c|2 +-
 drivers/staging/tidspbridge/rmgr/proc.c|2 +-
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
 Invalid pointer or handler.
 
 [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.
 
 [EINVAL]
 Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
 /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
 #define MBX_CORE2_RESOURCES 1
 
-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
 #define MBX_PM_MAX_RESOURCES 11
 
 /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
  *  The lower edge functions must be implemented by the Bridge driver
  *  writer, and are declared in chnl_sm.h.
  *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
  *  queues from
  *  1. Threads.
  *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
  *  Channel Invariant:
  *  There is an important invariant condition which must be maintained per
  *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
  *  This invariant condition is:
  *
  *  list_empty(pchnl-io_completions) == pchnl-sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 /*
  *   io_dpc 
  *  Deferred procedure call for shared memory channel driver ISR.  Carries
- *  out the dispatch of I/O as a non-preemptible event.It can only be
- *  pre-empted

[PATCH NEXT]staging tidspbridge Fix typos.

2012-07-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes some typos found while reading through staging 
tidspbridge.

 .../staging/tidspbridge/Documentation/error-codes  |2 +-
 drivers/staging/tidspbridge/core/_tiomap.h |2 +-
 drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
 drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
 drivers/staging/tidspbridge/core/sync.c|2 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
 drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
 drivers/staging/tidspbridge/dynload/tramp.c|8 
 drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
 .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
 .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
 drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
 drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
 drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
 drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
 drivers/staging/tidspbridge/rmgr/node.c|2 +-
 drivers/staging/tidspbridge/rmgr/proc.c|2 +-
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
 Invalid pointer or handler.
 
 [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.
 
 [EINVAL]
 Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
 /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
 #define MBX_CORE2_RESOURCES 1
 
-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
 #define MBX_PM_MAX_RESOURCES 11
 
 /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
  *  The lower edge functions must be implemented by the Bridge driver
  *  writer, and are declared in chnl_sm.h.
  *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
  *  queues from
  *  1. Threads.
  *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
  *  Channel Invariant:
  *  There is an important invariant condition which must be maintained per
  *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
  *  This invariant condition is:
  *
  *  list_empty(pchnl-io_completions) == pchnl-sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 /*
  *   io_dpc 
  *  Deferred procedure call for shared memory channel driver ISR.  Carries
- *  out the dispatch of I/O as a non-preemptible event.It can only be
- *  pre

Re: [PATCH NEXT]staging tidspbridge Fix typos.

2012-07-23 Thread Justin P. Mattock

On 07/23/2012 01:44 PM, Ramirez Luna, Omar wrote:

Hi Justin,

On Mon, Jul 23, 2012 at 8:49 AM, Justin P. Mattock
justinmatt...@gmail.com wrote:

diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c 
b/drivers/staging/tidspbridge/core/tiomap3430.c
index f9609ce..2c82d5a 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -328,7 +328,7 @@ static int bridge_brd_read(struct bridge_dev_context 
*dev_ctxt,
ul_num_bytes, mem_type);
 return status;
 }
-   /* copy the data from  DSP memory, */
+   /* copy the data from DSP memory, */


I guess we can get rid of the comma (,) at the end of this sentence.


good catch!



...

diff --git a/drivers/staging/tidspbridge/include/dspbridge/proc.h 
b/drivers/staging/tidspbridge/include/dspbridge/proc.h
index a82380e..9cd5022 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/proc.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/proc.h
@@ -263,7 +263,7 @@ extern int proc_get_processor_id(void *proc, u32 * proc_id);
   *  Returns:
   *  0 :   Success.
   *  -EFAULT :   Invalid processor handle.
- *  -EPERM   :   General failure while retireving processor trace
+ *  -EPERM   :   General failure while retireing processor trace


This was meant to be 'retrieving'.

And given that this is focused on tidspbridge, could you change the
patch subject? To: staging: tidspbridge: fix typos.

Cheers,

Omar



ah.. I see now.. comments can be tough to decipher sometimes with what 
the writer is saying, helps to know what the code is doing.


cheers, resending the revised version, and Thank you for taking the time.

Justin P. Mattock
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH NEXT v2]staging: tidspbridge: Fix typos.

2012-07-23 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging: tidsbridge:

 .../staging/tidspbridge/Documentation/error-codes  |2 +-
 drivers/staging/tidspbridge/core/_tiomap.h |2 +-
 drivers/staging/tidspbridge/core/chnl_sm.c |6 +++---
 drivers/staging/tidspbridge/core/io_sm.c   |   10 +-
 drivers/staging/tidspbridge/core/sync.c|2 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  |4 ++--
 drivers/staging/tidspbridge/core/tiomap3430_pwr.c  |2 +-
 drivers/staging/tidspbridge/dynload/tramp.c|8 
 drivers/staging/tidspbridge/hw/hw_mmu.c|6 +++---
 .../tidspbridge/include/dspbridge/dspioctl.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/mbx_sh.h |2 +-
 .../staging/tidspbridge/include/dspbridge/node.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/ntfy.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/proc.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/strm.h   |2 +-
 .../staging/tidspbridge/include/dspbridge/sync.h   |4 ++--
 drivers/staging/tidspbridge/rmgr/dbdcd.c   |2 +-
 drivers/staging/tidspbridge/rmgr/dspdrv.c  |4 ++--
 drivers/staging/tidspbridge/rmgr/mgr.c |4 ++--
 drivers/staging/tidspbridge/rmgr/nldr.c|2 +-
 drivers/staging/tidspbridge/rmgr/node.c|2 +-
 drivers/staging/tidspbridge/rmgr/proc.c|2 +-
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/drivers/staging/tidspbridge/Documentation/error-codes 
b/drivers/staging/tidspbridge/Documentation/error-codes
index 12826e2..ad73cba 100644
--- a/drivers/staging/tidspbridge/Documentation/error-codes
+++ b/drivers/staging/tidspbridge/Documentation/error-codes
@@ -69,7 +69,7 @@ The error codes used by this driver are:
 Invalid pointer or handler.
 
 [EEXIST]
-Attempted to create a channel manager  when one already exists.
+Attempted to create a channel manager when one already exists.
 
 [EINVAL]
 Invalid argument.
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h 
b/drivers/staging/tidspbridge/core/_tiomap.h
index 7cb5871..543a127 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -219,7 +219,7 @@ static const struct map_l4_peripheral l4_peripheral_table[] 
= {
 /* MBX_PM_MAX_RESOURCES: CORE 2 Clock Resources. */
 #define MBX_CORE2_RESOURCES 1
 
-/* MBX_PM_MAX_RESOURCES: TOTAL Clock Reosurces. */
+/* MBX_PM_MAX_RESOURCES: TOTAL Clock Resources. */
 #define MBX_PM_MAX_RESOURCES 11
 
 /*  Power Management Commands */
diff --git a/drivers/staging/tidspbridge/core/chnl_sm.c 
b/drivers/staging/tidspbridge/core/chnl_sm.c
index e0c7e4c..f38950e 100644
--- a/drivers/staging/tidspbridge/core/chnl_sm.c
+++ b/drivers/staging/tidspbridge/core/chnl_sm.c
@@ -20,7 +20,7 @@
  *  The lower edge functions must be implemented by the Bridge driver
  *  writer, and are declared in chnl_sm.h.
  *
- *  Care is taken in this code to prevent simulataneous access to channel
+ *  Care is taken in this code to prevent simultaneous access to channel
  *  queues from
  *  1. Threads.
  *  2. io_dpc(), scheduled from the io_isr() as an event.
@@ -34,7 +34,7 @@
  *  Channel Invariant:
  *  There is an important invariant condition which must be maintained per
  *  channel outside of bridge_chnl_get_ioc() and IO_Dispatch(), violation 
of
- *  which may cause timeouts and/or failure offunction sync_wait_on_event.
+ *  which may cause timeouts and/or failure of function sync_wait_on_event.
  *  This invariant condition is:
  *
  *  list_empty(pchnl-io_completions) == pchnl-sync_event is reset
@@ -602,7 +602,7 @@ int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 
timeout,
/*  Since DSPStream_Reclaim() does not take a timeout
 *  parameter, we pass the stream's timeout value to
 *  bridge_chnl_get_ioc. We cannot determine whether or not
-*  we have waited in User mode. Since the stream's timeout
+*  we have waited in user mode. Since the stream's timeout
 *  value may be non-zero, we still have to set the event.
 *  Therefore, this optimization is taken out.
 *
diff --git a/drivers/staging/tidspbridge/core/io_sm.c 
b/drivers/staging/tidspbridge/core/io_sm.c
index 480a384..e322fb7 100644
--- a/drivers/staging/tidspbridge/core/io_sm.c
+++ b/drivers/staging/tidspbridge/core/io_sm.c
@@ -837,8 +837,8 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
 /*
  *   io_dpc 
  *  Deferred procedure call for shared memory channel driver ISR.  Carries
- *  out the dispatch of I/O as a non-preemptible event.It can only be
- *  pre-empted

[PATCH NEXT]staging "ste_rmi4" Fix typos

2012-07-16 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging "ste_rmi4"

 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c 
b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 11728a0..277491a 100644
--- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
+++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
@@ -655,13 +655,13 @@ static int synpatics_rmi4_touchpad_detect(struct 
synaptics_rmi4_data *pdata,
 }
 
 /**
- * synpatics_rmi4_touchpad_config() - confiures the rmi4 touchpad device
+ * synaptics_rmi4_touchpad_config() - configures the rmi4 touchpad device
  * @pdata: pointer to synaptics_rmi4_data structure
  * @rfi: pointer to synaptics_rmi4_fn structure
  *
- * This function calls to confiures the rmi4 touchpad device
+ * This function calls to configures the rmi4 touchpad device
  */
-int synpatics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata,
+int synaptics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata,
struct synaptics_rmi4_fn *rfi)
 {
/*
@@ -855,7 +855,7 @@ static int synaptics_rmi4_i2c_query_device(struct 
synaptics_rmi4_data *pdata)
if (rfi->num_of_data_sources) {
if (rfi->fn_number ==
SYNAPTICS_RMI4_TOUCHPAD_FUNC_NUM) {
-   retval = synpatics_rmi4_touchpad_config
+   retval = synaptics_rmi4_touchpad_config
(pdata, rfi);
if (retval < 0)
return retval;
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH NEXT]staging ste_rmi4 Fix typos

2012-07-16 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging ste_rmi4

 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c 
b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 11728a0..277491a 100644
--- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
+++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
@@ -655,13 +655,13 @@ static int synpatics_rmi4_touchpad_detect(struct 
synaptics_rmi4_data *pdata,
 }
 
 /**
- * synpatics_rmi4_touchpad_config() - confiures the rmi4 touchpad device
+ * synaptics_rmi4_touchpad_config() - configures the rmi4 touchpad device
  * @pdata: pointer to synaptics_rmi4_data structure
  * @rfi: pointer to synaptics_rmi4_fn structure
  *
- * This function calls to confiures the rmi4 touchpad device
+ * This function calls to configures the rmi4 touchpad device
  */
-int synpatics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata,
+int synaptics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata,
struct synaptics_rmi4_fn *rfi)
 {
/*
@@ -855,7 +855,7 @@ static int synaptics_rmi4_i2c_query_device(struct 
synaptics_rmi4_data *pdata)
if (rfi-num_of_data_sources) {
if (rfi-fn_number ==
SYNAPTICS_RMI4_TOUCHPAD_FUNC_NUM) {
-   retval = synpatics_rmi4_touchpad_config
+   retval = synaptics_rmi4_touchpad_config
(pdata, rfi);
if (retval  0)
return retval;
-- 
1.7.5.4

___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH NEXT]staging ste_rmi4 Fix typos

2012-07-16 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging ste_rmi4

 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c 
b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 11728a0..277491a 100644
--- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
+++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
@@ -655,13 +655,13 @@ static int synpatics_rmi4_touchpad_detect(struct 
synaptics_rmi4_data *pdata,
 }
 
 /**
- * synpatics_rmi4_touchpad_config() - confiures the rmi4 touchpad device
+ * synaptics_rmi4_touchpad_config() - configures the rmi4 touchpad device
  * @pdata: pointer to synaptics_rmi4_data structure
  * @rfi: pointer to synaptics_rmi4_fn structure
  *
- * This function calls to confiures the rmi4 touchpad device
+ * This function calls to configures the rmi4 touchpad device
  */
-int synpatics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata,
+int synaptics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata,
struct synaptics_rmi4_fn *rfi)
 {
/*
@@ -855,7 +855,7 @@ static int synaptics_rmi4_i2c_query_device(struct 
synaptics_rmi4_data *pdata)
if (rfi-num_of_data_sources) {
if (rfi-fn_number ==
SYNAPTICS_RMI4_TOUCHPAD_FUNC_NUM) {
-   retval = synpatics_rmi4_touchpad_config
+   retval = synaptics_rmi4_touchpad_config
(pdata, rfi);
if (retval  0)
return retval;
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH NEXT]staging "speakup" Fix typos.

2012-07-09 Thread Justin P. Mattock
From: "Justin P. Mattock" 

Signed-off-by: Justin P. Mattock 

---

The below patch fixes typos found while reading through staging "speakup".

 drivers/staging/speakup/i18n.c  |2 +-
 drivers/staging/speakup/speakup_acnt.h  |2 +-
 drivers/staging/speakup/speakup_decpc.c |2 +-
 drivers/staging/speakup/synth.c |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c
index c211943..ca01734 100644
--- a/drivers/staging/speakup/i18n.c
+++ b/drivers/staging/speakup/i18n.c
@@ -71,7 +71,7 @@ static char *speakup_default_msgs[MSG_LAST_INDEX] = {
[MSG_CTL_SHIFT] = "shift",
[MSG_CTL_ALTGR] = "altgr",
[MSG_CTL_CONTROL] = "control",
-   [MSG_CTL_ALT] = "ault",
+   [MSG_CTL_ALT] = "alt",
[MSG_CTL_LSHIFT] = "l shift",
[MSG_CTL_SPEAKUP] = "speakup",
[MSG_CTL_LCONTROL] = "l control",
diff --git a/drivers/staging/speakup/speakup_acnt.h 
b/drivers/staging/speakup/speakup_acnt.h
index 2d88365..6376fca 100644
--- a/drivers/staging/speakup/speakup_acnt.h
+++ b/drivers/staging/speakup/speakup_acnt.h
@@ -12,5 +12,5 @@
   to accept a byte of data. */
 #define SYNTH_QUIET'S' /* synth is not speaking */
 #define SYNTH_FULL 'F' /* synth is full. */
-#define SYNTH_ALMOST_EMPTY 'M' /* synth has les than 2 seconds of text left */
+#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
 #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
diff --git a/drivers/staging/speakup/speakup_decpc.c 
b/drivers/staging/speakup/speakup_decpc.c
index de25527..a09a0c9 100644
--- a/drivers/staging/speakup/speakup_decpc.c
+++ b/drivers/staging/speakup/speakup_decpc.c
@@ -66,7 +66,7 @@
 #defineCMD_null0x  /* post status */
 #defineCMD_control 0x1000  /* hard control command */
 #defineCTRL_mask   0x0F00  /*   mask off control nibble */
-#defineCTRL_data   0x00FF  /*   madk to get data byte */
+#defineCTRL_data   0x00FF  /*   mask to get data byte */
 #defineCTRL_null   0x  /*   null control */
 #defineCTRL_vol_up 0x0100  /*   increase volume */
 #defineCTRL_vol_down   0x0200  /*   decrease volume */
diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
index 331eae7..df95337 100644
--- a/drivers/staging/speakup/synth.c
+++ b/drivers/staging/speakup/synth.c
@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(serial_synth_probe);
 /* Main loop of the progression thread: keep eating from the buffer
  * and push to the serial port, waiting as needed
  *
- * For devices that have a "full" notification mecanism, the driver can
+ * For devices that have a "full" notification mechanism, the driver can
  * adapt the loop the way they prefer.
  */
 void spk_do_catch_up(struct spk_synth *synth)
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH NEXT]staging speakup Fix typos.

2012-07-09 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging speakup.

 drivers/staging/speakup/i18n.c  |2 +-
 drivers/staging/speakup/speakup_acnt.h  |2 +-
 drivers/staging/speakup/speakup_decpc.c |2 +-
 drivers/staging/speakup/synth.c |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c
index c211943..ca01734 100644
--- a/drivers/staging/speakup/i18n.c
+++ b/drivers/staging/speakup/i18n.c
@@ -71,7 +71,7 @@ static char *speakup_default_msgs[MSG_LAST_INDEX] = {
[MSG_CTL_SHIFT] = shift,
[MSG_CTL_ALTGR] = altgr,
[MSG_CTL_CONTROL] = control,
-   [MSG_CTL_ALT] = ault,
+   [MSG_CTL_ALT] = alt,
[MSG_CTL_LSHIFT] = l shift,
[MSG_CTL_SPEAKUP] = speakup,
[MSG_CTL_LCONTROL] = l control,
diff --git a/drivers/staging/speakup/speakup_acnt.h 
b/drivers/staging/speakup/speakup_acnt.h
index 2d88365..6376fca 100644
--- a/drivers/staging/speakup/speakup_acnt.h
+++ b/drivers/staging/speakup/speakup_acnt.h
@@ -12,5 +12,5 @@
   to accept a byte of data. */
 #define SYNTH_QUIET'S' /* synth is not speaking */
 #define SYNTH_FULL 'F' /* synth is full. */
-#define SYNTH_ALMOST_EMPTY 'M' /* synth has les than 2 seconds of text left */
+#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
 #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
diff --git a/drivers/staging/speakup/speakup_decpc.c 
b/drivers/staging/speakup/speakup_decpc.c
index de25527..a09a0c9 100644
--- a/drivers/staging/speakup/speakup_decpc.c
+++ b/drivers/staging/speakup/speakup_decpc.c
@@ -66,7 +66,7 @@
 #defineCMD_null0x  /* post status */
 #defineCMD_control 0x1000  /* hard control command */
 #defineCTRL_mask   0x0F00  /*   mask off control nibble */
-#defineCTRL_data   0x00FF  /*   madk to get data byte */
+#defineCTRL_data   0x00FF  /*   mask to get data byte */
 #defineCTRL_null   0x  /*   null control */
 #defineCTRL_vol_up 0x0100  /*   increase volume */
 #defineCTRL_vol_down   0x0200  /*   decrease volume */
diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
index 331eae7..df95337 100644
--- a/drivers/staging/speakup/synth.c
+++ b/drivers/staging/speakup/synth.c
@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(serial_synth_probe);
 /* Main loop of the progression thread: keep eating from the buffer
  * and push to the serial port, waiting as needed
  *
- * For devices that have a full notification mecanism, the driver can
+ * For devices that have a full notification mechanism, the driver can
  * adapt the loop the way they prefer.
  */
 void spk_do_catch_up(struct spk_synth *synth)
-- 
1.7.5.4

___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[PATCH NEXT]staging speakup Fix typos.

2012-07-09 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com

Signed-off-by: Justin P. Mattock justinmatt...@gmail.com

---

The below patch fixes typos found while reading through staging speakup.

 drivers/staging/speakup/i18n.c  |2 +-
 drivers/staging/speakup/speakup_acnt.h  |2 +-
 drivers/staging/speakup/speakup_decpc.c |2 +-
 drivers/staging/speakup/synth.c |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c
index c211943..ca01734 100644
--- a/drivers/staging/speakup/i18n.c
+++ b/drivers/staging/speakup/i18n.c
@@ -71,7 +71,7 @@ static char *speakup_default_msgs[MSG_LAST_INDEX] = {
[MSG_CTL_SHIFT] = shift,
[MSG_CTL_ALTGR] = altgr,
[MSG_CTL_CONTROL] = control,
-   [MSG_CTL_ALT] = ault,
+   [MSG_CTL_ALT] = alt,
[MSG_CTL_LSHIFT] = l shift,
[MSG_CTL_SPEAKUP] = speakup,
[MSG_CTL_LCONTROL] = l control,
diff --git a/drivers/staging/speakup/speakup_acnt.h 
b/drivers/staging/speakup/speakup_acnt.h
index 2d88365..6376fca 100644
--- a/drivers/staging/speakup/speakup_acnt.h
+++ b/drivers/staging/speakup/speakup_acnt.h
@@ -12,5 +12,5 @@
   to accept a byte of data. */
 #define SYNTH_QUIET'S' /* synth is not speaking */
 #define SYNTH_FULL 'F' /* synth is full. */
-#define SYNTH_ALMOST_EMPTY 'M' /* synth has les than 2 seconds of text left */
+#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
 #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */
diff --git a/drivers/staging/speakup/speakup_decpc.c 
b/drivers/staging/speakup/speakup_decpc.c
index de25527..a09a0c9 100644
--- a/drivers/staging/speakup/speakup_decpc.c
+++ b/drivers/staging/speakup/speakup_decpc.c
@@ -66,7 +66,7 @@
 #defineCMD_null0x  /* post status */
 #defineCMD_control 0x1000  /* hard control command */
 #defineCTRL_mask   0x0F00  /*   mask off control nibble */
-#defineCTRL_data   0x00FF  /*   madk to get data byte */
+#defineCTRL_data   0x00FF  /*   mask to get data byte */
 #defineCTRL_null   0x  /*   null control */
 #defineCTRL_vol_up 0x0100  /*   increase volume */
 #defineCTRL_vol_down   0x0200  /*   decrease volume */
diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
index 331eae7..df95337 100644
--- a/drivers/staging/speakup/synth.c
+++ b/drivers/staging/speakup/synth.c
@@ -64,7 +64,7 @@ EXPORT_SYMBOL_GPL(serial_synth_probe);
 /* Main loop of the progression thread: keep eating from the buffer
  * and push to the serial port, waiting as needed
  *
- * For devices that have a full notification mecanism, the driver can
+ * For devices that have a full notification mechanism, the driver can
  * adapt the loop the way they prefer.
  */
 void spk_do_catch_up(struct spk_synth *synth)
-- 
1.7.5.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


  1   2   3   4   5   6   7   8   >