History log of /drivers/staging/vt6656/card.c
Revision Date Author Comments
3e46587ef1582ad4da40bf631dba0c6c8c8a7a47 22-Sep-2014 Tapasweni Pathak <tapaswenipathak@gmail.com> staging: vt6656: remove unnecessary else after return

This patch fixes checkpatch.pl warning in files of vt6656
WARNING: else is not generally useful after a break or return

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a8492a0baf2ef514b76f624b524a0d33d05adc69 25-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: remove comments of old functions nolonger present.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d78551b945f9bc48f5576c0da72786f0ac4e512f 25-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: remove return from all void functions

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c37cbd3706bda2dd440a6fd036569412774a9f6c 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace abyBBVGA with bb_vga

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a641c9ec886a1fd2cb3419959c8014f14983d379 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace bShortSlotTime with short_slot_time

Removing type prefix and camel case

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d80bf43c82e75794f640e46b82bc417a7b78829b 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace byTopCCKBasicRate with top_cck_basic_rate

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3c8a5b25980907d4e096f23a95252bf4018816ba 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace byTopOFDMBasicRate with top_ofdm_basic_rate

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
93a7355883f87ee16481ae79d7b471752ffb0347 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace wBasicRate with basic_rates

The same name as in struct ieee80211_bss_conf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e12471db917981a3f7dd115203697201d3a2adcf 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace byPacketType with packet_type

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
65df77e2ca31a77db13cc37d3c3d34886aeaa607 20-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace byBBType with bb_type

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ff5fee22294da7d60ebb8c7b0b3f24aeb1307a7b 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private remove camel case IFS names

Camel case changes
uSIFS -> sifs
uDIFS -> difs
uEIFS -> eifs
uSlot -> slot

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
995c91e0c25437329d3ed34148eb709cac1ac5b9 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private remove uCwMin/uCwMax

Although set these variables are not used.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
113f0b915b387debd0bf797f1d527da467984eba 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private rename qwCurrTSF to current_tsf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6242ecaeb6e3b6e3a864e9e6878817e3f5c0cb84 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private replace byRFType with rf_type

Remove camel case

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d7f2d8f61ec7e3f8aa6f6cd2eb28c47b38f33486 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: put radio power off and on into correct state every time.

When radio is off bit GPIO3_INTMD should be on and off when radio is on.

Add these to the tail of vnt_radio_power_off and vnt_radio_power_on
and remove variable bHWRadioOff.

In device_init_registers just check GPIO3_DATA are in correct state and
always power on.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
409bc044a4d9ace33650f6785780b0a0d542325a 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private remove unused variable bRadioOff

The variable flips from true to false but does nothing

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dc5cfd9be6aaaaea524a09a59e8d1b6509cc0ca9 19-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: struct vnt_private remove unused variable bRadioControlOff

This variable is never set.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0e951753dc41096b795f10f3dfa7bc72ba76fc78 16-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename BBvExitDeepSleep to vnt_exit_deep_sleep

Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e8e072da885e7d9edd56e28e7e2accce9b050ac8 16-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename BBvSetDeepSleep to vnt_set_deep_sleep

Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
de8690a2e38a6f3a4131b8fa4c01ecb1a99b3dcc 16-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename BBvSetVGAGainOffset to vnt_set_vga_gain_offset

Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42b138d96ccd0430eb3eae3f31cd6e23696d5e09 15-Jul-2014 Peter Senna Tschudin <peter.senna@gmail.com> staging: vt6556: Cleanup coding style: lines over 80 chars

This patch cleanup the follwoing coding style issues:
- line over 80 chars
- spaces on the beginning of a line
- put { and } on the correct places

Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
618d7d07bd11d077842e0384aded23655080b817 15-Jul-2014 Peter Senna Tschudin <peter.senna@gmail.com> staging: vt6556: Cleanup coding style: comments

This patch cleanup coding style issues on comments.

Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9fe109c153f6ffff4186dc7d0275e2a84df6b1e6 07-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: vnt_update_ifs vendor changes to uSIFS/uDIFS

The latest vendor code makes changes to uSIFS and uDIFS.

The orginal codes have been rearranged into a fall through switch
statement.

These reduce the time that device allows to TX packets and
improves throughput.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
04f2ff16e06614af986c5f5b5ef7896925989e5e 05-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: vnt_set_channel remove power setting functions

Power setting is already done in vnt_config and vnt_tx_packet.

Just check that for connection_channel, if invalid return.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d3584775e94d0baa61a1c2cde7fb93a931e966de 29-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: set BBvSetVGAGainOffset inside vnt_set_bss_mode

vnt_set_bss_mode changes the state of abyBBVGA so move
BBvSetVGAGainOffset to the function.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d35d5fbb36e458c4383ebc98d3079e1c46c17b92 29-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: remove vnt_add_basic_rate

The driver never sets basic rate any more so remove function.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ae9593ec37cda99ba65841ebefef110919b1f239 25-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: dead code remove tmacro.h

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c6b16e197b4fc604bfb2a953719074a9313866db 25-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: remove dead code datarate

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3f530ded0f41e4d17aec9df98ac0b82da7257552 25-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: dead code remove rc4.c/h

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9ef2184d0eead64829eb80714c8ee8a163632b87 25-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: dead code remove zonetypes

Remove vntconfiguration.dat, iocmd.h and country.h

Set all channels are enabled as by rf type.

mac80211 will handles zones

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ee61fde2074fbcc7575e52206aba67853e0e56cc 25-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: mac80211 conversion: vnt_update_ifs change basic rates

Use wBasicRate to find ofdm_rate.

wBasicRate is changed to u32 to match struct ieee80211_bss_conf -> basic_rates

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
205056f35054a5590d5f69d76c9653b97d01d87f 04-Jun-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename BBvCalculateParameter to vnt_get_phy_field

The function returns the phy fields rename to vnt_get_phy_field

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
369575377e8d47a9f7592f24917556f0c9996eaa 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename MACvRegBitsOff to vnt_mac_reg_bits_off

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a9bed1df5b698eca071a583eb4d66336fc8550f5 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename MACvRegBitsOff to vnt_mac_reg_bits_off

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
05089fbc52ed1b1fa3da7d1e53d9423047466c5f 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename MACvSetBBType to vnt_mac_set_bb_type

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bc240f54e52fb1095ce86f86538eb2c30dffb154 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvSetBSSMode to vnt_set_bss_mode

drop card and rename to vnt_set_bss_mode

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8a5e6c8c67de72af991d29e498c4a210183375fc 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbRadioPowerOn to vnt_radio_power_on

Drop card and rename to vnt_radio_power_on

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fa26e0bd299c3eefbc507ce6b4ee7b71aa431ea6 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbRadioPowerOff to vnt_radio_power_off

Drop card and rename to vnt_radio_power_off

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
88ec2f7e47d201a28acbbee407805234ca5ec8c9 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvUpdateNextTBTT to vnt_update_next_tbtt

Drop card and rename to vnt_update_next_tbtt

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6964cd1215315477b1645d5cf2e2f09648d9a66a 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvSetFirstNextTBTT to vnt_reset_next_tbtt

Drop card, set and first. The device resets the next tbtt rename
to vnt_reset_next_tbtt

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
75ef1b5195311993d148ca98e061f08f9f573d6d 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDqGetNextTBTT to vnt_get_next_tbtt

Drop card and rename to vnt_get_next_tbtt

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dba066e9fee33671d1437e4a9d515e8134ecac38 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbClearCurrentTSF to vnt_clear_current_tsf

Drop card and rename to vnt_clear_current_tsf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4a9f4c655cd7aeebd81714c4cd8af165657cf6ed 31-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbGetCurrentTSF to vnt_get_current_tsf

Drop card and rename to vnt_get_current_tsf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14c68c56695d9747a36a7ad0c462564719fddc03 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvAdjustTSF to vnt_adjust_tsf

drop card and rename to vnt_adjust_tsf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ecbc0a1e614b5a31ec38773f9054475cadac1f79 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDqGetTSFOffset to vnt_get_tsf_offset

drop card and rename to vnt_get_tsf_offset

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e809c96ee562a3e4541bcfc75f649d94de5f0940 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbyGetPktType to vnt_get_pkt_type

drop card rename to vnt_get_pkt_type

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
cfa4d8d27e987e9a3a213fff82b567481f916e47 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbIsOFDMinBasicRate to vnt_ofdm_min_rate

drop card and basic rename to vnt_ofdm_min_rate

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9a2cffd438e44c1357eeae3fcd421d5997b8d16d 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbAddBasicRate to vnt_add_basic_rate

Drop card and rename to vnt_add_basic_rate

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1a792943815f6af67bcabe9e2598b56396598b88 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvSetRSPINF to vnt_set_rspinf

Drop card and rename to vnt_set_rspinf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
47203c49e1e28f9abfaea44365ab783962871d5a 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvUpdateBasicTopRate to vnt_update_top_rates

Drop card basic. The function updates the top rates vnt_update_top_rates

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c7ee9eeb47d46b2880a0e18974738c12419749fb 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename vUpdateIFS to vnt_update_ifs

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c9a048771aa6011705e00d67669c2c5580c2f918 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDvCalculateOFDMRParameter to vnt_calculate_ofdm_rate

Drop card and Parameter. R is the rate to rename to vnt_calculate_ofdm_rate

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15fa7ce244ffba78acf0efecca5c7f6e07d5e2fe 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename swGetOFDMControlRate to vnt_get_ofdm_rate

Drop control and rename vnt_get_ofdm_rate

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
073d02eb9cec2de7964d6277a587cea847f16eb4 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename swGetCCKControlRate to vnt_get_cck_rate

Drop control and just use vnt_get_cck_rate.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
084fc8f31a9296a832ab1f81856955a35e47624e 30-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename CARDbSetMediaChannel to vnt_set_channel

Drop card and media and just use vnt_set_channel.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8543bb9c21042e921ad6cff517d1c4f98b34ba51 27-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rf.c/h rename RFbRawSetPower to vnt_rf_set_txpower

Remove raw and use txpower.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4e2a3040add9774ba2e959c0b95f79df3cc34b55 26-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: Fix CARDvCalculateOFDMRParameter static warning

Fix warning: symbol 'CARDvCalculateOFDMRParameter' was not declared. Should it be static?

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
62c8526d60181da14fa73a43ed23f3314523b4f5 26-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: dead code remove control.c/h

Replace control.h headers with usbpipe.h

Also add to usbpipe.c its header

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
285d58c486a1b0921a10730772b64e38cb06ae54 26-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: replace ControlvWriteByte with vnt_control_out_u8

add new function in usbpipe.c to replace ControlvWriteByte

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1390b02a2f5d3b8d0a13e2f2d67dc2a562bc0b89 26-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rename PIPEnsControlOut/CONTROLnsRequestOut to vnt_control_out

Rename all CONTROLnsRequestOut and remove macro from control.h

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
842e3ecceae9f805f52d8a2eca8b8951151a438d 25-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: card.c replace DBG_PRT debug messages.

Replace with dev_dbg

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3d2988c74b6ed05c9d6256df93e9b2869ffa585d 25-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging; vt6656: swGetCCKControlRate remove camel case

camel case changes
pDevice -> priv
wRateIdx -> rate_idx

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a5a7c439065bec8ef74e116fac0a2cb0f4c0543c 25-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: swGetOFDMControlRate remove camel case

camel case changes
pDevice -> priv
wRateIdx -> rate_idx

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fd4859f61b002270cd38e1ea5c81f1c6c7be9236 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDvCalculateOFDMRParameter fix indentation rsv_time

In patch
staging: vt6656 camel case clean up CARDvCalculateOFDMRParameter
rsv_time is indented incorrectly.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1efb8facf805c75596903068622fd77bfd271b3e 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case and clean up CARDvSetBSSMode

camel case changes
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f320314435163773a03a33ca533ba9dd926c376b 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case clean up CARDbRadioPowerOn

camel case changes
pDevice -> priv
bResult -> ret

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
07deb71093f44d350772e98d5008367d0bfd808c 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case clean up CARDbRadioPowerOff

camel case changes
pDevice -> priv
bResult -> ret

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8b515de7a762d2456b6f0a0791ce4d7abb8c8f5d 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case clean up CARDvUpdateNextTBTT

camel case changes
pDevice -> priv
qwTSF -> tsf
wBeaconInterval -> beacon_interval
pbyData -> data

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
414475f6fd843b01e0656947e451b208ab2d1e4d 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case and clean up CARDvSetFirstNextTBTT

camel case changes
pDevice -> priv
wBeaconInterval -> beacon_interval
qwNextTBTT -> next_tbtt
pbyData -> data

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5f4dfb66e6afdfa3d6e2a4a104b91c891dd41efe 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDqGetNextTBTT remove camel case

qwTSF -> tsf
wBeaconInterval -> beacon_interval
uBeaconInterval -> beacon_int

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e151e478fdebfc890195ec472b5bf030612430ce 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDbClearCurrentTSF remove camel case

pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2092dfa4ef9ca6e72aaad4d4ee31c6bae747e9c7 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDbGetCurrentTSF remove camel case

pDevice -> priv
pqwCurrTSF -> current_tsf

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
302361d47539881865ce5913e36cadd90f90a4b9 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case and clean up CARDvAdjustTSF

camel case changes
pDevice -> priv
byRxRate -> rx_rate
qwBSSTimestamp -> time_stamp
qwLocalTSF -> local_tsf
qwTSFOffset -> tsf_offset
pbyData -> data

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3fd2a69c6ebf7c16b731438bd4de003e9c929ea7 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDqGetTSFOffset remove camel case

camel case changes
byRxRate -> rx_rate
qwTSF1 -> tsf1
qwTSF2 -> tsf2
qwTSFOffset -> tsf_offset
wRxBcnTSFOffst -> rx_bcn_offset

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1f44238f6c040694f4bf5226db72c34e90c97e26 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case and cleanup CARDbyGetPktType

camel case changes
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
de0eb9ef70fb0ed92510b2cebb2a7249d68ad2eb 24-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case clean up CARDbIsOFDMinBasicRate

camel case change
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6db0deaec99f6319cc678e7e964a599dc94e5a65 23-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case cleanup CARDbAddBasicRate

camel case changes
pDevice -> priv
wRateIdx -> rate_idx

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dcce9e0b0825d056447fad7114fcaee94e1ecdcc 23-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case clean up CARDvUpdateBasicTopRate

Camel case changes
pDevice -> priv
byTopOFDM -> top_ofdm
byTopCCK -> top_cck

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5ebc46d64ca9bebc3d358c7f14ad8b175a159c1c 23-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case cleanup vUpdateIFS

camel case changes
pDevice -> priv
byMaxMin -> max_min
byData -> data
pItemRates -> item_rates

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
652d0f00f60c249ef022f4c36b46b616eb4ceb9f 23-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case cleanup CARDvSetRSPINF

camel case changes
pDevice -> priv
byBBType -> bb_type

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3605f84e780252c987a4eae7050aaddcec8bf639 23-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: camel case clean up CARDvCalculateOFDMRParameter

Camel case changes
wRate -> rate
byBBType -> bb_type
pbyTxRate -> tx_rate
pbyRsvTime -> rsv_time

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
60f8ce8dd6feb2d921a5513e79eaf9d6884abc09 17-May-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: rndis.h move all to device.h

Commands macros are common to all source files.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6e28024e1690bd68e7d19af3c96a1617b08c16ac 01-Jan-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDqGetNextTBTT replace code using do_div.

uBeaconInterval becomes u32

get next TBTT value using vendor's equation as shown.

This patch was checked against the original code
and yields exactly the same value.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9acec059c0cef0bf086c738f4c0b1f4447782a48 01-Jan-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: CARDqGetNextTBTT correct uLowNextTBTT

value uLowNextTBTT yields wrong value.

ULL is needed with qwTSF

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: stable@vger.kernel.org # v3.9+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7387f438e50ca7a1e20f555f1e5ee8aeb94a9791 13-Dec-2013 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: clean up CARDbSetMediaChannel.

White space and commented out code.

Camel case clean up.
pDevice -> priv
uConnectionChannel -> connection_channel

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3b1388518a316f1eefe0b781e0583937d5407160 04-Nov-2013 Valentina Manea <valentina.manea.m@gmail.com> staging: vt6656: Fix (most) sparse warnings regarding static functions/variables

This fixes sparse warnings for functions and variables, e.g.:
* drivers/staging/vt6656/card.c:69:11: warning: symbol 'cwRXBCNTSFOff'
was not declared. Should it be static?

Some warnings were false positives, such as:
* drivers/staging/vt6656/dpc.c:249:5: warning: symbol 'RXbBulkInProcessData'
was not declared. Should it be static?

Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0b7cb6976e8d390726d2b5a0c1235d13b754fed8 05-Sep-2013 Dave Jones <davej@redhat.com> staging/vt6656: Fix screwed up indentation in swGetOFDMControlRate

The indentation in the swGetOFDMControlRate function is screwed up.
At first it appears that there are missing braces on a multi-line if, but
looking at history, commit dd0a774fc727ee793780197beb3f2cf80bfefa99
("staging: vt6656: card/main_usb/device use new structure names")
incorrectly indented the two lines below.

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
aed387c78d4ad3cb7b65670785ab396ce06d0b5d 20-Aug-2013 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: baseband.c BBvCalculateParameter create structure for pwPhyLen, pbyPhySrv and pbyPhySgn

Create single packed structure vnt_phy_field for rxtx.h structures.

In card.c CARDvSetRSPINF a vnt_phy_field replaces abyServ,
abySignal, awLen variables.

In rxtx.c point BBvCalculateParameter to relevant field.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4ac306e0d41e8da01a59ac9e3a347877d56874a7 20-Aug-2013 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: baseband.c BBvCalculateParameter pwPhyLen return endian corrected.

In rxtx.c many calls to BBvCaculateParameter are not endian
corrected all calls here need to be endian corrected.

Correct the endian in BBvCaculateParameter.

In card.c: CARDvSetRSPINF pwPhyLen points to awLen and is
manually applied to abyData. Because it is now endian
corrected put_unaligned is needed to correct it.

In rxtx.c remove were endian is corrected.

This allows to merge BBvCalculateParameter *pwPhyLen,*pbyPhySrv
and *pbyPhySgn to singles structure for tx buffers.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9fbafdd9add10e349deeb1f38290943d5107e276 27-Mar-2013 Andres More <more.andres@gmail.com> staging: vt6656: remove consecutive newlines

Several sed -i '/^$/{ N /^\n$/ D }' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e1970fce115c4c0ffd4f2ee5cf4f08519274d8e8 26-Mar-2013 Andres More <more.andres@gmail.com> staging: vt6656: remove unused functions

Removed defined symbols not being used elsewhere.
Only compile tested.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
00d0603cbd9aa1c9a28c9fe973d14f74e83ba646 19-Mar-2013 Andres More <more.andres@gmail.com> staging: vt6656: remove code placeholders

Removed comments from coding template.
sed -i '/^\/\*---/d' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
aa1e1234826e21197f818ca0abf519775ad4eb5c 04-Mar-2013 Geert Uytterhoeven <geert@linux-m68k.org> staging/vt6656: Fix too large integer constant warning on 32-bit

drivers/staging/vt6656/card.c: In function ‘CARDqGetNextTBTT’:
drivers/staging/vt6656/card.c:793: warning: integer constant is too large for ‘unsigned long’ type

Commit c7b7cad0d8df823ea063c86a54316bbcbfa04a7c ("staging/vt6656: Fix
sparse warning constant 0xffffffff00000000U is so big it is unsigned long")
changed the constant to "0xffffffff00000000UL", but that only works on
64-bit. Change it "0xffffffff00000000ULL" to fix it for 32-bit, too.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3eaca0d2f5a4137d4a5ecf63cf34cdf13b499bee 26-Feb-2013 Andres More <more.andres@gmail.com> staging: vt6656: replaced custom WORD definition with u16

Checkpatch findings were not resolved.

sed -i 's/\bWORD\b/u16/g' drivers/staging/vt6656/*.[ch]
sed -i 's/\bPWORD\b/u16 */g' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b902fbfebf2c80c3782e41eda24b487964a47fd1 26-Feb-2013 Andres More <more.andres@gmail.com> staging: vt6656: replaced custom BYTE definition with u8

Checkpatch findings were not resolved, only direct replacement.

sed -i 's/\bBYTE\b/u8/g' drivers/staging/vt6656/*.[ch]
sed -i 's/\bPBYTE\b/u8 */g' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4e9b5e2b8b7f1a9116d760a25f8ea98b3d5b64f4 13-Feb-2013 Andres More <more.andres@gmail.com> staging: vt6656: replaced custom TRUE definition with true

Checkpatch findings were not resolved, just direct replacement.

sed -i 's/\bTRUE\b/true/g' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e269fc2d129ade6543c22052755becf37e306e2a 13-Feb-2013 Andres More <more.andres@gmail.com> staging: vt6656: replaced custom FALSE definition with false

Checkpatch findings were not resolved, just direct replacement.

sed -i 's/\bFALSE\b/false/g' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dfdcc425975d06cbfcc9b5c0fad2f3af5476cd05 13-Feb-2013 Andres More <more.andres@gmail.com> staging: vt6656: replace custom BOOL definition with bool

Checkpatch findings were not resolved, just make direct replacement
plus a couple of conflicting types in declarations.

sed -i 's/\bBOOL\b/bool/g' drivers/staging/vt6656/*.[ch]

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c7b7cad0d8df823ea063c86a54316bbcbfa04a7c 05-Feb-2013 Peter Huewe <peterhuewe@gmx.de> staging/vt6656: Fix sparse warning constant 0xffffffff00000000U is so big it is unsigned long

Since 7c65fa2a4c176c9bfab1ef954c4cef005dd9fb8b
'staging: vt6656: Remove QWORD from source and replace with u64.'
a new sparse warning showed up:

'drivers/staging/vt6656/card.c:798:26: sparse: constant
0xffffffff00000000U is so big it is unsigned long'

-> Append L to fix the warning.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Cc: Forest Bond <forest@alittletooquiet.net>
Cc: Malcolm Priestley <tvboxspy@gmail.com>
Cc: "Justin P. Mattock" <justinmattock@gmail.com>
Cc: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14c5ef57714d21ff8234aa9a756765e9cb38f837 18-Jan-2013 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: staging: vt6656 change remaining to vnt_mgmt and remove typedef.

Use
struct vnt_manager

Move vnt_manager from sMgmtObj to vnt_mgmt.

and remove typedef from structures
vnt_private
vnt_manager
vnt_rx_mgmt
vnt_tx_mgmt

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
dd0a774fc727ee793780197beb3f2cf80bfefa99 10-Dec-2012 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: card/main_usb/device use new structure names

This patch also cleans up function declarations, definitions and local variables
were appropriate replacing types defined in "ttype.h" with linux/types.h.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7c65fa2a4c176c9bfab1ef954c4cef005dd9fb8b 28-Nov-2012 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6656: Remove QWORD from source and replace with u64.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bda79783583290eee1d2b7ed96c506d57638ab00 26-Aug-2012 Justin P. Mattock <justinmattock@gmail.com> staging "vt6656" Typo rename Caculate to Calculate.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a0a1f61afa1ff8edda4ad69f37fdd69fdb7d0453 26-Aug-2012 Justin P. Mattock <justinmattock@gmail.com> staging "vt6656" Fix typos in comments, and in a printk message.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5328b9ccfc4db5c03aeb05bf0d205625d67dd911 09-Jul-2012 Marcos Paulo de Souza <marcos.souza.org@gmail.com> staging: vt6656: Remove unsed macros

These macros were reported by forgotten-macros tool
(https://github.com/marcosps/forgotten_macros).

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0ae3a912d8beabb2fd9bf81054b88aa8dc40feb5 18-Dec-2011 Marcos Paulo de Souza <marcos.mage@gmail.com> drivers: staging: vt6656: card.c: Remove useless return statement

This patch removes the return of the function CARDbSetMediaChannel, that
always return TRUE value.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fee6433bdd1a4ab403a79069eda9a38da9903243 30-Nov-2011 Marcos Paulo de Souza <marcos.mage@gmail.com> staging: vt6656: card.c: Change return of CARDbAddBasicRate to void

In all locations that call this function ignore your returna, so remove
it.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
Cc: Forest Bond <forest@alittletooquiet.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fc4f55860254566b43e066bed0962c7cca72da84 30-Oct-2010 Matias De la Puente <mfpuente.ar@gmail.com> staging: vt6656: resolved checkpatch finding

removed parentesis and spaces at the start of a line of a return

Signed-off-by: Matias De la Puente <mfpuente.ar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
cd74ea33e39a3c680d8f56fb1730db6dad8d5933 16-Sep-2010 matias <munozmatiasn@gmail.com> staging: vt6656: delete some parenthesis

I remove parenthesis for a return variable, and also delete a space and tab the code line

Signed-off-by: matias <munozmatiasn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
33d33e42b647095b01b1223c7b88718584129d2e 20-May-2010 Andres More <more.andres@gmail.com> Staging: vt6656: code cleanup, fixed 'for' statements

Resolved checkpatch findings, but some long lines warnings.
ERROR: space required before the open parenthesis '('
ERROR: spaces required around that

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
cc856e61ee4ffb150ff352e3d6940978a2f819e8 18-May-2010 Andres More <more.andres@gmail.com> Staging: vt6656: removed custom UCHAR/USHORT/UINT/ULONG/ULONGLONG typedefs

Cleared all checkpatch warnings but 'do not add new typedefs' ones.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
6f8c13c7dbe0d51e62bdb1aa11c1c38a8f8e3133 05-May-2010 Andres More <more.andres@gmail.com> Staging: vt6656: code cleanup, removed OUT definition

Remoted empty OUT define in ttype.h and its usage across the code.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8611a29ab967bc197494db19d31994d1b5a26fdc 01-May-2010 Andres More <more.andres@gmail.com> Staging: vt6656: removed VOID/PVOID definitions

Warnings about the usage of externs in .c files were not resolved here.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
592ccfebb3d7ae6d2fa367b97f080790befa3c6c 17-Apr-2010 Andres More <more.andres@gmail.com> Staging: vt6656: Removed IN definition

Code cleanup, removed empty IN definition used to denote input parameters.

Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8a3d91b02830dd7c58d27e5de65222219ac2163f 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: remove tbit.h

Remove use of tbit macros and remove the header file.

Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3e362598fd3c7b8729afd0383a4cdf08849b020e 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: Remove umem.h Part 2

Remove references to umem.h macros and refer directly to memcpy
functions. Delete the include file.

Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
9d26d60f99855056a20ac7c0b68eb5ed04619831 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: Clean up include files, Part 1

Remove cplusplus lines from include files
Remove needless ifdefs on includes to conform with C
conventions. Remove misc commented code/includes
Update TODO

Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
92b96797118e5836294a6d42a5a8e10b86f50e3f 13-Jun-2009 Forest Bond <forest@alittletooquiet.net> Staging: Add pristine upstream vt6656 driver sources to drivers/staging/vt6656.

Add pristine upstream vt6656 driver sources to drivers/staging/vt6656. These
files were copied from the driver directory in the upstream source archive,
available here:

http://www.viaarena.com/Driver/VT6656_Linux_src_v1.19_12_x86.zip

After copying, trailing whitespace was stripped. This is GPL-licensed code.

Signed-off-by: Forest Bond <forest@alittletooquiet.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>