History log of /drivers/staging/vt6655/bssdb.c
Revision Date Author Comments
48caf5a060491edb2e1793539dad72e70c54c869 17-Aug-2014 Joe Perches <joe@perches.com> staging: vt6655: Convert DBG_PRT to pr_<level>

DBG_PRT uses are unnecessarily complex.

Convert DBG_PRT msglevel to pr_<level>.
This changes the KERN_<level> type of several uses.
It also enables dynamic_debug for the pr_debug conversions.

This patch can be a prelude to converting these pr_<level>
uses to dev_<level> as appropriate.

Other changes:

Realign arguments of these conversions.
Remove now unused static int msglevel declarations.
Remove now unused DBG_PRT #define.

Compile tested only.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
cf76dc4b85447e17678d61505eb1b92743c4b67b 10-Aug-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6655: bssdb/datarate/dpc/power/rxtx use struct vnt_private

Replacing PSDevice.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0fc2a76eef05ee1aa82b3d9bf34eea2b50f5e1ba 10-Aug-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6655: Replace and remove typedef QWORD/ DQWORD

Replace the variables with u64/__le64.

The endian variant is needed in some places endian correction is
needed.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
33c1576ea1feb1817600aad4299537e92b90ebb5 28-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6655: dead code remove undefined macro FOR_LED_ON_NOTEBOOK code.

Removing all variables associated with the code.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6b7112719fd48c29f35333ef152a5a450f01dc83 25-Jul-2014 Guillaume Clement <gclement@baobob.org> staging: vt6655: Add missing blank lines after declarations

This patch fixes the missing blank lines after declarations in vt6655
reported by checkpatch.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fe802546ce748b5af933157e181f1d653ac5ec9c 25-Jul-2014 Guillaume Clement <gclement@baobob.org> staging: vt6655: remove useless return statements

Many return statements in void function were present at the end of
functions, with no effect. They now are removed.

This fixes a bunch of checkpatch warnings.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4aa0abed3a2a11b7d71ad560c1a3e7631c5a31cd 23-Jul-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6655: Fix disassociated messages every 10 seconds

byReAssocCount is incremented every second resulting in
disassociated message being send every 10 seconds whether
connection or not.

byReAssocCount should only advance while eCommandState
is in WLAN_ASSOCIATE_WAIT

Change existing scope to if condition.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9e4c5c2837a4bf059590ad75fa3fe0c2af93e65a 22-Jul-2014 Guillaume Clement <gclement@baobob.org> staging: vt6655: statify some variables

Some variables are used only in the context of their .c file, which
gives warnings with sparse.

Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bc5cf6563576bb36baa7e93417b9a2e29999a5c6 19-Apr-2014 Guido Martínez <guido@vanguardiasur.com.ar> staging: vt6655: fix checkpatch bracing issues

This patchs fixes tons of warnings such as:

WARNING: braces {} are not necessary for single statement blocks
#354: FILE: drivers/staging/vt6655/wmgr.c:354:
+ for (ii = 0; ii < WLAN_BSSID_LEN; ii++) {
+ pMgmt->abyDesireBSSID[ii] = 0xFF;
+ }

Please note: this patch only fixes bracing issues (and there is still a
lot to do); so if you run checkpatch it _will_ throw a lot of errors.
Use --test-only=braces

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2b0c2a48b62d57213fee4e780c28f06d066f1f71 11-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: delete explicit comparison to bool

This patch fixes all bool tests by deleting the comparison. Most of
these were detected using coccinelle and silence the following type of
coccinelle warnings for drivers/staging/vt6655/bssdb.c file:

WARNING: Comparison to bool

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a777289800a3b767cec3f5974b784e0e0a61c68e 11-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: delete unnecessary whitespace before a quoted newline

This patch silences the following type of warnings:

WARNING: unnecessary whitespace before a quoted newline

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18278771f42ed5ab2fbf730947790f1f433ef8f1 11-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: use netdev_* instead of printk

Checkpatch.pl gave the following warnings

WARNING: printk() should include KERN_ facility level

After fixing these with KERN_INFO facility level, it was suggested to
use netdev_ instead of printk() with KERN_INFO facility.
Used netdev_dbg for the statements inside of PLICE_DEBUG #ifdef, as
debugging shouldn't rely on compile options and netdev_info for one
printk which wasn't inside any #ifdef PLICE_DEBUG.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
88cc85075d1e53731e90fec8670cd9ccafcbe9aa 10-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: remove unneeded semicolon

This patch deletes any unneeded semicolons in driver vt6655 as detected
by coccinelle.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
938db28b337b40faa4a5563f2f7e07ebda66ae7b 09-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: put brace on previous line

Place braces on same line for code statements. Fix the following
checkpatch.pl type of error for drivers/staging/vt6655/bssdb.c file:

ERROR: that open brace { should be on the previous line

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b4f66ad83bcfa45247f5d587168b884435a566c4 09-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: put trailing statements on next line

This patch fixes the following type of checkpatch.pl errors in
drivers/staging/vt6655/bssdb.c file:

ERROR: trailing statements should be on next line

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
347a0475a627d77684b16b718230d5e5395f1cad 09-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: remove braces for single statement blocks

This patch removes braces for single statement blocks, clearing these
types of checkpatch.pl warnings:

WARNING: braces {} are not necessary for single statement blocks
WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
383956442d7ab639777f84c3709390bc1b4daa78 09-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: replace C99 comments wtih C89 comments

This patch replaces C99 comments with /* .. */ comments. Any commented
code is deleted.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8329419a29d15abebc3aefb57f4c6bfdbded7d89 01-Sep-2013 Joe Perches <joe@perches.com> Staging: Convert uses of compare_ether_addr to ether_addr_equal

Preliminary to removing compare_ether_addr altogether:

Use the new bool function ether_addr_equal to add
some clarity and reduce the likelihood for misuse
of compare_ether_addr for sorting.

Additionally:

Used is_zero_ether_addr, removed now unused variable
Converted uses of &foo[0] to foo

Done via cocci script: (and a little typing)

$ cat compare_ether_addr.cocci
@@
expression a,b;
@@
- !compare_ether_addr(a, b)
+ ether_addr_equal(a, b)

@@
expression a,b;
@@
- compare_ether_addr(a, b)
+ !ether_addr_equal(a, b)

@@
expression a,b;
@@
- !ether_addr_equal(a, b) == 0
+ ether_addr_equal(a, b)

@@
expression a,b;
@@
- !ether_addr_equal(a, b) != 0
+ !ether_addr_equal(a, b)

@@
expression a,b;
@@
- ether_addr_equal(a, b) == 0
+ !ether_addr_equal(a, b)

@@
expression a,b;
@@
- ether_addr_equal(a, b) != 0
+ ether_addr_equal(a, b)

@@
expression a,b;
@@
- !!ether_addr_equal(a, b)
+ ether_addr_equal(a, b)

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
96d69e201bbdb05c363e899138f9f42bc8ad8f88 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove unnecessary blank lines

Remove a bunch of useless vertical whitespace.

Convert 3 or more consecutive newlines to 2.
Remove blank lines after open brace and before close brace.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a7307538805f8a30c25b6f5b9566ab21d8ab7515 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove commented out if()s

Commented out code is just noise. Remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
a4ef27ad02e0bfd165e81d6a4f3771ace42ebe41 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove unnecessary parentheses from returns

Returns aren't functions, remove the parentheses to be
more kernel style like.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Convert to kernel brace style

Move braces around to be more kernel like.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f2046f93db0918f99875853772142143590ba0c6 19-Mar-2013 Joe Perches <joe@perches.com> staging: vt6655: Remove commented out printks

These are just noise in the code so remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e1c775793803e53b9c0dfd7d85ccc57630b7afa8 18-Mar-2013 Joe Perches <joe@perches.com> staging:vt6655:bssdb: Whitespace cleanups

Neatening only.
git diff -w shows no differences.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
789d1aef176e720fce4a8a5a9ab07f093ddb9086 20-Aug-2012 Justin P. Mattock <justinmattock@gmail.com> staging: "vt6655" Fix typos in comments.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27e3b90153c52f79beede1dd5eb51db326a5d8a9 09-Jul-2012 Marcos Paulo de Souza <marcos.souza.org@gmail.com> staging: vt6655: Remove all commented 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>
075fb4b7243c90f936049d07761f1cffd2577928 06-Jul-2012 Andy Shevchenko <andriy.shevchenko@linux.intel.com> staging: vt6655: use %pM for BSSID

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Forest Bond <forest@alittletooquiet.net>
Cc: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3e495b2104f782ae36830ea875bfe1a12aa7b2f1 20-Feb-2012 Masanari Iida <standby24x7@gmail.com> staging: Fix typo in bssdb.c

Correct spelling "scaning" to "scanning" in
drivers/staging/vt6656/bssdb.c
drivers/staging/vt6655/bssdb.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9fc86028fa21f8831c0fdc701732cf491da1202c 10-Apr-2011 Joe Perches <joe@perches.com> staging: Remove unnecessary semicolons when if (foo) {...};

Done via perl script:

$ cat remove_semi_if.pl
my $match_balanced_parentheses = qr/(\((?:[^\(\)]++|(?-1))*\))/;
my $match_balanced_braces = qr/(\{(?:[^\{\}]++|(?-1))*\})/;

foreach my $file (@ARGV) {
my $f;
my $text;
my $oldtext;

next if ((-d $file));

open($f, '<', $file)
or die "$P: Can't open $file for read\n";
$oldtext = do { local($/) ; <$f> };
close($f);

next if ($oldtext eq "");

$text = $oldtext;

my $count = 0;
do {
$count = 0;
$count += $text =~ s@\b(if\s*${match_balanced_parentheses}\s*)${match_balanced_braces}\s*;@"$1$3"@egx;
} while ($count > 0);

if ($text ne $oldtext) {
my $newfile = $file;

open($f, '>', $newfile)
or die "$P: Can't open $newfile for write\n";
print $f $text;
close($f);
}
}

$

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>
fe4f34bde28f5a9f3793cced5b4029eda5b78be2 25-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove PUINT typedef

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>
dec572cbe67598080f7beb00279db1a5590cec35 22-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove ULONG_PTR typedef

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>
e3fd16d0819e3b316a4fe316e5f32032df61e9db 02-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove custom ULONG typedef

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>
b83cc2ed466f1b9938521d73fefe8b34baf265ea 01-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove custom LONG typedef

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

Replace custom macro IS_ETH_ADDRESS_EQUAL by compare_ether_addr from
<linux/etherdevice.h>.

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

Replace custom macro IS_BROADCAST_ADDRESS by is_broadcast_ether_addr
from <linux/etherdevice.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>
e64354c0be3b7134c85571a525b2e37fc4a95eef 12-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove HANDLE definition and use

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>
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>
612822f5dd1638de442cf50eb9da54632fba0e66 12-Aug-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: Text janitor in prep for driver merge, part 2

Text only changes to remove textual differences between the vt6655
and vt6656 trees in prep for driver merge.

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>
db6cb9036b2756c50efc43127c476786ea92eae2 24-Jul-2009 Jim Lieb <lieb@canonical.com> Staging: vt665x: 64bit compile fixes Part 1

Fix compile problems with 64bit. These issues could cause corrupted
address crashes. In the process, replaced some definitions to use more
portable kernel types.

Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
7bb8dc2d7eb5594ec890e822bb0517446d369698 02-Jun-2009 Forest Bond <forest@alittletooquiet.net> Staging: vt6655: Remove LINUX_VERSION_CODE preprocessor conditionals.

vt6655: Remove LINUX_VERSION_CODE preprocessor conditionals.

Signed-off-by: Forest Bond <forest@alittletooquiet.net>
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>