linux-2.6-microblaze.git
14 years agoStaging: brcm80211: s/ulong/unsigned long/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:15:47 +0000 (11:15 -0700)]
Staging: brcm80211: s/ulong/unsigned long/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/ushort/unsigned short/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:11:46 +0000 (11:11 -0700)]
Staging: brcm80211: s/ushort/unsigned short/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/uchar/unsigned char/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:09:48 +0000 (11:09 -0700)]
Staging: brcm80211: s/uchar/unsigned char/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: s/int8/s8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 18:04:17 +0000 (11:04 -0700)]
Staging: brcm80211: s/int8/s8/

This changes the usage everywhere in the driver, and removes
the definition as it should no longer be used anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove uint8 definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:25:05 +0000 (10:25 -0700)]
Staging: brcm80211: typedefs.h: remove uint8 definition

It's no longer needed anywhere, so remove it.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: include: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:23:40 +0000 (10:23 -0700)]
Staging: brcm80211: include: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: phy: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:14:26 +0000 (10:14 -0700)]
Staging: brcm80211: phy: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: brcmfmac: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:11:12 +0000 (10:11 -0700)]
Staging: brcm80211: brcmfmac: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: sys: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:09:00 +0000 (10:09 -0700)]
Staging: brcm80211: sys: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: util: s/uint8/u8/
Greg Kroah-Hartman [Tue, 5 Oct 2010 17:02:49 +0000 (10:02 -0700)]
Staging: brcm80211: util: s/uint8/u8/

Replace uint8 with u8, the correct kernel type to be using here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove NULL definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:58:02 +0000 (09:58 -0700)]
Staging: brcm80211: typedefs.h: remove NULL definition

No need for a driver to define NULL, the core kernel handles that.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unit64 and int64 typedefs
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:56:50 +0000 (09:56 -0700)]
Staging: brcm80211: remove unit64 and int64 typedefs

They are not used anywhere, nor should they be defined.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h move types.h to the top of the file
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:53:41 +0000 (09:53 -0700)]
Staging: brcm80211: typedefs.h move types.h to the top of the file

Include other files from the top, it's easier to unwind the logic that
way.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove version.h inclusion
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:51:42 +0000 (09:51 -0700)]
Staging: brcm80211: typedefs.h: remove version.h inclusion

It isn't needed anymore.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: typedefs.h: remove some unused #if logic
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:50:20 +0000 (09:50 -0700)]
Staging: brcm80211: typedefs.h: remove some unused #if logic

We never care about __STRICT_ANSI__ from within the kernel, so remove
this logic.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove bool redefinition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:48:23 +0000 (09:48 -0700)]
Staging: brcm80211: remove bool redefinition

The core kernel type code handles this properly, no driver
should ever do it.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove redefinition of size_t
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:43:56 +0000 (09:43 -0700)]
Staging: brcm80211: remove redefinition of size_t

No driver should ever do this.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove PTRSZ definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:42:56 +0000 (09:42 -0700)]
Staging: brcm80211: remove PTRSZ definition

It was never used.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove floating point typedefs
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:41:45 +0000 (09:41 -0700)]
Staging: brcm80211: remove floating point typedefs

It's not ever used, so remove the typedef.  Floating point isn't used
in the kernel, so this could never be an issue here.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove INLINE definition
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:40:02 +0000 (09:40 -0700)]
Staging: brcm80211: remove INLINE definition

Use the "real" inline marking for functions.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove UNUSED_PARAMETER macro
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:35:29 +0000 (09:35 -0700)]
Staging: brcm80211: remove UNUSED_PARAMETER macro

It's not needed anywhere.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove unneeded #ifdef checks
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:31:19 +0000 (09:31 -0700)]
Staging: brcm80211: remove unneeded #ifdef checks

For a .h file, you never need to check it, the .h file does it
itself.  For the typedef.h file, this is never needed.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Purge unused extern declarations
Brett Rudley [Sun, 3 Oct 2010 01:08:53 +0000 (18:08 -0700)]
staging: brcm80211: Purge unused extern declarations

Purge unused extern declarations

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Purge packets tags
Brett Rudley [Sun, 3 Oct 2010 01:08:52 +0000 (18:08 -0700)]
staging: brcm80211: Purge packets tags

No longer need packet tags

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Purge unused flags and macros from wlc_scb.h
Brett Rudley [Sun, 3 Oct 2010 01:08:51 +0000 (18:08 -0700)]
staging: brcm80211: Purge unused flags and macros from wlc_scb.h

Purge unused flags and macros from wlc_scb.h

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Purge unused #includes
Brett Rudley [Sat, 2 Oct 2010 01:03:27 +0000 (18:03 -0700)]
staging: brcm80211: Purge unused #includes

Purging unused #includes.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Move #includes out of header
Brett Rudley [Sat, 2 Oct 2010 01:03:27 +0000 (18:03 -0700)]
staging: brcm80211: Move #includes out of header

Start the process of moving #includes out of headers and into individual C files.
For now, this patch addresses the softmac side of the driver, fullmac still to
be done.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unneeded definitions and structures.
Henry Ptasinski [Fri, 1 Oct 2010 21:05:25 +0000 (14:05 -0700)]
staging: brcm80211: Remove unneeded definitions and structures.

Remove definitions and structures that are no longer needed.  Most of the
remaining ones can probably be replaced with the equivalent ones from
include/linux/ieee80211.h.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unnecessary assertions.
Henry Ptasinski [Fri, 1 Oct 2010 21:05:24 +0000 (14:05 -0700)]
staging: brcm80211: Remove unnecessary assertions.

Remove assertions on the size of several structures.  These structures are
never used anywhere.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unnecessary debug print routines.
Henry Ptasinski [Fri, 1 Oct 2010 21:05:23 +0000 (14:05 -0700)]
staging: brcm80211: Remove unnecessary debug print routines.

Removed several unused and rarely used debug printout routines that look into
portions of the frame that are more properly left to the mac80211 stack.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unused field from wlc_info structure.
Henry Ptasinski [Fri, 1 Oct 2010 21:05:22 +0000 (14:05 -0700)]
staging: brcm80211: Remove unused field from wlc_info structure.

Remove an unused field from the wlc_info structure, so that the underlying
structure can also be cleaned up.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unnecessary assertions.
Henry Ptasinski [Fri, 1 Oct 2010 21:05:21 +0000 (14:05 -0700)]
staging: brcm80211: Remove unnecessary assertions.

Remove assertions on the size of several structures.  These structures are
never used anywhere.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unused structure.
Henry Ptasinski [Fri, 1 Oct 2010 21:05:20 +0000 (14:05 -0700)]
staging: brcm80211: Remove unused structure.

Remove the wl_assoc_info_t structure.  It's never used, and depends on
structures defined in other header files that can now also be cleaned up.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:41 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:40 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:39 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:38 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:37 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:36 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch errors 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:35 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch errors 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:34 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix checkpatch error 'assignment in if condition'
Jason Cooper [Thu, 30 Sep 2010 19:15:33 +0000 (15:15 -0400)]
staging: brcm80211: fix checkpatch error 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agosmbfs: move to drivers/staging
Arnd Bergmann [Mon, 4 Oct 2010 20:55:57 +0000 (22:55 +0200)]
smbfs: move to drivers/staging

smbfs has been scheduled for removal in 2.6.27, so
maybe we can now move it to drivers/staging on the
way out.

smbfs still uses the big kernel lock and nobody
is going to fix that, so we should be getting
rid of it soon.

This removes the 32 bit compat mount and ioctl
handling code, which is implemented in common fs
code, and moves all smbfs related files into
drivers/staging/smbfs.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: autofs3: create TODO file
Greg Kroah-Hartman [Tue, 5 Oct 2010 16:06:00 +0000 (09:06 -0700)]
Staging: autofs3: create TODO file

This lists what's going to happen to the filesystem (i.e. removal
in 2.6.38 unless someone steps up to maintain it.)

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoautofs3: move to drivers/staging
Arnd Bergmann [Mon, 4 Oct 2010 20:28:10 +0000 (22:28 +0200)]
autofs3: move to drivers/staging

Nobody appears to be interested in fixing autofs3 bugs
any more and it uses the BKL, which is going away.

Move this to staging for retirement. Unless someone
complains until 2.6.38, we can remove it for good.

The include/linux/auto_fs.h header file is still used
by autofs4, so it remains in place.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Cc: "H. Peter Anvin" <hpa@zytor.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: tidspbridge: replace iommu custom for opensource implementation
Fernando Guzman Lugo [Fri, 1 Oct 2010 02:12:48 +0000 (21:12 -0500)]
staging: tidspbridge: replace iommu custom for opensource implementation

Now the tidspbridge uses the API's from
iovmm module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: disable all peripherals at bridge_brd_stop
Ernesto Ramos [Thu, 30 Sep 2010 18:49:36 +0000 (13:49 -0500)]
staging: ti dspbridge: disable all peripherals at bridge_brd_stop

DSP Bridge needs to disable the peripheral clocks when switches to
BRD_STOPPED since that would prevent the domain to enter in OFF state.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: Replace find_lcm with lcm kernel func
Ernesto Ramos [Thu, 30 Sep 2010 18:34:13 +0000 (13:34 -0500)]
staging: ti dspbridge: Replace find_lcm with lcm kernel func

Resendig this patch since it was missed in the last merge...

Remove find_lcm within nldr.c and use standard
kernel function lcm().

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ti dspbridge: remove cmm_xlator_delete wrapper
Ernesto Ramos [Thu, 30 Sep 2010 18:33:41 +0000 (13:33 -0500)]
staging: ti dspbridge: remove cmm_xlator_delete wrapper

Resending this patch since it was missed in the last merge...

Remove unnecessary cmm_xlator_delete function and use
kfree() kernel function directly.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging/bcm: add sparse annotations
Arnd Bergmann [Thu, 30 Sep 2010 08:24:12 +0000 (10:24 +0200)]
staging/bcm: add sparse annotations

This marks up the code where sparse complains in most cases.
Most of the changes are in the ioctl handling code, which
gets __user annotations, finding one unchecked user access.

The rest is mostly about marking functions static when they
are only used in one file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging/bcm: fix most build warnings
Arnd Bergmann [Thu, 30 Sep 2010 08:24:11 +0000 (10:24 +0200)]
staging/bcm: fix most build warnings

This removes all warnings I get on a 64 bit build except
for those that look unfixable, where we convert a pointer
to a 32 bit integer and change its byte order!

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging/ft1000-usb: fix problems found by sparse
Arnd Bergmann [Thu, 30 Sep 2010 08:24:10 +0000 (10:24 +0200)]
staging/ft1000-usb: fix problems found by sparse

In the original code, address space annotations are missing,
which hides a possible unchecked user pointer access.

Two functions use a lot of stack space.

Extern declarations are all in the wrong place, which leads
to type differences between caller and callee in some cases.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging/ft1000-usb: fix build warnings
Arnd Bergmann [Thu, 30 Sep 2010 08:24:09 +0000 (10:24 +0200)]
staging/ft1000-usb: fix build warnings

This lets us see clearer when stuff breaks.

Most of the changes are fixes for casts between int and pointer
that don't work on 64 bit.

The ioctl function uses a large amount of stack, which gets
fixed by allocating the buffer dynamically.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging/ft1000-usb: fix unlocked_ioctl prototype
Arnd Bergmann [Thu, 30 Sep 2010 08:24:08 +0000 (10:24 +0200)]
staging/ft1000-usb: fix unlocked_ioctl prototype

unlocked_ioctl has a "long" return type.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: make new character devices nonseekable
Arnd Bergmann [Thu, 30 Sep 2010 08:24:07 +0000 (10:24 +0200)]
staging: make new character devices nonseekable

As a preparation for changing the default behaviour of llseek to no_llseek,
every file_operations structure should have a .llseek operation.

There are three new instances in staging now, which can all be changed
into no_llseek explicitly since the devices do not need to seek.

Add nonseekable_open where appropriate, to prevent pread/pwrite as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: remove the Atheros otus vendor driver
Luis R. Rodriguez [Fri, 1 Oct 2010 23:16:34 +0000 (16:16 -0700)]
staging: remove the Atheros otus vendor driver

Atheros originally had posted a vendor driver to support
the Atheros AR9170 devices, the driver was called otus [1].
The otus driver was staging quality but it, along with
other chipset documentation helped the community do a rewrite
for a proper driver. Johannes Berg did the ar9170 [2] work and
Christian Lamparter then followed up with some final touches
for inclusion upstream.

The original goal behind ar9170 was to match all functionality,
performance, stability and quality against Otus. In the end this
proved quite challenging even with GPLv2 firmware.

Christian then decided to work on a replacement driver with
new enhancements to the GPLv2 firmware. It took 1 year, 5 months,
9 days since this merge of ar9170usb upstream to release carl9170
with upstream inclusion intentions but its now there.

We remove the Otus driver now as the carl9170 driver actually
ends up not only replacing but superseding the staging Otus driver!

http://wireless.kernel.org/en/users/Drivers/otus
http://wireless.kernel.org/en/users/Drivers/ar9170
http://wireless.kernel.org/en/users/Drivers/carl9170

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: comedi: fix EXPORT SYMBOL coding style issue in ni_labpc.c
Maurice Dawson [Tue, 28 Sep 2010 16:35:53 +0000 (17:35 +0100)]
Staging: comedi: fix EXPORT SYMBOL coding style issue in ni_labpc.c

This is a patch to the ni_labpc.c file that fixes up, EXPORT SYMBOL(foo)
should immediately follow its function/variable warnings, found by the
checkpatch.pl tool

Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Fix debug section mismatch warning
Brett Rudley [Thu, 30 Sep 2010 00:11:11 +0000 (17:11 -0700)]
staging: brcm80211: Fix debug section mismatch warning

wl_remove() is now called from places other than the .remove field of struct pci_driver so
do not annotate wl_remove() with __devexit.  This removes the debug section mismatch warning
introduced by the previous nonexistant firmware patch.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: fix #ifdef BRCM_FULLMAC mess
Nohee Ko [Wed, 29 Sep 2010 22:56:49 +0000 (15:56 -0700)]
staging: brcm80211: fix #ifdef BRCM_FULLMAC mess

This patch fixes "#ifdef BRCM_FULLMAC" mess which shows
in siutils.c/hndpmu.c.
All unnecessary #ifdefs were erased.
Also as a part of this work, bcmutils.c was also modified.

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Remove unneeded compile flags.
Henry Ptasinski [Wed, 29 Sep 2010 21:50:49 +0000 (14:50 -0700)]
staging: brcm80211: Remove unneeded compile flags.

This removes compile flags that are completely unnecessary when building the
brcmfmac driver.

Also sorts the options to make it a bit easier to look at them.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: cleanup headers
Brett Rudley [Wed, 29 Sep 2010 18:42:47 +0000 (11:42 -0700)]
staging: brcm80211: cleanup headers

Trim down bcmip.h to only whats needed, purge the rest.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: cleanup headers
Brett Rudley [Wed, 29 Sep 2010 18:41:56 +0000 (11:41 -0700)]
staging: brcm80211: cleanup headers

Purge unused and extraneous header, brcm80211/include/proto/802.11e.h

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: delete unused/obsolete code
Brett Rudley [Wed, 29 Sep 2010 00:35:39 +0000 (17:35 -0700)]
staging: brcm80211: delete unused/obsolete code

Delete unused attempt to debug through /proc.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: handle missing firmware better
Brett Rudley [Tue, 28 Sep 2010 18:34:44 +0000 (11:34 -0700)]
staging: brcm80211: handle missing firmware better

Handle non-extistent firmware more gracefully.

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: keucr: fix compiler warning
Greg Kroah-Hartman [Thu, 30 Sep 2010 11:34:26 +0000 (04:34 -0700)]
Staging: keucr: fix compiler warning

Now that we aren't using the rc_lock variable, delete it to keep gcc
happy and not complaining about it.

Cc: Al Cho <acho@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: keucr: fix keucr lost disconnect in transport
Al Cho [Fri, 24 Sep 2010 10:50:11 +0000 (18:50 +0800)]
staging: keucr: fix keucr lost disconnect in transport

The other part of keucr lost usb disconnect.
Unplug SDcard after thread scan,the wrong rule in usb_stor_port_reset,
so the driver still fail in stress test.

Signed-off-by: Al Cho <acho@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: vme: Assure D16 cycle if required in master_read and master_write
Arthur Benilov [Fri, 24 Sep 2010 17:26:13 +0000 (19:26 +0200)]
Staging: vme: Assure D16 cycle if required in master_read and master_write

From a95892fc2246d6dc45f57b7dd68f32b9b28bd0f7 Mon Sep 17 00:00:00 2001
From: Arthur Benilov <arthur.benilov@gmail.com>
Date: Fri, 24 Sep 2010 13:51:07 +0200
Subject: [PATCH] Staging: vme: Assure D16 cycle if required in master_read and master_write

memcpy_fromio() and memcpy_toio() functions apply internally to __memcpy() that
performs data transfer in 32-bits or 8-bits blocks (at least on x86). This makes
impossible to perform D16 cycle with ca91cx42 bridge. Provided modification
assures performing data transfer with 32, 16, and 8 bits chunks.

Signed-off-by: Arthur Benilov <arthur.benilov@iba-group.com>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: iio: whitespace cleanup
Phillip Kurtenbach [Sat, 25 Sep 2010 23:11:09 +0000 (01:11 +0200)]
staging: iio: whitespace cleanup

Fixed whitespace coding style issues.

Signed-off-by: Phillip Kurtenbach <pkurtenbach@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: slicoss: use free_netdev(netdev) instead of kfree()
Vasiliy Kulikov [Tue, 28 Sep 2010 17:08:08 +0000 (21:08 +0400)]
staging: slicoss: use free_netdev(netdev) instead of kfree()

Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

@@
struct net_device* dev;
@@

-kfree(dev)
+free_netdev(dev)

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Acked-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: octeon: use free_netdev(netdev) instead of kfree()
Vasiliy Kulikov [Tue, 28 Sep 2010 17:08:01 +0000 (21:08 +0400)]
staging: octeon: use free_netdev(netdev) instead of kfree()

It is not guaranteed that free_netdev() is macro.
Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ath6kl: use free_netdev(netdev) instead of kfree()
Vasiliy Kulikov [Tue, 28 Sep 2010 17:07:55 +0000 (21:07 +0400)]
staging: ath6kl: use free_netdev(netdev) instead of kfree()

It is not guaranteed that free_netdev() is macro.
Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: otus: use free_netdev(netdev) instead of kfree()
Vasiliy Kulikov [Tue, 28 Sep 2010 17:08:04 +0000 (21:08 +0400)]
staging: otus: use free_netdev(netdev) instead of kfree()

Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

@@
struct net_device* dev;
@@

-kfree(dev)
+free_netdev(dev)

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: wlags49_h2: use free_netdev(netdev) instead of kfree()
Vasiliy Kulikov [Tue, 28 Sep 2010 17:08:11 +0000 (21:08 +0400)]
staging: wlags49_h2: use free_netdev(netdev) instead of kfree()

Freeing netdev without free_netdev() leads to net, tx leaks.
I might lead to dereferencing freed pointer.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

@@
struct net_device* dev;
@@

-kfree(dev)
+free_netdev(dev)

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: ft1000: fix skb, netdev, memory leaks
Vasiliy Kulikov [Tue, 28 Sep 2010 17:49:35 +0000 (21:49 +0400)]
staging: ft1000: fix skb, netdev, memory leaks

ft1000_copy_up_pkt() doesn't free skb on errors.
init_ft1000_card() doesn't free netdev with free_netdev() but with kfree().
init_ft1000_card() doesn't check request_region()'s return value
and doesn't free region on error.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Convert macros to inline functions
Mike McCormack [Fri, 24 Sep 2010 09:40:01 +0000 (18:40 +0900)]
Staging: rtl8192e: Convert macros to inline functions

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean formatting in rtl8192_hard_start_xmit()
Mike McCormack [Fri, 24 Sep 2010 09:39:50 +0000 (18:39 +0900)]
Staging: rtl8192e: Clean formatting in rtl8192_hard_start_xmit()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean up rtl8192_pci_initdescring()
Mike McCormack [Fri, 24 Sep 2010 09:39:41 +0000 (18:39 +0900)]
Staging: rtl8192e: Clean up rtl8192_pci_initdescring()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean formatting in rtl8192_tx()
Mike McCormack [Fri, 24 Sep 2010 09:39:31 +0000 (18:39 +0900)]
Staging: rtl8192e: Clean formatting in rtl8192_tx()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Remove dead code from rtl8192_tx
Mike McCormack [Fri, 24 Sep 2010 09:39:18 +0000 (18:39 +0900)]
Staging: rtl8192e: Remove dead code from rtl8192_tx

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean up rtl8192_halt_adapter()
Mike McCormack [Fri, 24 Sep 2010 09:39:09 +0000 (18:39 +0900)]
Staging: rtl8192e: Clean up rtl8192_halt_adapter()

Remove dead code, fix whitespace, clean comments

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean up rtl8192_qos_association_resp()
Mike McCormack [Fri, 24 Sep 2010 09:38:59 +0000 (18:38 +0900)]
Staging: rtl8192e: Clean up rtl8192_qos_association_resp()

Fix whitespace, remove dead code.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Delete some dead code
Mike McCormack [Fri, 24 Sep 2010 09:38:51 +0000 (18:38 +0900)]
Staging: rtl8192e: Delete some dead code

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean up formatting in MapHwQueueToFirmwareQueue()
Mike McCormack [Fri, 24 Sep 2010 09:38:41 +0000 (18:38 +0900)]
Staging: rtl8192e: Clean up formatting in MapHwQueueToFirmwareQueue()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: rtl8192e: Clean up rtl8192_net_update()
Mike McCormack [Fri, 24 Sep 2010 09:38:23 +0000 (18:38 +0900)]
Staging: rtl8192e: Clean up rtl8192_net_update()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: west bridge, removal of " " before ";"
David Cross [Fri, 24 Sep 2010 00:24:45 +0000 (17:24 -0700)]
Staging: west bridge, removal of " " before ";"

This patch fixes removes all of the the " ;"'s in the west bridge driver
and instead replaces them with ";" only. Although this is a large patch,
this is the only thing that it does. I can break it up on a file basis
if needed.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: west bridge, cyasgadget fix for usb_gadget_probe_driver
David Cross [Fri, 24 Sep 2010 00:20:00 +0000 (17:20 -0700)]
Staging: west bridge, cyasgadget fix for usb_gadget_probe_driver

This patch fixes the west bridge cyasgadget driver in order to allow for
compilation against the linux-next tree. This changes
usb_gadget_register_driver to usb_gadget_probe_driver and updates this
function based on the new function definition (bind call).

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove Module.symvers file from the tree
Greg Kroah-Hartman [Thu, 30 Sep 2010 01:07:31 +0000 (18:07 -0700)]
Staging: brcm80211: remove Module.symvers file from the tree

This shouldn't have been in the tree, it's generated by the build, so
remove it.

Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: drop old VT switch code, watch for CONBLANK event
Andres Salomon [Sun, 26 Sep 2010 02:06:30 +0000 (19:06 -0700)]
staging: olpc_dcon: drop old VT switch code, watch for CONBLANK event

Eons ago, in a galaxy far far away, Jordan committed code to work around
the fact that X might have put the DCON to sleep and then crashed (in that
galaxy, X crashed a lot; crazy, right?)

This code was based on a custom API.  These days, we have code which watches
for FB unblanks, and should perform the same function.. Therefore, the older
code can be dropped.  We should probably be watching for CONBLANK events to,
so allow those to turn the DCON back on.

Dropping the old code is necessary for building the driver.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: add people to the Cc list
Andres Salomon [Sun, 26 Sep 2010 02:05:50 +0000 (19:05 -0700)]
staging: olpc_dcon: add people to the Cc list

Some additional folks requested to be Cc'd for OLPC-DCON changes; add them
to the TODO file.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: remove outdated backlight comment
Andres Salomon [Sat, 25 Sep 2010 06:50:16 +0000 (23:50 -0700)]
staging: olpc_dcon: remove outdated backlight comment

This comment about killing power to the backlight is ancient, and incorrect
(the code that follows actually does the opposite of what the comment says).
This was due to hardware changes; the comment was for the original OLPC GX2
boards, but when the OLPC LX boards came out, the code was updated for that
hardware.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: add TODO file
Andres Salomon [Sat, 25 Sep 2010 06:48:34 +0000 (23:48 -0700)]
staging: olpc_dcon: add TODO file

Add and populate a TODO file for the olpc_dcon driver.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: drop XO-1.5 support for now
Andres Salomon [Sat, 25 Sep 2010 02:14:38 +0000 (19:14 -0700)]
staging: olpc_dcon: drop XO-1.5 support for now

The vx855 stuff isn't upstream yet; for now, drop support for XO-1.5.
This will come back once the 1.5 code is in place (and will be in a form
that allows both 1.0 and 1.5 support to be compiled in at the same time),
but for now just remove it.  This is necessary to get the driver building.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: switch back to using olpc_board(0xXX)
Andres Salomon [Sat, 25 Sep 2010 02:14:09 +0000 (19:14 -0700)]
staging: olpc_dcon: switch back to using olpc_board(0xXX)

...Rather than macros that don't exist.  Necessary for building the
driver.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: olpc_dcon: add OLPC display controller (DCON) support
Andres Salomon [Sat, 25 Sep 2010 02:13:42 +0000 (19:13 -0700)]
staging: olpc_dcon: add OLPC display controller (DCON) support

This adds DCON support for the OLPC XO.  The DCON is found in XO-1 and
XO-1.5 hardware.  The XO-1 has a CS5536 southbridge, while the XO-1.5
has a Via chipset; the GPIO magic that's necessary to communicate with
the DCON chip is unfortunately different across both platforms.  This
driver supports both.

This driver is in bad state atm, so I'm requesting its inclusion into
staging so it can be cleaned up while staying in the kernel tree.

Original driver by Dave Woodhouse, and modified extensively by
Jordan Crouse, myself, Deepak Saxena, Paul Fox, Daniel Drake, and
probably others that I've missed.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: update web addresses in staging
Justin P. Mattock [Sat, 25 Sep 2010 00:08:56 +0000 (17:08 -0700)]
staging: update web addresses in staging

The below patch, is a simple fix to a broken web address not using a period in it's
name.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Make compiling of brcm80211.ko and brcmfmac.ko mutually exclusive.
Henry Ptasinski [Sun, 26 Sep 2010 20:19:44 +0000 (13:19 -0700)]
staging: brcm80211: Make compiling of brcm80211.ko and brcmfmac.ko mutually exclusive.

Temporary fix until utils get cleaned up.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agostaging: brcm80211: Fix compile issue when BRCM80211_PCI is not set.
Henry Ptasinski [Sun, 26 Sep 2010 20:18:38 +0000 (13:18 -0700)]
staging: brcm80211: Fix compile issue when BRCM80211_PCI is not set.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: remove driver specific -W options
Greg Kroah-Hartman [Thu, 23 Sep 2010 23:36:06 +0000 (16:36 -0700)]
Staging: brcm80211: remove driver specific -W options

A single driver shouldn't be overriding the kernel-wide -W options.
This removes them from the Makefile.

Bonus is that the code at least now will build on a 64bit platform.
Problem is that both drivers can't be built at the same time right now
or bad things happen when linking.

Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Cc: jason <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: brcm80211: clean up makefile cflag lines
Greg Kroah-Hartman [Thu, 23 Sep 2010 23:28:53 +0000 (16:28 -0700)]
Staging: brcm80211: clean up makefile cflag lines

Change to use the proper ccflags-y option, as well as splitting the
options out one-per-line so that we can see what is needed to be cleaned
up and removed over time.

Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Cc: jason <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 years agoStaging: ft1000: mark pcmcia driver broken
Greg Kroah-Hartman [Wed, 22 Sep 2010 19:17:16 +0000 (12:17 -0700)]
Staging: ft1000: mark pcmcia driver broken

The driver hasn't been updated since the .30 kernel release and will
not build due to pcmcia api changes.  Mark it broken for now so no
one hits it in their build accidentally.

Cc: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>