History log of /drivers/staging/vt6655/card.c
Revision Date Author Comments
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
859171ca92f2865453b4b2e17bf679c67044a833 15-Nov-2010 Joe Perches <joe@perches.com> drivers/staging: Remove unnecessary semicolons

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7b6a001313a9b11a1f0985de05fff514db41d72d 01-Aug-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: replace BOOL with in kernel bool

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
5a5a2a6ad4aa2467bcc34fa50e85c2afc90bab05 01-Aug-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: replace FALSE with in kernel false

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1b12068a804711ae2f4fd2876d5706542c1d7ad9 01-Aug-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: replace TRUE with in kernel true

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3fc9b584c28095fe0d46cfb8bddafdf93947042e 24-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove BYTE typedef

Replace all occurrences with unsigned char type.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2986db5fd31e312206d3ebfa4786aac04bdbe486 24-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove WORD typedef

Replace all occurrences with unsigned short type.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
0f4c60d61e9c10a0733eacd650c101189bdf75cd 24-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove DWORD typedef

Replace all occurrences with unsigned long type, except for pointer fields that
should be u32 in packed structures and 8-byte-aligned 8 byte long structure
QWORD.

Thanks to Jiri Slaby for pointing out that simply replacing by unsigned long is
wrong on x86-64 arch.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
412b2d08b93165303d698267d1eeac19e14e67a4 22-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove DWORD_PTR pointer typedef

Use unsigned long instead.

Signed-off-by: Charles Clément <caratorn@gmail.com>
79566eb2df013f0ed20e548f4be0f8afbe78f9a3 21-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: move channel mapping code from card.c to channel.c

Move functions managing the channel mapping to a new channel.c file, as done in
the staging VT6656 driver. The function names contained in card.c were prefixed
with CARD followed by the first letter of the return code, remove this and use
more coherent function names.

The following functions moved and were renamed:

ChannelValid -> is_channel_valid
CARDbSetChannel -> set_channel
CARDvInitChannelTable -> init_channel_table
CARDbyGetChannelMapping -> get_channel_mapping
CARDvSetCountryInfo -> set_country_info
CARDbySetSupportChannels -> set_support_channels
CARDbChannelGetList -> channel_get_list
CARDvSetCountryIE -> set_country_IE
CARDbGetChannelMapInfo -> get_channel_map_info
CARDvSetChannelMapInfo -> set_channel_map_info
CARDvClearChannelMapInfo -> clear_channel_map_info
CARDbyAutoChannelSelect -> auto_channel_select
CARDbyGetChannelNumber -> get_channel_number

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15df6c2b922de3088203ad90347a30d31ccca67e 06-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove PWORD typedef

Use unsigned short * instead.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2989e96f17f2dcbd73aee37856899c2885df0686 06-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove PBYTE typedef

Use unsigned char * instead.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
b6e95cd52a81079abc1def7867e27bf541953089 02-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove custom UINT typedef

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7ca3019525e6e3ba727e36dfdc07d8e8d487a5e2 01-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove custom INT typedef

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ec28c7fab4c5e5e5c168f0b48bc10bfc7f9896d5 28-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove I8 custom macro

Remove custom macro for signed 8-bit integers.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
6b1e6b8f957386e60e3fac15a64518c8f7ce5a69 20-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove unused argument in ChannelValid function

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8b0591e5017ea2a78f5181fd136e1b281323e5a3 19-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: use is_zero_ether_addr instead of custom macro

Replace custom macro IS_NULL_ADDRESS by is_zero_ether_addr from
<linux/etherdevice.h>.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
078b078f662a8e21d5a6fee81007b5337ab962cd 15-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: use ETH_ALEN macro instead of custom one

Replaced custom ethernet address length definition U_ETHER_ADDR_LEN by
ETH_ALEN from <linux/if_ether.h>.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3cdec5540d622e6b910a1fe91f544630a8ba8099 13-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove OUT definition

Remove empty OUT definition used to specify output parameters.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3a215e0ff4184314f7f1a099354a272ddedff289 13-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove IN definition

Remove empty IN definition used to specify input parameters.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
830a619c02a53d52c86534f7d857b2e8d0ba893f 07-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove PVOID definition and use

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
6b35b7b3798b652a57fbce480f350aac851431c4 07-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove VOID definition and use

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
cd9d25ba31b2def7f84da1e3cedf21e8ebb90722 12-Feb-2010 Dan Carpenter <error27@gmail.com> staging: vt6655: add missing curly braces

It's clear from the indent levels and the context that there are supposed to
be curly braces here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
256a816b6b78bf29fba0c0f1bbcf998953429422 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: remove tbit.h part 2

Remove use of tbit macros adn remove header file.

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

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>
a7ad322a46663755718a214a9a34e5cfe64d07f7 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: Clean up include files, Part 2

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>
a884847a1a30be9a55d975f1e3fe8cf5f922bb79 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: Typedef and macro cleanup Part 2

Clean up unused typedefs and macros to remove Win32'isms and
misc non-linux constructs. Text edits to referencing
source for less frequently used macros.

Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7e809a9b10ab5ee985e23dea537e0236f026d1ca 30-Jul-2009 Jim Lieb <lieb@canonical.com> Staging: vt6655 textual cleanup in prep for driver merge

The vt6655 and vt6656 drivers are from a common origin but
have drifted apart with minor textual differences. There
are two changes:

s/DEVICE_PRT/DBG_PRT/g

and

s/byPktTyp/byPktType/g

This significantly reduces the differences between the two file sets
in preparation to merging the common code. A few whitespace and text bits were
also adjusted.

Signed-off-by: Jim Lieb <lieb@canonical.com>
Cc: Forest Bond <forest@alittletooquiet.net>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
5449c685a4b39534f18869a93896370224463715 25-Apr-2009 Forest Bond <forest@alittletooquiet.net> Staging: Add pristine upstream vt6655 driver sources

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

http://www.viaarena.com/Driver/vt6655_linux_src_v1.19.12_x86.zip

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