History log of /drivers/staging/vt6655/mac.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>
1683440595ea33cc019fb8524b04319cf82bc6ac 22-Jul-2014 Guillaume Clement <gclement@baobob.org> staging: vt6655: change type of PortOffset to void __iomem *

PortOffset was an unsigned long, but used as an pointer to io
memory. Sometimes it was not properly cast before use, which caused
many warning by sparse.

By updating its type to void __iomem *, and reflecting the changes
where it is needed, this removes most of those warnings.

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>
4e8a7e5fc29697f881f5c358f84df52914908703 19-Apr-2014 Guido Martínez <guido@vanguardiasur.com.ar> staging: vt6655: remove dead code

Remove dead code in many places on this driver.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4dbc77c098eee0270b501f92aeb33a0745e00b06 06-Mar-2014 Malcolm Priestley <tvboxspy@gmail.com> staging: vt6655: 64 bit fixes: MACvSetKeyEntry correct sizeof long,

Use u32 to correct the pointer of pdwKey and the size of dwData.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1208f14a37fde2669b86bf1b1cd1122ad2ba3579 10-Nov-2013 Teodora Baluta <teobaluta@gmail.com> staging: vt6655: delete explicit comparison to bool

This patch fixes the following type of coccinelle detected warnings for
driver vt6655:

WARNING: Comparison to bool

Signed-off-by: Teodora Baluta <teobaluta@gmail.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>
c3504bfd11f084636a7a6a1dfce318c6ce8ddbcc 18-Mar-2013 Joe Perches <joe@perches.com> staging:vt6655:mac: 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>
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>
9d828c458f77043ddd9626ee0cfa688dda99c0eb 06-Jun-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove PDWORD typedef

Use unsigned long * 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>
737c3d708c845ab39bfeb1b656e51e84d5771035 28-May-2010 Charles Clément <caratorn@gmail.com> Staging: vt6655: remove U8 custom macro

Remove custom macro for unsigned 8-bit integers.

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>
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>
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>
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>