aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAge
* Input: atkbd - use printk_ratelimit for spurious ACK messagesQi Yong2007-06-28
| | | | | Signed-off-by: Qi Yong <qiyong@mail.fc-cn.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: atkbd - throttle LED switchingDmitry Torokhov2007-06-28
| | | | | | | | | | | On some boxes keyboard controllers are too slow to withstand continuous flow of requests to turn keyboard LEDs on and off and start losing some keypresses or even all of them. Delay executing of LED switching request if we had another one within 50 ms thus easing load on the controller. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add HP Pavilion ZT1000 to the MUX blacklistDmitry Torokhov2007-06-28
| | | | | | | | | | This should get rid of "atkbd.c: Suprious NAK on isa0060/serio0" messages caused by broken MUX implementation. The box does not have external PS/2 ports and, according to documentation, automatically disables touchpad when an external mouse is plugged into a port replicator, so MUX mode would not work anyway. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: move input-polldev to drivers/inputDmitry Torokhov2007-06-13
| | | | | | | | | To work around deficiences in Kconfig that allows to "select" a symbol without automatically selecting all dependencies for that symbol move input-polldev from drivers/input/misc to drivers/input thus removing extra dependency on CONFIG_INPUT_MISC. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add ULI EV4873 to noloop listDmitry Torokhov2007-06-12
| | | | | | | | The box does not implement AUX LOOP command properly and so we can't test for AUX IRQ delivery so blacklist it via DMI and assume that AUX port is present. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add ASUS P65UP5 to the noloop listDmitry Torokhov2007-06-12
| | | | | | | | This board does not raise AUX IRQ in response to AUX LOOP command which interferes with our test for proper AUX IRQ wiring. Put it in the blacklist and assume mouse is present. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: usbtouchscreen - fix fallout caused by move from drivers/usbOndrej Zary2007-06-12
| | | | | | | | | | | | During the move from drivers/usb/input into drivers/input/touchscreen Kconfig variables were shuffled a bit to use a new namespace (CONFIG_TOUCHSCREEN) while usbtouchscreen was still using old ones. Also noticed by Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: reduce raciness when input handlers disconnectDmitry Torokhov2007-06-03
| | | | | | | | | | | | | | There is a race between input handler's release() and disconnect() methods: when input handler disconnects it wakes up all regular users and then process to walk user list to wake up async. users. While disconnect() walks the list release() removes elements of the same list causing oopses. While this is not a substibute for proper locking we can reduce odds of getting an oops if we wake up normal readers after walking the list. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ucb1x00 - do not access input_dev->private directlyDmitry Torokhov2007-06-03
| | | | | | | Use input_get_drvdata() and input_set_drvdata() helpers to do that. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Pavel Machek <pavel@ucw.cz>
* Input: logips2pp - fix typo in KconfigUwe Bugla2007-05-28
| | | | | Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: db9 - do not ignore dev2 module parameterDmitry Torokhov2007-05-28
| | | | | | | Because of incorrect parameter setup anything passed in dev2=... was always ignored by the driver. See bugzilla #8541. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ads7846 - SPI_CPHA mode bugfixSemih Hazar2007-05-22
| | | | | | | | | | | | | | | | In commit [1] the SPI mode is set to 1, but it should be 0. As stated in the commit, ads784x samples the data on the rising edge. SPI mode 1 samples on the falling edge [2] though. The root cause of this is a bug in the omap_uwire code, which treats CPHA=1 incorrectly; so these two bugs cancel each other out on one of the main regression test platforms for this driver. [1] kernel.org GIT 7937e86a70235e1584486654687dc9908a11e00a [2] http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ads7846 - document that it handles tsc2046 tooDavid Brownell2007-05-22
| | | | | | | | | The TSC2046 is an updated version of the ADS7846 ... mention that in the Kconfig helptext and driver source. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: input-polldev - add module infoEric Piel2007-05-22
| | | | | | | | This is required to load it as a module, as GPL-compatible license is necessary to use workqueues. Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ucb1x00-ts - remove commented out codeDmitry Torokhov2007-05-22
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ucb1400_ts - use sched_setscheduler()Satoru Takeuchi2007-05-22
| | | | | | | | | Fix Philips UCB1400 driver to use sched_setscheduler() instead of setting the fields of task_struct directly. Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ALPS - force stream modeDmitry Torokhov2007-05-22
| | | | | | | | | | ALPS appears to need SETSTREAM command after reset, otherwise it does not produce any data. Now that we do not request stream mode by default individual drivers need to take care of it. [Jason Riedy <ejr@cs.berkeley.edu> - fix oops] Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: iforce - minor clean-upsJohann Deneux2007-05-22
| | | | | Signed-off-by: Johann Deneux <johann.deneux@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: iforce - fix force feedback not workingJohann Deneux2007-05-22
| | | | | | | | Use an interrupt URB to send force-feedback data to the device instead of a bulk URB. This was broken since 2.6.18. Signed-off-by: Johann Deneux <johann.deneux@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: adbhid - do not access input_dev->private directlyDmitry Torokhov2007-05-08
| | | | | | Use input_get_drvdata() and input_set_drvdata() helpers to do that. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: logips2pp - add type 72 (PS/2 TrackMan Marble)Peter Samuelson2007-05-08
| | | | | | | | | | This is purely cosmetic: this is standard 3-button, no wheel or other such features, so it already _worked_ just fine. This patch suppresses a warning about the unknown model, and changes the printk from "Mouse" to "TrackMan". Signed-off-by: Peter Samuelson <peter@p12n.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: move USB miscellaneous devices under drivers/input/miscDmitry Torokhov2007-05-08
| | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: move USB mice under drivers/input/mouseDmitry Torokhov2007-05-08
| | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: move USB gamepads under drivers/input/joystickDmitry Torokhov2007-05-08
| | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: move USB touchscreens under drivers/input/touchscreenDmitry Torokhov2007-05-08
| | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: move USB tablets under drivers/input/tabletDmitry Torokhov2007-05-08
| | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* Input: i8042 - fix AUX port detection with some chipsRoland Scheidegger2007-05-08
| | | | | | | | | | | | The i8042 driver fails detection of the AUX port with some chips, because they apparently do not change the I8042_CTR_AUXDIS bit immediately. This is known to affect at least HP500/HP510 notebooks, consequently the built-in touchpad will not work. The patch will simply reread the value until it gets the expected value or a retry limit is hit, without touching other workaround code in the same area. Signed-off-by: Roland Scheidegger <sroland@tungstengraphics.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6Dmitry Torokhov2007-05-08
|\
| * [SCSI] esp_scsi: Fix section mismatch warnings.Martin Habets2007-05-07
| | | | | | | | | | Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
| * [VIDEO] sunxvr2500: Fix PCI device ID table.David S. Miller2007-05-07
| | | | | | | | | | | | Noticed by Meelis Roos. Signed-off-by: David S. Miller <davem@davemloft.net>
| * Merge branch 'drm-patches' of ↵Linus Torvalds2007-05-07
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 * 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6: drm/i915: Add 965GM pci id update drm: just use io_remap_pfn_range on all archs.. drm: fix DRM_CONSISTENT mapping drm: fix up mmap locking in preparation for ttm changes drm: fix driver deadlock with AIGLX and reclaim_buffers_locked drm: fix warning in drm_fops.c drm: allow for more generic drm ioctls drm: fix alpha domain handling via: fix CX700 pci id drm: make drm_io_prot static. drm: remove via_mm.h drm: add missing NULL assignment drm/radeon: Fix u32 overflows when determining AGP base address in card space. drm: port over use_vmalloc code from git hashtab drm: fix crash with fops lock and fixup sarea/page size locking drm: bring bufs code from git tree. drm: move protection stuff into separate function drm: Use ARRAY_SIZE macro when appropriate drm: update README.drm (bugzilla #7933) drm: remove unused exports
| | * drm/i915: Add 965GM pci id updateWang Zhenyu2007-04-25
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: just use io_remap_pfn_range on all archs..Dave Airlie2007-03-24
| | | | | | | | | | | | | | | | | | Move the sparc64 ifdef around to clean this up. Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: fix DRM_CONSISTENT mappingHugh Dickins2007-03-24
| | | | | | | | | | | | | | | | | | This patch got lost in the DRM git tree for ages, bring it back to life. Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: fix up mmap locking in preparation for ttm changesThomas Hellstrom2007-03-24
| | | | | | | | | | | | | | | | | | | | | This change is needed to protect againt disappearing maps which aren't common. The map lists are protected using sturct_mutex but drm_mmap never locked it. Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: fix driver deadlock with AIGLX and reclaim_buffers_lockedThomas Hellstrom2007-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugzilla Bug #9457 Add refcounting of user waiters to the DRM hardware lock, so that we can use DRM_LOCK_CONT flag more conservatively. Also add a kernel waiter refcount that if nonzero transfers the lock for the kernel context when it is released. This is useful when waiting for idle and can be used for very simple fence object driver implementations for the new memory manager Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: fix warning in drm_fops.cAndrew Morton2007-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drivers/char/drm/drm_fops.c: In function 'drm_setup': drivers/char/drm/drm_fops.c:60: warning: comparison of distinct pointer types lacks a cast Unfortunately PAGE_SIZE has different types on different architectures. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: allow for more generic drm ioctlsThomas Hellstrom2007-03-18
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: fix alpha domain handlingJay Estabrook2007-03-10
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * via: fix CX700 pci idThomas Hellstrom2007-03-10
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: make drm_io_prot static.Adrian Bunk2007-03-10
| | | | | | | | | | | | | | | | | | | | | This patch makes the needlessly global drm_io_prot() static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: remove via_mm.hRobert P. J. Day2007-03-10
| | | | | | | | | | | | | | | | | | | | | Delete apparently unused header file drivers/char/drm/via_mm.h. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: add missing NULL assignmentDave Airlie2007-03-10
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm/radeon: Fix u32 overflows when determining AGP base address in card space.Michel Dänzer2007-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | The overflows could lead to the AGP aperture overlapping the framebuffer are in the card's address space when the latter is located at the very end of th 32 bit address space, which would result in a freeze on X server startup, probably because the card read commands from the framebuffer instead of from AGP. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392915 . Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: port over use_vmalloc code from git hashtabDave Airlie2007-03-10
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: fix crash with fops lock and fixup sarea/page size lockingDave Airlie2007-03-10
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: bring bufs code from git tree.Dave Airlie2007-03-10
| | | | | | | | | | | | | | | | | | | | | This checks the AGP mappings are in a valid place and also fixes the size check in the vm.. Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: move protection stuff into separate functionDave Airlie2007-03-10
| | | | | | | | | | | | Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: Use ARRAY_SIZE macro when appropriateAhmed S. Darwish2007-03-10
| | | | | | | | | | | | | | | | | | | | | | | | Use ARRAY_SIZE macro already defined in kernel.h Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
| | * drm: update README.drm (bugzilla #7933)Randy Dunlap2007-03-10
| | | | | | | | | | | | | | | | | | | | | | | | Update URLs in drivers/char/drm/README.drm, to take care of kernel bugzilla Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Airlie <airlied@linux.ie>