]> bbs.cooldavid.org Git - net-next-2.6.git/log
net-next-2.6.git
13 years agoStaging: intel_sst: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:34 +0000 (20:01 -0400)]
Staging: intel_sst: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: line6: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:36 +0000 (20:01 -0400)]
Staging: line6: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: octeon: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:37 +0000 (20:01 -0400)]
Staging: octeon: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: rt2870: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:39 +0000 (20:01 -0400)]
Staging: rt2870: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: rt2860: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:38 +0000 (20:01 -0400)]
Staging: rt2860: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: rtl8187se: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:40 +0000 (20:01 -0400)]
Staging: rtl8187se: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: rtl8712: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:42 +0000 (20:01 -0400)]
Staging: rtl8712: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: sbe-2t3e3: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:43 +0000 (20:01 -0400)]
Staging: sbe-2t3e3: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: smbfs: Makefile: Makefile clean up
Tracey Dent [Fri, 8 Oct 2010 00:01:44 +0000 (20:01 -0400)]
Staging: smbfs: Makefile: Makefile clean up

Changed <module>-objs to <module>-y in Makefile.
Also Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: keucr: Makefile: Makefile clean up
Tracey Dent [Fri, 8 Oct 2010 00:01:35 +0000 (20:01 -0400)]
Staging: keucr: Makefile: Makefile clean up

Changed <module>-objs to <module>-y in Makefile.
Also, Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: solo6x10: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:45 +0000 (20:01 -0400)]
Staging: solo6x10: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: wlan-ng: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:51 +0000 (20:01 -0400)]
Staging: wlan-ng: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: rtl8192u: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:41 +0000 (20:01 -0400)]
Staging: rtl8192u: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: usbip: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:49 +0000 (20:01 -0400)]
Staging: usbip: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: zram: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:53 +0000 (20:01 -0400)]
Staging: zram: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: xgifb: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:52 +0000 (20:01 -0400)]
Staging: xgifb: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: tm6000: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:48 +0000 (20:01 -0400)]
Staging: tm6000: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: winbond: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:50 +0000 (20:01 -0400)]
Staging: winbond: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: tidspbridge: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:46 +0000 (20:01 -0400)]
Staging: tidspbridge: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: autofs: Makefile: replace the use of <module>-objs with <module>-y
Tracey Dent [Fri, 8 Oct 2010 00:01:21 +0000 (20:01 -0400)]
Staging: autofs: Makefile: replace the use of <module>-objs with <module>-y

Changed Makefile <module>-objs to <module>-y lines.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: update example application.
Jonathan Cameron [Fri, 8 Oct 2010 11:14:14 +0000 (12:14 +0100)]
staging: iio: update example application.

The application is now considerably more generic and should cope
with all devices in tree.  The process function will need to be
extended to handle other type values as needed.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc add numbers to naming of all adc channels as needed to associate...
Jonathan Cameron [Fri, 8 Oct 2010 11:14:13 +0000 (12:14 +0100)]
staging: iio: adc add numbers to naming of all adc channels as needed to associate events with them.

Given event codes are associated by number not name, all adc channels
including those with names need to have numbers.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: events update documentation to match new abi.
Jonathan Cameron [Fri, 8 Oct 2010 11:14:12 +0000 (12:14 +0100)]
staging: iio: events update documentation to match new abi.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: light remove empty light.h file
Jonathan Cameron [Fri, 8 Oct 2010 11:14:11 +0000 (12:14 +0100)]
staging: iio: light remove empty light.h file

We can put this back when there is something to put in it!

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: tsl2563 event attribute name updates
Jonathan Cameron [Fri, 8 Oct 2010 11:14:10 +0000 (12:14 +0100)]
staging: iio: tsl2563 event attribute name updates

Patch also renames the two raw channels to add numbers
so that we know to which channel the event code applies.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: accel remove deprecated and misleading event macros.
Jonathan Cameron [Fri, 8 Oct 2010 11:14:09 +0000 (12:14 +0100)]
staging: iio: accel remove deprecated and misleading event macros.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: sca3000 event attribute name updates
Jonathan Cameron [Fri, 8 Oct 2010 11:14:08 +0000 (12:14 +0100)]
staging: iio: sca3000 event attribute name updates

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: lis3l02dq event attribute renames
Jonathan Cameron [Fri, 8 Oct 2010 11:14:07 +0000 (12:14 +0100)]
staging: iio: lis3l02dq event attribute renames

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: events move buffer codes so they do not clash with new scheme
Jonathan Cameron [Fri, 8 Oct 2010 11:14:06 +0000 (12:14 +0100)]
staging: iio: events move buffer codes so they do not clash with new scheme

We could blugeon these more into the scheme I guess, but does it make sense
to do so?

Also remove all remain vestiges of old scheme.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: tsl2563 move to new event numbering scheme and remove old definitions
Jonathan Cameron [Fri, 8 Oct 2010 11:14:05 +0000 (12:14 +0100)]
staging: iio: tsl2563 move to new event numbering scheme and remove old definitions

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: accel remove old event codes
Jonathan Cameron [Fri, 8 Oct 2010 11:14:04 +0000 (12:14 +0100)]
staging: iio: accel remove old event codes

Signed-off-by: Joanthan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: sca3000 move to new event code scheme and add combined orientations
Jonathan Cameron [Fri, 8 Oct 2010 11:14:03 +0000 (12:14 +0100)]
staging: iio: sca3000 move to new event code scheme and add combined orientations

The combined orientations allow handling of typical motion and free fall
detectors to be handled as threshold events just applied to a number of
axes via boolean operations.  So freefall is when x, y and z magnitudes
are all below a threshold for a particular period.  Motion detectors
are typically whether x or y or z are above a particular value.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: lis3l02dq move to new event code scheme
Jonathan Cameron [Fri, 8 Oct 2010 11:14:02 +0000 (12:14 +0100)]
staging: iio: lis3l02dq move to new event code scheme

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc events update to new numbering system
Jonathan Cameron [Fri, 8 Oct 2010 11:14:01 +0000 (12:14 +0100)]
staging: iio: adc events update to new numbering system

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: events define macros for new event code system
Jonathan Cameron [Fri, 8 Oct 2010 11:14:00 +0000 (12:14 +0100)]
staging: iio: events define macros for new event code system

These are step one of moving to a systematic numbering for event
codes.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Use proper BRCM_FULLMAC #ifdefs
Brett Rudley [Fri, 8 Oct 2010 03:31:46 +0000 (20:31 -0700)]
staging: brcm80211: Use proper BRCM_FULLMAC #ifdefs

Make it obvious that DHD_USE_STATIC_BUF is only used as part of FULLMAC build

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: light: Adding driver for ISL29018 ALS
Rhyland Klein [Thu, 7 Oct 2010 22:48:09 +0000 (15:48 -0700)]
staging: iio: light: Adding driver for ISL29018 ALS

adding support for the ISL 29018 ambient light and proximity sensor.

Addressed comments from reviews by Jonathan Cameron and Joe Perches
  * Removed some excess dbg prints that only printed function name
  * Renamed some properties to make them more descriptive
  * Added a property to list available adc resolutions
  * Defined arrays for resolutions/ranges as static const
  * Change loops initialization to memset for extensibility.
    * used sizeof() instead of ARRAY_SIZE() to be safer
  * Added a property to list available adc ranges
  * Fixed warnings and property names.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove dead code from siutils.c
Henry Ptasinski [Fri, 8 Oct 2010 02:52:11 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from siutils.c

Removed lots of unused functions from siutils.c

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove dead code from bcmwifi.c
Henry Ptasinski [Fri, 8 Oct 2010 02:52:10 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from bcmwifi.c

Removed unused functions wf_chspec_ntoa() and wf_chspec_aton().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove dead code from linux_osl.c.
Henry Ptasinski [Fri, 8 Oct 2010 02:52:09 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from linux_osl.c.

Removed several completely unused functions:
osl_malloc_failed
osl_pcmcia_attr
osl_pcmcia_read_attr
osl_pcmcia_write_attr
osl_pktdup
and related macros

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove unnecessary hndtcam.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:08 +0000 (19:52 -0700)]
staging: brcm80211: Remove unnecessary hndtcam.h

The header file is unnecessary.  Delete it and don't include it.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove unnecessary bitfuncs.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:07 +0000 (19:52 -0700)]
staging: brcm80211: Remove unnecessary bitfuncs.h

This header file is no longer included anywhere.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Don't include bitfuncs.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:06 +0000 (19:52 -0700)]
staging: brcm80211: Don't include bitfuncs.h

Remove include of bitfuncs.h, as it's completely uncessary for these files.

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Use linux/bitops.h instead of bitfuncs.h
Henry Ptasinski [Fri, 8 Oct 2010 02:52:05 +0000 (19:52 -0700)]
staging: brcm80211: Use linux/bitops.h instead of bitfuncs.h

Use ffs() from linux/bitops.h, instead of the locally defined find_msbit().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: Remove dead code from aiutils.c
Henry Ptasinski [Fri, 8 Oct 2010 02:52:04 +0000 (19:52 -0700)]
staging: brcm80211: Remove dead code from aiutils.c

Removed unused function ai_view().

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: speakup: fix speakup core to build properly
Greg Kroah-Hartman [Fri, 8 Oct 2010 02:30:49 +0000 (19:30 -0700)]
Staging: speakup: fix speakup core to build properly

The vc_data structure changed to move the tty structure off to the port,
so change the code to handle this.  Now the code will build properly,
and hopefully work as well.

Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: add speakup to the staging directory
William Hubbs [Thu, 7 Oct 2010 18:20:02 +0000 (13:20 -0500)]
Staging: add speakup to the staging directory

Speakup is a kernel based screen review package for the linux operating
system.  It allows blind users to interact with applications on the
linux console by means of synthetic speech.

The authors and maintainers of this code include the following:

Kirk Reiser, Andy Berdan, John Covici, Brian and
David Borowski, Christopher Brannon, Samuel Thibault and William Hubbs.

Signed-off-by: William Hubbs <w.d.hubbs@gmail.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: brcm80211: s/int16/s16/
Greg Kroah-Hartman [Fri, 8 Oct 2010 00:08:21 +0000 (17:08 -0700)]
Staging: brcm80211: s/int16/s16/

Use the kernel types, don't invent your own.

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>
13 years agoStaging: brcm80211: s/uint16/u16/
Greg Kroah-Hartman [Fri, 8 Oct 2010 00:04:47 +0000 (17:04 -0700)]
Staging: brcm80211: s/uint16/u16/

Use the kernel types, don't invent your own.

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>
13 years agoStaging: brcm80211: remove forgotten undef
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:41:32 +0000 (16:41 -0700)]
Staging: brcm80211: remove forgotten undef

I forgot to remove the float undefs in typedef.h from previous patches,
this fixes this issue.

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>
13 years agoStaging: brcm80211: wl_cfg80211.c: fix compiler warnings
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:38:43 +0000 (16:38 -0700)]
Staging: brcm80211: wl_cfg80211.c: fix compiler warnings

size_t should be '%zd' in a printf, not '%d'

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>
13 years agoStaging: brcm80211: remove some more macros from linuxver.h
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:34:51 +0000 (16:34 -0700)]
Staging: brcm80211: remove some more macros from linuxver.h

These aren't needed anymore, and now we are down to just one broken one,
and a whole bunch of #include files here.  This can be further factored
by moving the proper #includes into the different .c files, and not
leaving them in this one large one.

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>
13 years agoStaging: brcm80211: remove unused irq typedef
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:30:25 +0000 (16:30 -0700)]
Staging: brcm80211: remove unused irq typedef

If it's not needed, why define 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>
13 years agoStaging: brcm80211: remove unneeded pm macro
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:28:15 +0000 (16:28 -0700)]
Staging: brcm80211: remove unneeded pm macro

Use the real type, not a macro.

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>
13 years agoStaging: brcm80211: remove some unused macros
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:25:58 +0000 (16:25 -0700)]
Staging: brcm80211: remove some unused macros

These are all defined by the core kernel, use those versions
instead of just creating noops.

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>
13 years agoStaging: brcm80211: remove unneeded pci macros
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:23:24 +0000 (16:23 -0700)]
Staging: brcm80211: remove unneeded pci macros

These wrapper macros aren't needed, remove them.

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>
13 years agoStaging: brcm80211: remove free_netdev wrapper
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:20:43 +0000 (16:20 -0700)]
Staging: brcm80211: remove free_netdev wrapper

It's incorrect, call the real function.

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>
13 years agoStaging: brcm80211: remove old module macro wrappers
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:19:11 +0000 (16:19 -0700)]
Staging: brcm80211: remove old module macro wrappers

they weren't doing anything, so get rid of them.

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>
13 years agoStaging: brcm80211: remove MY_INIT_WORK macro
Greg Kroah-Hartman [Thu, 7 Oct 2010 23:11:01 +0000 (16:11 -0700)]
Staging: brcm80211: remove MY_INIT_WORK macro

Use the real macro instead.

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>
13 years agostaging: hv: Rename camel cased functions in channel.c to lowercase
Haiyang Zhang [Thu, 7 Oct 2010 18:40:08 +0000 (11:40 -0700)]
staging: hv: Rename camel cased functions in channel.c to lowercase

Rename camel cased functions in channel.c to lowercase

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: comedi: file: Removed braces from some statement blocks
Maurice Dawson [Thu, 7 Oct 2010 18:45:38 +0000 (19:45 +0100)]
Staging: comedi: file: Removed braces from some statement blocks

Unnecessary braces in some statement blocks

Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: remove ';' after while() in macros.
Jason Cooper [Wed, 6 Oct 2010 21:40:06 +0000 (17:40 -0400)]
staging: brcm80211: remove ';' after while() in macros.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: wl_cfg80211.c: fix 'assignment in if condition'
Jason Cooper [Wed, 6 Oct 2010 21:40:05 +0000 (17:40 -0400)]
staging: brcm80211: wl_cfg80211.c: fix 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: ft1000-usb: Add correct procedure for fw image downloading.
Marek Belisko [Thu, 7 Oct 2010 12:36:37 +0000 (14:36 +0200)]
staging: ft1000-usb: Add correct procedure for fw image downloading.

call request_firmware instead of trying to open the file directly from
the kernel driver.

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge: bind driver name to device name
Omar Ramirez Luna [Thu, 7 Oct 2010 05:45:10 +0000 (00:45 -0500)]
staging: tidspbridge: bind driver name to device name

Since the device name has changed use the new name to
bind the driver to it.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: bug fix - connection status report
nohee ko [Wed, 6 Oct 2010 18:07:13 +0000 (11:07 -0700)]
staging: brcm80211: bug fix - connection status report

Added connection status report for the case connection fails.
Originally this logic was missing.

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: removed duplicated file, linux_osl.c
nohee ko [Wed, 6 Oct 2010 18:56:28 +0000 (11:56 -0700)]
staging: brcm80211: removed duplicated file, linux_osl.c

Removed duplicated file, linux_osl.c from brcmfmac.
linux_osl.c under brcm80211/util/ will be shared
between softmac & fullmac drivers

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFT
Michael Hennerich [Thu, 7 Oct 2010 12:24:33 +0000 (14:24 +0200)]
staging: iio: ring_generic: provide IIO_CONST_ATTR_SCAN_EL_TYPE_WITH_SHIFT

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc: ad799x drop in_precision in favor of new in_type
Michael Hennerich [Thu, 7 Oct 2010 14:14:10 +0000 (16:14 +0200)]
staging: iio: adc: ad799x drop in_precision in favor of new in_type

-drop in_precision in favor of new in_type -
This also fixes the bug from the scan elements move (as a side effect)
-add sign and storagebits to struct ad799x_chip_info
-properly mask the results based on ad799x_chip_info:bits

staging: iio: adc: ad799x misc fixed per iio list review

remove new line
remove storagebits from struct ad799x_chip_info
use defined storagebits value for in_type

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: max1363 fix bug due to scan_element directory move.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:21 +0000 (13:10 +0100)]
staging: iio: max1363 fix bug due to scan_element directory move.

    The device found passed to the attr functions is that of the ring
    buffer, not the the iio_dev so we need to bounce through one more
    hop to get the right address.

Reported-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: sca3000 fix bug due to scan_element directory move.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:20 +0000 (13:10 +0100)]
staging: iio: sca3000 fix bug due to scan_element directory move.

The device found passed to the attr functions is that of the ring
buffer, not the the iio_dev so we need to bounce through one more
hop to get the right address.

Reported-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: timestamp_en naming typo fix.
Jonathan Cameron [Thu, 7 Oct 2010 12:10:19 +0000 (13:10 +0100)]
staging: iio: timestamp_en naming typo fix.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc: max1363: remove unused variable
Michael Hennerich [Wed, 6 Oct 2010 15:49:02 +0000 (17:49 +0200)]
staging: iio: adc: max1363: remove unused variable

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0
Michael Hennerich [Thu, 7 Oct 2010 11:27:37 +0000 (13:27 +0200)]
staging: iio: iio_ring_rip_outer return immediately if rip_lots returns <= 0

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agomisc: ti-st: Kconfig & Makefile for TI_ST
Pavan Savoy [Wed, 6 Oct 2010 16:18:15 +0000 (12:18 -0400)]
misc: ti-st: Kconfig & Makefile for TI_ST

Add the Kconfig and the Makefile for the TI_ST driver.
TI_ST driver is the line discipline driver for the Texas Instrument's
WiLink chipsets.
Also add the ti-st folder to list of drivers under drivers/misc.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: ti-st: move TI_ST from staging to misc/
Pavan Savoy [Wed, 6 Oct 2010 16:18:14 +0000 (12:18 -0400)]
staging: ti-st: move TI_ST from staging to misc/

move the 3 source files st_core.c, st_kim.c and st_ll.c
from staging to drivers/misc/.

Texas Instrument's WiLink 7 chipset packs wireless technologies like
Bluetooth, FM, GPS and WLAN into a single die.
Among these the Bluetooth, FM Rx/Tx and GPS are interfaced to a apps processor
over a single UART.

This line discipline driver allows various protocol drivers such as Bluetooth
BlueZ driver, FM V4L2 driver and GPS simple character device driver
to communicate with its relevant core in the chip.

Each protocol or technologies use a logical channel to communicate with chip.
Bluetooth uses the HCI-H4 [channels 1-4], FM uses a CH-8 and
GPS a CH-9 protocol. The driver also constitutes the TI HCI-LL Power
Management protocol which use channels 30-33.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc: ad799x: Address iio list feedback
Michael Hennerich [Wed, 6 Oct 2010 08:25:49 +0000 (10:25 +0200)]
staging: iio: adc: ad799x: Address iio list feedback

Address feedback from Shubhrajyoti Datta:
Cast return value
Michael Hennerich:
Use i2c_smbus_read_byte_data()
Fix return value check

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc: max1363: prevent buffer overflow
Michael Hennerich [Wed, 6 Oct 2010 14:15:37 +0000 (16:15 +0200)]
staging: iio: adc: max1363: prevent buffer overflow

ring->access.read_last() reads the entire datum from
the ring including padding and time stamp.

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: iio: adc: ad799x: prevent buffer overflow
Michael Hennerich [Wed, 6 Oct 2010 14:22:17 +0000 (16:22 +0200)]
staging: iio: adc: ad799x: prevent buffer overflow

ring->access.read_last() reads the entire datum from the ring including padding and time stamp.

Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: fix checkpatch macro errors.
Jason Cooper [Wed, 6 Oct 2010 14:08:03 +0000 (10:08 -0400)]
staging: brcm80211: fix checkpatch macro errors.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: fix various checkpatch spacing errors.
Jason Cooper [Wed, 6 Oct 2010 14:08:02 +0000 (10:08 -0400)]
staging: brcm80211: fix various checkpatch spacing errors.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: fix 'do not init statics to 0 or NULL'
Jason Cooper [Wed, 6 Oct 2010 14:08:01 +0000 (10:08 -0400)]
staging: brcm80211: fix 'do not init statics to 0 or NULL'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: fix 'do not init globals to 0 or NULL'
Jason Cooper [Wed, 6 Oct 2010 14:08:00 +0000 (10:08 -0400)]
staging: brcm80211: fix 'do not init globals to 0 or NULL'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'
Jason Cooper [Wed, 6 Oct 2010 14:07:59 +0000 (10:07 -0400)]
staging: brcm80211: brcmfmac/*: fix remaining 'assignment in if condition'

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoStaging: the tree is now kept in git, not quilt
Greg Kroah-Hartman [Wed, 6 Oct 2010 15:18:01 +0000 (08:18 -0700)]
Staging: the tree is now kept in git, not quilt

Update the MAINTAINERS file to show the new location of the staging
development tree.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: west bridge, block driver change for partition support
David Cross [Wed, 6 Oct 2010 01:50:26 +0000 (18:50 -0700)]
staging: west bridge, block driver change for partition support

This patch fixes an error in the block driver wherein multiple
partitions in an mmc card were not detected correctly due to
incorrect alloc_disk arguments.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: west bridge, addition of common lock on cyasdevice
David Cross [Wed, 6 Oct 2010 01:48:08 +0000 (18:48 -0700)]
staging: west bridge, addition of common lock on cyasdevice

This patch adds and initializes a common lock to
cyasdevice module. This is meant to be used in order
to avoid error scenarios where the device module
could be called by both the block and gadget modules
at the same time.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: remove duplicated file, bcmwifi.c
nohee ko [Wed, 6 Oct 2010 02:08:36 +0000 (19:08 -0700)]
staging: brcm80211: remove duplicated file, bcmwifi.c

Remove duplicated file, bcmwifi.c from brcmfmac.
bcmwifi.c under brcm80211/util/ will be shared
between softmac & fullmac drivers

Signed-off-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: west bridge cyasgadget, removal of " " before ";"
David Cross [Wed, 6 Oct 2010 01:44:50 +0000 (18:44 -0700)]
staging: west bridge cyasgadget, removal of " " before ";"

This patch fixes removes all of the the " ;"'s in the west bridge
cyasgadget driver and instead replaces them with ";" only.

Signed-off-by: David Cross <david.cross@cypress.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - update Kconfig to select IOMMU module
Fernando Guzman Lugo [Wed, 6 Oct 2010 00:20:59 +0000 (19:20 -0500)]
staging: tidspbridge - update Kconfig to select IOMMU module

IOMMU module most be selected when using tidspbridge, because
now tidsbridge depends on iommu module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: bug fix for n_ssids usage and update drv_info
nohee ko [Wed, 6 Oct 2010 01:05:04 +0000 (18:05 -0700)]
staging: brcm80211: bug fix for n_ssids usage and update drv_info

-update drv_info so it's visible in "ethtool -i" output
-remove n_ssids usage. Fixes nullptr deref bug seen before.

Signed-off-by: Grant Grundler <grundler@chromium.org>
Acked-by: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: brcm80211: bcmutils.[ch]: purge unused funcs
Brett Rudley [Tue, 5 Oct 2010 23:49:47 +0000 (16:49 -0700)]
staging: brcm80211: bcmutils.[ch]: purge unused funcs

Get rid of unused functions in bcmutils.[ch]. Note that bcmutils.h is shared between
fullmac and softmac

Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: autofs3: get the TODO file right the third time
Greg Kroah-Hartman [Tue, 5 Oct 2010 23:24:17 +0000 (16:24 -0700)]
staging: autofs3: get the TODO file right the third time

This is what Arnd wanted the file to say.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - remove dmm custom module
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:44 +0000 (15:35 -0500)]
staging: tidspbridge - remove dmm custom module

Dmm custom module is not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - deprecate reserve/unreserve_memory funtions
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:43 +0000 (15:35 -0500)]
staging: tidspbridge - deprecate reserve/unreserve_memory funtions

Now what iommu memory usage is kept track by iommu module
the functions reserve/unreserve_memory are not needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - remove reserved memory clean up
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:42 +0000 (15:35 -0500)]
staging: tidspbridge - remove reserved memory clean up

Now iommv module keeps track of iommu memory used,
we do not need resource cleanup for reserved
memories anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge: remove dw_dmmu_base from cfg_hostres struct
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:41 +0000 (15:35 -0500)]
staging: tidspbridge: remove dw_dmmu_base from cfg_hostres struct

We don't need to map iva2 iommu register base address
anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - move all iommu related code to a new file
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:40 +0000 (15:35 -0500)]
staging: tidspbridge - move all iommu related code to a new file

Create dsp-mmu module and moves all the iommu code related to
this module.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - remove hw directory
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:39 +0000 (15:35 -0500)]
staging: tidspbridge - remove hw directory

hw directory was only being used for custom iommu implementation
APIs, so after the iommu module migration this directory is not
needed anymore.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agostaging: tidspbridge - fix mmufault support
Fernando Guzman Lugo [Tue, 5 Oct 2010 20:35:38 +0000 (15:35 -0500)]
staging: tidspbridge - fix mmufault support

With changes for iommu migration mmufault report and dsp track
dump is broken, this patch fixes that.

Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>