Commit graph android_kernel_sony_sdm845/Documentation
Message SHA1
[PATCH] hwmon: hwmon vs i2c, second round (04/11)
i2c_probe and i2c_detect now do the exact same thing and operate on
the same data structure, so we can have everyone call i2c_probe.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Jean Delvare   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:20 -07:00
2ed2dc3c11
[PATCH] I2C: fix typo in documentation
Fix a typo in the i2c documentation: the i2c bus scanning tool found in
lm_sensors is called i2cdetect, not i2c_detect.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Jean Delvare   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:16 -07:00
014e45380a
[PATCH] I2C: refactor message in i2c_detach_client
We could refactor the error message 34 different i2c drivers print if
i2c_detach_client() fails in this function itself. Saves quite a few
lines of code. Documentation is updated to reflect that change.

Note that this patch should be applied after Rudolf Marek's w83792d
patches.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Jean Delvare   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:14 -07:00
7bef559455
[PATCH] I2C: W83792D documentation 3/3
This patch adds documentation entry for W83792D chip.

Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

R.Marek@sh.cvut.cz   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:14 -07:00
1ff4e3065b
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (8/9)
Kill all uses of i2c_is_isa_adapter except for the hybrid drivers (it87,
lm78, w83781d). The i2c-isa adapter not being registered with the i2c
core anymore, drivers don't have to fear being erroneously attached to
it.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Jean Delvare   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:12 -07:00
02ff982c69
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (7/9)
Kill normal_isa in header files, documentation and all chip drivers, as
it is no more used.

normal_i2c could be renamed to normal, but I decided not to do so at the
moment, so as to limit the number of changes. This might be done later
as part of the i2c_probe/i2c_detect merge.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Jean Delvare   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:12 -07:00
5071860aba
[PATCH] hwmon: kill client name lm78-j
Drop the separate client name for the LM78-J chip. This is really
only a later revision of the LM78, with almost no difference and
no difference the driver handles in any case.

This was the only client name that had a dash in it, and special care
had to be taken in libsensors because of it. As we plan to write a new
library soon, I'd like to get rid of this exception before we do.

As a nice side effect, it saves 876 bytes in lm78.ko.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Jean Delvare   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:06 -07:00
27fe048eb3
[PATCH] I2C: max6875 documentation cleanup
Fix a spelling error and change a sysfs name.

Signed-off-by: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

bgardner@wabtec.com   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:05 -07:00
0283fe6c3b
[PATCH] I2C: update max6875 documentation
Updates to the max6875 driver documentation.
This brings the documentation in sync with the code, which was recently
simplified.

This patch is based off 2.6.13-rc2-mm2.

Signed-off-by: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

bgardner@wabtec.com   authored and   Greg Kroah-Hartman   commited 2005-09-05 09:14:03 -07:00
93ffa43514
Merge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds   commited 2005-09-05 00:14:47 -07:00
babf68de58
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds   commited 2005-09-05 00:11:50 -07:00
48467641bc
[PATCH] swsusup with dm-crypt mini howto
The attached patch contains a mini howto for using dm-crypt together with
swsusp.

Signed-off-by: Andreas Steinmetz <ast@domdv.de>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Andreas Steinmetz   authored and   Linus Torvalds   commited 2005-09-05 00:06:17 -07:00
6ed9fcec85
[PATCH] suspend: update documentation
Update suspend documentation.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Pavel Machek   authored and   Linus Torvalds   commited 2005-09-05 00:06:14 -07:00
7e958883bc
[PATCH] ppc32: Added support for the Book-E style Watchdog Timer
PowerPC 40x and Book-E processors support a watchdog timer at the processor
core level.  The timer has implementation dependent timeout frequencies
that can be configured by software.

One the first Watchdog timeout we get a critical exception.  It is left to
board specific code to determine what should happen at this point.  If
nothing is done and another timeout period expires the processor may
attempt to reset the machine.

Command line parameters:
  wdt=0 : disable watchdog (default)
  wdt=1 : enable watchdog

  wdt_period=N : N sets the value of the Watchdog Timer Period.

  The Watchdog Timer Period meaning is implementation specific. Check
  User Manual for the processor for more details.

This patch is based off of work done by Takeharu Kato.

Signed-off-by: Matt McClintock <msm@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Kumar Gala   authored and   Linus Torvalds   commited 2005-09-05 00:05:56 -07:00
a2f40ccd29
[PATCH] add /proc/pid/smaps
Add a "smaps" entry to /proc/pid: show howmuch memory is resident in each
mapping.

People that want to perform a memory consumption analysing can use it
mainly if someone needs to figure out which libraries can be reduced for
embedded systems.  So the new features are the physical size of shared and
clean [or dirty]; private and clean [or dirty].

Take a look the example below:

# cat /proc/4576/smaps

08048000-080dc000 r-xp /bin/bash
Size:               592 KB
Rss:                500 KB
Shared_Clean:       500 KB
Shared_Dirty:         0 KB
Private_Clean:        0 KB
Private_Dirty:        0 KB
080dc000-080e2000 rw-p /bin/bash
Size:                24 KB
Rss:                 24 KB
Shared_Clean:         0 KB
Shared_Dirty:         0 KB
Private_Clean:        0 KB
Private_Dirty:       24 KB
080e2000-08116000 rw-p
Size:               208 KB
Rss:                208 KB
Shared_Clean:         0 KB
Shared_Dirty:         0 KB
Private_Clean:        0 KB
Private_Dirty:      208 KB
b7e2b000-b7e34000 r-xp /lib/tls/libnss_files-2.3.2.so
Size:                36 KB
Rss:                 12 KB
Shared_Clean:        12 KB
Shared_Dirty:         0 KB
Private_Clean:        0 KB
Private_Dirty:        0 KB
...

(Includes a cleanup from "Richard Purdie" <rpurdie@rpsys.net>)

From: Torsten Foertsch <torsten.foertsch@gmx.net>

show_smap calls first show_map and then prints its additional information to
the seq_file.  show_map checks if all it has to print fits into the buffer and
if yes marks the current vma as written.  While that is correct for show_map
it is not for show_smap.  Here the vma should be marked as written only after
the additional information is also written.

The attached patch cures the problem.  It moves the functionality of the
show_map function to a new function show_map_internal that is called with an
additional struct mem_size_stats* argument.  Then show_map calls
show_map_internal with NULL as struct mem_size_stats* whereas show_smap calls
it with a real pointer.  Now the final

	if (m->count < m->size)  /* vma is copied successfully */
		m->version = (vma != get_gate_vma(task))? vma->vm_start: 0;

is done only if the whole entry fits into the buffer.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Mauricio Lin   authored and   Linus Torvalds   commited 2005-09-05 00:05:49 -07:00
e070ad49f3
[PATCH] swap: swap_lock replace list+device
The idea of a swap_device_lock per device, and a swap_list_lock over them all,
is appealing; but in practice almost every holder of swap_device_lock must
already hold swap_list_lock, which defeats the purpose of the split.

The only exceptions have been swap_duplicate, valid_swaphandles and an
untrodden path in try_to_unuse (plus a few places added in this series).
valid_swaphandles doesn't show up high in profiles, but swap_duplicate does
demand attention.  However, with the hold time in get_swap_pages so much
reduced, I've not yet found a load and set of swap device priorities to show
even swap_duplicate benefitting from the split.  Certainly the split is mere
overhead in the common case of a single swap device.

So, replace swap_list_lock and swap_device_lock by spinlock_t swap_lock
(generally we seem to prefer an _ in the name, and not hide in a macro).

If someone can show a regression in swap_duplicate, then probably we should
add a hashlock for the swap_map entries alone (shorts being anatomic), so as
to help the case of the single swap device too.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Hugh Dickins   authored and   Linus Torvalds   commited 2005-09-05 00:05:42 -07:00
5d337b9194
Input: i8042 - add i8042.nokbd module option to allow supressing
creation of keyboard port.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

Dmitry Torokhov   commited 2005-09-04 01:42:00 -05:00
945ef0d428
[SERIAL] feature-removal-schedule.txt: remove {,un}register_serial entry
If the feature is removed, there's no need to keep the entry in
feature-removal-schedule.txt.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Adrian Bunk   authored and   Russell King   commited 2005-09-03 15:36:36 +01:00
707b1c84ec
Merge linux-2.6 into linux-acpi-2.6 test
Len Brown   commited 2005-09-03 02:44:09 -04:00
129521dcc9
Merge HEAD from master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds   commited 2005-09-02 00:53:36 -07:00
138307b475
[CRYPTO]: Fix XTEA implementation
The XTEA implementation was incorrect due to a misinterpretation of
operator precedence.  Because of the wide-spread nature of this
error, the erroneous implementation will be kept, albeit under the
new name of XETA.

Signed-off-by: Aaron Grothe <ajgrothe@yahoo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

Aaron Grothe   authored and   David S. Miller   commited 2005-09-01 17:42:46 -07:00
fb4f10ed50
/spare/repo/netdev-2.6 branch 'master'
Jeff Garzik   commited 2005-09-01 18:02:01 -04:00
e3ee3b78f8
[SERIAL] Clean up and fix tty transmission start/stoping
The start_tx and stop_tx methods were passed a flag to indicate
whether the start/stop was from the tty start/stop callbacks, and
some drivers used this flag to decide whether to ask the UART to
immediately stop transmission (where the UART supports such a
feature.)

There are other cases when we wish this to occur - when CTS is
lowered, or if we change from soft to hard flow control and CTS
is inactive.  In these cases, this flag was false, and we would
allow the transmitter to drain before stopping.

There is really only one case where we want to let the transmitter
drain before disabling, and that's when we run out of characters
to send.

Hence, re-jig the start_tx and stop_tx methods to eliminate this
flag, and introduce new functions for the special "disable and
allow transmitter to drain" case.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Russell King   commited 2005-08-31 10:12:14 +01:00
b129a8ccd5
Merge refs/heads/upstream from master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git
Linus Torvalds   commited 2005-08-30 11:16:30 -07:00
6b39374a27
Merge HEAD from /spare/repo/linux-2.6/.git
Jeff Garzik   commited 2005-08-30 13:32:29 -04:00
ed735ccbef
[ALSA] ad1816a - Add clockfreq module option
Documentation
Added clockfreq module option for the card with a different clock frequency
than 33kHz.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

Takashi Iwai   authored and   Jaroslav Kysela   commited 2005-08-30 08:43:32 +02:00
506d4c6a5f
[ALSA] sound - fix .iface field of mixer control elements
Documentation,CS46xx driver,EMU10K1/EMU10K2 driver,AD1848 driver
SB16/AWE driver,CMIPCI driver,ENS1370/1+ driver,RME32 driver
RME96 driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
RME HDSP driver,RME9652 driver
This patch changes .iface to SNDRV_CTL_ELEM_IFACE_MIXER whre _PCM or
_HWDEP was used in controls that are not associated with a specific PCM
(sub)stream or hwdep device, and changes some controls that got
inconsitent .iface values due to copy+paste errors.  Furthermore, it
makes sure that all control that do use _PCM or _HWDEP use the correct
number in the .device field.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

Clemens Ladisch   authored and   Jaroslav Kysela   commited 2005-08-30 08:43:22 +02:00
67ed4161f6
[NETFILTER]: Add "nfnetlink_queue" netfilter queue handler over nfnetlink
- Add new nfnetlink_queue module
- Add new ipt_NFQUEUE and ip6t_NFQUEUE modules to access queue numbers 1-65535
- Mark ip_queue and ip6_queue Kconfig options as OBSOLETE
- Update feature-removal-schedule to remove ip[6]_queue in December

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Harald Welte   authored and   David S. Miller   commited 2005-08-29 15:36:56 -07:00
7af4cc3fa1
Auto-update from upstream
Len Brown   commited 2005-08-29 17:02:17 -04:00
27a639a92d
Merge /spare/repo/linux-2.6/
Jeff Garzik   commited 2005-08-29 16:40:27 -04:00
c1b054d03f
Merge HEAD from ../scsi-misc-2.6-tmp
James Bottomley   commited 2005-08-28 11:18:35 -05:00
7a93aef7fb
merge ibm into test
Len Brown   commited 2005-08-25 17:41:14 -04:00
89ef1a21a1
[ACPI] IBM ThinkPad ACPI Extras Driver v0.12
http://ibm-acpi.sf.net/

Signed-off-by: Borislav Deianov <borislav@users.sf.net>
Signed-off-by: Len Brown <len.brown@intel.com>

Borislav Deianov   authored and   Len Brown   commited 2005-08-25 17:37:51 -04:00
78f81cc435
Merge upstream into ieee80211.
Hand-fix merge conflict in drivers/usb/net/zd1201.c.

Jeff Garzik   commited 2005-08-24 01:02:04 -04:00
b2382b363d
Merge from-linus to-akpm
Len Brown   commited 2005-08-23 22:12:23 -04:00
84ffa74752
Merge /spare/repo/linux-2.6/
Jeff Garzik   commited 2005-08-18 22:14:39 -04:00
a3bc068022
[PATCH] PCI: update documentation
This removes very old functions from pci docs, which are no longer in
the kernel.

Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Jiri Slaby   authored and   Linus Torvalds   commited 2005-08-16 21:06:25 -07:00
33a5c72432
Merge 'acpi-2.6.12' branch into to-akpm
Len Brown   commited 2005-08-15 15:56:23 -04:00
cb220c1af4
Merge to-linus-stable into to-akpm
Len Brown   commited 2005-08-15 15:52:00 -04:00
f6869979be
Merge ../to-linus-stable/
Len Brown   commited 2005-08-15 15:49:00 -04:00
b857c730d4
[ACPI] re-enable platform-specific hotkey drivers by default
When both platform-specific and generic drivers exist,
enable generic over-ride with "acpi_generic_hotkey".

http://bugzilla.kernel.org/show_bug.cgi?id=4953

Signed-off-by: Luming Yu <luming.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

Luming Yu   authored and   Len Brown   commited 2005-08-15 15:46:58 -04:00
30e332f330
Merge /spare/repo/linux-2.6/
Jeff Garzik   commited 2005-08-14 23:10:00 -04:00
4c0e176dd5
Merge ../to-linus
Len Brown   commited 2005-08-11 00:56:08 -04:00
95f193aa4f
Merge /spare/repo/linux-2.6/
Jeff Garzik   commited 2005-08-11 00:07:03 -04:00
cd04b947bc
[PATCH] ARM: 2847/1: S3C24XX - Documentation for USB OHCI host
Patch from Ben Dooks

Documentation for the in-built OHCI host controller
and the support for it in Linux.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Ben Dooks   authored and   Russell King   commited 2005-08-10 16:45:14 +01:00
c59d071d4a
[PATCH] x86_64: ignore machine checks from boot time
Don't log machine check events left over from boot.  Too many BIOSes leave
bogus events in there.

This unfortunately also makes it impossible to log events that caused a
reboot.  For people with non broken BIOS there is mce=bootlog

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Andi Kleen   authored and   Linus Torvalds   commited 2005-08-07 10:00:37 -07:00
d5172f263f
Merge ../from-linus
Len Brown   commited 2005-08-05 13:03:06 -04:00
e872d4cace
[PATCH] USB: ub documentation update
The patch which went in was correct, but not quite what I had in mind.
Here is a patch to update that a little bit. Original patch is at:
 http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4749f32da939d4e4160541b2cadc22492bb507ec

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Pete Zaitcev   authored and   Linus Torvalds   commited 2005-08-04 21:32:46 -07:00
003ba51535
[SCSI] aic7xxx: upport all sequencer and core fixes from adaptec version 6.3.9
This patch upports all relevant code fixes and bumps the driver version
to 7.0 to signify starting a new tree.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

James Bottomley   commited 2005-08-04 17:41:25 -05:00
79778a27be
/home/lenb/src/to-akpm branch 'acpi-2.6.12'
Len Brown   commited 2005-08-04 18:09:09 -04:00
5d2a22079c