Age | Commit message (Collapse) | Author |
|
Add support for design which has an em2863/tvp5150 and uses the standard
empia USB ID. In Sander's case, it was branded as an "Eminent model EM3705"
Thanks to Sander Van Ginkel for testing and help debugging the support.
[mchehab@redhat.com: move it to a vague card number slot (card=29)]
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
This patch adds the capability to use the usb debug port with the
kernel debugger. It is also still possible to use this functionality
with or without the earlyprintk=dbgpX. It is possible to use the
kgdbwait boot argument to debug very early in the kernel start up code.
There are two ways to use this driver extension with a kernel boot argument.
1) kgdbdbgp=# -- Where # is the number of the usb debug controller
You must use sysrq-g to break into the kernel debugger on another
connection type other than the dbgp.
2) kgdbdbgp=#debugControlNum#,#Seconds#
In this mode, the usb debug port is polled every #Seconds# for
character input. It is possible to use gdb or press control-c to
break into the kernel debugger.
From the implementation perspective there are 3 high level changes.
1) Allow variable retries for the the hardware via dbgp_bulk_read().
The amount of retries for the dbgp_bulk_read() needed to be
variable instead of fixed. We do not want to poll at all when the
kernel is operating in interrupt driven mode. The polling only
occurs if the kernel was booted when specifying some number of
seconds via the kgdbdbgp boot argument (IE kgdbdbgp=0,1). In this
case the loop count is reduced to 1 so as introduce the smallest
amount of latency as possible.
2) Save the bulk IN endpoint address for use by the kgdb code.
3) The addition of the kgdb interface code.
This consisted of adding in a character read function for the dbgp
as well as a polling thread to allow the dbgp to interrupt the
kernel execution. The rest is the typical kgdb I/O api.
CC: Eric Biederman <ebiederm@xmission.com>
CC: Yinghai Lu <yhlu.kernel@gmail.com>
CC: linux-usb@vger.kernel.org
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
The ekgdboc= differs from kgdboc= in that you can begin debuggin as
soon as the exceptions are setup and the kgdb I/O driver is available,
instead of waiting until the tty subsystem is available.
CC: kgdb-bugreport@lists.sourceforge.net
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
Update the kgdb docs to reflect the new directory structure and API.
Merge in the kdb shell information.
[Randy Dunlap <rdunlap@xenotime.net>: grammatical corrections]
CC: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
This patch adds in the kdb PS/2 keyboard driver. This was mostly a
direct port from the original kdb where I cleaned up the code against
checkpatch.pl and added the glue to stitch it into kgdb.
This patch also enables early kdb debug via kgdbwait and the keyboard.
All the access to configure kdb using either a serial console or the
keyboard is done via kgdboc.
If you want to use only the keyboard and want to break in early you
would add to your kernel command arguments:
kgdboc=kbd kgdbwait
If you wanted serial and or the keyboard access you could use:
kgdboc=kbd,ttyS0
You can also configure kgdboc as a kernel module or at run time with
the sysfs where you can activate and deactivate kgdb.
Turn it on:
echo kbd,ttyS0 > /sys/module/kgdboc/parameters/kgdboc
Turn it off:
echo "" > /sys/module/kgdboc/parameters/kgdboc
CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
|
|
|
|
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Conflicts:
Documentation/feature-removal-schedule.txt
drivers/net/wireless/ath/ath5k/phy.c
|
|
A new chapter lists the names of those who have
contributed to this documentation. The order
in which these names are listed is as follows:
* Author
* Names as ordered in the `Thanks' chapter.
* Names as ordered by
git log --reverse Documentation/DocBook/kernel-hacking.tmpl
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Non-constant initializers are defined in C99.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Inline functions are defined in C99.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Expand and improve the discussion of function return
conventions used in the kernel code.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Better wording on builtin code.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Better wording on built-in/module building.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Clarify and correct the return value of get_cpu()
and introduce better wording.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
The section body mentions these functions,
so they have been added to the title.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
The description of local_bh_{disable,enable} is now a little
clearer.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Clarify `soft interrupt' by introducing a hint of the
language used earlier.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Added bash-style brace expansion for local_bh* functions.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
local_irq* explanations:
This section has been greatly expanded and clarified.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Clarify `hard interrupt' by introducing a hint of the
language used earlier.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Update header file name:
include/asm/system.h -> include/linux/irqflags.h
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
local_irq* functions:
Added more bash-style brace expansion and include more
of the discussed identifiers in the title.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Use more bash-style brace expansion for p & s variants of these functions.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Use more bash-style brace expansion for cpu_to_be/cpu_to_le/le_to_cpu/be_to_cpu.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Introduced bash-style brace expansion to reduce the size of
the title and expose commonality.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Brace notation, reordering of function names, and
more complete title.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Changed '{to,from}' to '{from,to}' in the title
and the order in which {get,put}_user() are
presented, so that the language and ordering
matches up properly throughout.
Fixed plurality mismatch.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Switched to a bash-style brace-expansion.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Clarify the advice to use C string concatenation
macros with printk().
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
Added the preposition 'with' and clarified purpose
by substituting 'so that' for 'and'.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
kernel-hacking docbook: fix tense: slept -> sleep
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
kernel-hacking docbook: convert a -> an.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
'OSD' means different things to different people; avoid it here to avoid
confusion.
Signed-off-by: Sage Weil <sage@newdream.net>
|
|
There are some missing entries there
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
This Patch adds support for Kone gaming mouse from Roccat.
It provides access to profiles, settings, firmware, weight,
actual settings etc. through sysfs attributes.
Event handling of this mouse differs from standard hid behaviour
in that tilt button press is reported in each move event which
results in strange behaviour if not handled by the driver.
This is a heavily reworked version of the previously introduced driver.
The changes include most of the previously raised concerns,
memory leak and other fixes, code cleanups, adoption of additional
achieved knowlege about the hardware and is (IMHO) a much better version
than before even when I exchanged reduced USB-IO with a bigger memory
consumption.
I refused to implement one mentioned point:
Removing the 'just-because-we-can' attributes. Motivation:
Reading the clipped in weight: I'm no gamer and can't determine the
usefulness of this feature but if the manufacturer implements such a
feature it might make sense to someone and I would unwillingly limit the
functionality besides its such a small feature.
Reading the actual profile and dpi settings: Here I can testify that one
can get lost of the actual settings when switching back and forth.
The manufacturers windows driver has the ability for on-screen-display
of the values and there is a mouse in the market that has an lcd on the
underside of it to show these values. So I think this feature makes sense
not only for me and shouldn't be removed.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
|
The Multitouch X driver project has moved to alpha status.
This patch updates the documentation accordingly.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
|
|
The current documentation does not explicitly specify how to report
zero fingers, leaving a potential problem in the driver implementations
and giving no parsing directive to userland. This patch defines two
equally valid ways.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
|
|
Create convenience symlinks in sysfs, linking slots to device
functions, and vice versa. These links make it easier for users to
figure out which devices actually live in what slots.
For example:
sapphire:/sys/bus/pci/slots # ls
1 10 2 3 4 5 6 7 8 9
sapphire:/sys/bus/pci/slots # ls -l 3
total 0
-r--r--r-- 1 root root 65536 Aug 18 14:10 address
lrwxrwxrwx 1 root root 0 Aug 18 14:10 function0 ->
../../../../devices/pci0000:23/0000:23:01.0
lrwxrwxrwx 1 root root 0 Aug 18 14:10 function1 ->
../../../../devices/pci0000:23/0000:23:01.1
sapphire:/sys/bus/pci/slots # ls -l 3/function0/slot
lrwxrwxrwx 1 root root 0 Aug 18 14:13 3/function0/slot ->
../../../bus/pci/slots/3
The original form of this patch was written by Matthew Wilcox,
and was enhanced to include links from the sysfs slots/ directory
pointing back at the device functions.
Cc: willy@linux.intel.com
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
|
|
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
driver core: numa: fix BUILD_BUG_ON for node_read_distance
driver-core: document ERR_PTR() return values
kobject: documentation: Update to refer to kset-example.c.
sysdev: the cpu probe/release attributes should be sysdev_class_attributes
kobject: documentation: Fix erroneous example in kobject doc.
driver-core: fix missing kernel-doc in firmware_class
Driver core: Early platform kernel-doc update
sysfs: fix sysfs lockdep warning in mlx4 code
sysfs: fix sysfs lockdep warning in infiniband code
sysfs: fix sysfs lockdep warning in ipmi code
sysfs: Initialised pci bus legacy_mem field before use
sysfs: use sysfs_bin_attr_init in firmware class driver
|
|
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (45 commits)
USB: gadget/multi: cdc_do_config: remove redundant check
usb: r8a66597-hcd: fix removed from an attached hub
USB: xhci: Make endpoint interval debugging clearer.
USB: Fix usb_fill_int_urb for SuperSpeed devices
USB: cp210x: Remove double usb_control_msg from cp210x_set_config
USB: Remove last bit of CONFIG_USB_BERRY_CHARGE
USB: gadget: add gadget controller number for s3c-hsotg driver
USB: ftdi_sio: Fix locking for change_speed() function
USB: g_mass_storage: fixed module name in Kconfig
USB: gadget: f_mass_storage::fsg_bind(): fix error handling
USB: g_mass_storage: fix section mismatch warnings
USB: gadget: fix Blackfin builds after gadget cleansing
USB: goku_udc: remove potential null dereference
USB: option.c: Add Pirelli VID/PID and indicate Pirelli's modem interface is 0xff
USB: serial: Fix module name typo for qcaux Kconfig entry.
usb: cdc-wdm: Fix deadlock between write and resume
usb: cdc-wdm: Fix order in disconnect and fix locking
usb: cdc-wdm:Fix loss of data due to autosuspend
usb: cdc-wdm: Fix submission of URB after suspension
usb: cdc-wdm: Fix race between disconnect and debug messages
...
|
|
This patch renames the (never officially released) sysfs-knobs
"blocked_hw" and "blocked_sw" to "hard" and "soft", as the hardware vs
software conotation is misleading.
It also gets rid of not needed locks around u32-read-access.
Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
|
|
git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (205 commits)
ceph: update for write_inode API change
ceph: reset osd after relevant messages timed out
ceph: fix flush_dirty_caps race with caps migration
ceph: include migrating caps in issued set
ceph: fix osdmap decoding when pools include (removed) snaps
ceph: return EBADF if waiting for caps on closed file
ceph: set osd request message front length correctly
ceph: reset front len on return to msgpool; BUG on mismatched front iov
ceph: fix snaptrace decoding on cap migration between mds
ceph: use single osd op reply msg
ceph: reset bits on connection close
ceph: remove bogus mds forward warning
ceph: remove fragile __map_osds optimization
ceph: fix connection fault STANDBY check
ceph: invalidate_authorizer without con->mutex held
ceph: don't clobber write return value when using O_SYNC
ceph: fix client_request_forward decoding
ceph: drop messages on unregistered mds sessions; cleanup
ceph: fix comments, locking in destroy_inode
ceph: move dereference after NULL test
...
Fix trivial conflicts in Documentation/ioctl/ioctl-number.txt
|
|
The name used in the documentation doesn't match reality.
Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Replace uio_mem example for kobjects with uio_map, since the uio_mem
struct no longer contains a kobject.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Updated memory.txt to be more consistent: s/swapiness/swappiness/
Signed-off-by: Greg Thelen <gthelen@google.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
|
Conflicts:
block/Kconfig
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
|
* 'master' of /home/v4l/bare_trees/v4l-dvb:
V4L/DVB: v4l2-common: add ability to use v4l2_ctrl_query_fill for chroma gain
V4L/DVB: saa115: add support for chroma AGC and chroma gain
V4L/DVB: videodev2: introduce a common control for chroma gain
V4L/DVB: saa7115: enable anti-alias filter
V4L/DVB: em28xx: rework buffer pointer tracking for offset to start of video
V4L/DVB: em28xx: reduce cropping for VBI area
V4L/DVB: em28xx: adjust number of packets per URB
V4L/DVB: sn9c102: Make hv7131d sensor code also recognize the HV7131E
V4L/DVB: gspca_spca561: Add support for camera button
V4L/DVB: gspca_spca561: Fix LED on rev12a cameras
|
|
Introduce a new control for modifying the chroma gain. This allows for user
intervention in abnormal signal conditions cases where the decoder's chroma
AGC cannot compensate and the value needs to be adjusted manually.
This work was sponsored by EyeMagnet Limited.
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|