aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-14ACPI: EC: export ec_transaction() for msi-laptop driverLennart Poettering1-0/+2
Signed-off-by: Lennart Poettering <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: EC: Simplify acpi_hw_low_level*() with inb()/outb().Denis M. Sadykov1-79/+45
Simplify acpi_hw_low_level_xxx() functions to inb() and outb(). Signed-off-by: Alexey Y. Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: EC: Unify poll and interrupt gpe handlersDenis M. Sadykov1-95/+12
Signed-off-by: Alexey Y. Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: EC: Unify poll and interrupt mode transaction functionsDenis M. Sadykov1-81/+29
Signed-off-by: Alexey Y. Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: EC: Remove unused variables and duplicated codeDenis M. Sadykov1-458/+253
Signed-off-by: Alexey Y. Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: EC: Remove unnecessary delay added by previous transation patch.Denis M. Sadykov1-53/+50
Remove unnecessary delay (50 ms) while reading data from EC in interrupt mode. Signed-off-by: Alexey Y. Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: consolidate functions in acpi ec driverLennart Poettering2-230/+98
Unify the following functions: acpi_ec_poll_read() acpi_ec_poll_write() acpi_ec_poll_query() acpi_ec_intr_read() acpi_ec_intr_write() acpi_ec_intr_query() into: acpi_ec_poll_transaction() acpi_ec_intr_transaction() These new functions take as arguments an ACPI EC command, a few bytes to write to the EC data register and a buffer for a few bytes to read from the EC data register. The old _read(), _write(), _query() are just special cases of these functions. Then unified the code in acpi_ec_poll_transaction() and acpi_ec_intr_transaction() a little more. Both functions are now just wrappers around the new acpi_ec_transaction_unlocked() function. The latter contains the EC access logic, the two original function now just do their special way of locking and call the the new function for the actual work. This saves a lot of very similar code. The primary reason for doing this, however, is that my driver for MSI 270 laptops needs to issue some non-standard EC commands in a safe way. Due to this I added a new exported function similar to ec_write()/ec_write() which is called ec_transaction() and is essentially just a wrapper around acpi_ec_{poll,intr}_transaction(). Signed-off-by: Lennart Poettering <[email protected]> Acked-by: Luming Yu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: Processor native C-states using MWAITVenkatesh Pallipadi8-56/+242
Intel processors starting with the Core Duo support support processor native C-state using the MWAIT instruction. Refer: Intel Architecture Software Developer's Manual http://www.intel.com/design/Pentium4/manuals/253668.htm Platform firmware exports the support for Native C-state to OS using ACPI _PDC and _CST methods. Refer: Intel Processor Vendor-Specific ACPI: Interface Specification http://www.intel.com/technology/iapc/acpi/downloads/302223.htm With Processor Native C-state, we use 'MWAIT' instruction on the processor to enter different C-states (C1, C2, C3). We won't use the special IO ports to enter C-state and no SMM mode etc required to enter C-state. Overall this will mean better C-state support. One major advantage of using MWAIT for all C-states is, with this and "treat interrupt as break event" feature of MWAIT, we can now get accurate timing for the time spent in C1, C2, .. states. Signed-off-by: Venkatesh Pallipadi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: sbs: fix module_param() initializersLebedev, Vladimir P1-5/+5
Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: sbs: check for NULL device pointerLebedev, Vladimir P1-2/+8
Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: ibm_acpi: Documentation the wan feature.Stefan Schmidt1-0/+18
Document the wan feature Jeremy Fitzhardinge added to ibm_acpi. Signed-off-by: Stefan Schmidt <[email protected]> Acked-by: Borislav Deianov <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: ibm_acpi: Update documentation for brightness and volume.Stefan Schmidt1-16/+6
Document the change of the experimental flag for brightness and volume. Signed-off-by: Stefan Schmidt <[email protected]> Acked-by: Borislav Deianov <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: ibm_acpi: Remove experimental status for brightness and volume.Stefan Schmidt1-2/+0
The brightness and volume features from ibm-acpi are stable. The experimental flag is no longer needed. Signed-off-by: Stefan Schmidt <[email protected]> Acked-by: Borislav Deianov <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14ACPI: asus_acpi: W3000 supportMarek W1-1/+16
Add support for W3000 (W3V) and indirectly fixes an issue with kmilo under KDE (it was triggering excessive LCD read error messages by querying asus_acpi module) allowing people (I am probably the only one who tested this) with W3000 to run kmilo. Cc: Karol Kozimor <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
2006-10-14V4L/DVB (4750): AGC command1/2 is board specificPatrick Boettcher3-3/+13
Added config-struct-parameter to take board-specific AGC command 1 and 2 into account. Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4748): Fixed oops for Nova-T USB2Patrick Boettcher2-1/+4
When using the remote control with the Nova-T USB there was an Oops because of the recent DVB-USB-Adapter change. Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4746): HM12 is YUV 4:2:0, not YUV 4:1:1Hans Verkuil1-1/+1
Fix comment in videodev2.h Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4744): The Samsung TCPN2121P30A does not have a tda9887Hans Verkuil1-1/+0
Contrary to all expections the Samsung TCPN2121P30A tuner does NOT have a tda9887. Remove the tda9887 flag from the tuner definition. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4743): Fix oops in VIDIOC_G_PARMJonathan Corbet1-2/+9
The call to v4l2_std_construct() in the VIDIOC_G_PARM handler treats vfd->current_norm as if it were an index - but it's not. The result is an oops if the driver has no vidioc_g_parm() method defined. Here's the fix. Signed-off-by: Jonathan Corbet <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4742): Drivers/media/video: handle sysfs errorsJeff Garzik3-32/+117
Signed-off-by: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4741): {ov511,stv680}: handle sysfs errorsJeff Garzik2-21/+90
Signed-off-by: Jeff Garzik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4740): Fixed an if-block to avoid floating with debug-messagesEnrico Scholz1-2/+3
The dbgarg() macro in videodev.c contains some printk() statements where only the first one is influenced by an if-statement. This causes floating with debug-messages which is fixed by this patch by adding a '{ ... }' pair. Signed-off-by: Enrico Scholz <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4739): SECAM support for saa7113 into saa7115P�draig Brady1-0/+2
Without the attached trivial patch, the saa7113 is set up for PAL when SECAM is selected and hence will see only show black and white for SECAM signals. Tested the patch against the saa7115 module in linux-2.6.17 with a Pinnacle 50e USB tuner (em28xx). Signed-off-by: P�draig Brady <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4738): Bt8xx/dvb-bt8xx.c: check kmalloc() return value.Amit Choudhary1-0/+4
Check the return value of kmalloc() in function frontend_init(), in file drivers/media/dvb/bt8xx/dvb-bt8xx.c. Signed-off-by: Amit Choudhary <[email protected]> Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4734): Tda826x: fix frontend selection for dvb_attachMichael Krufky1-3/+16
Signed-off-by: Michael Krufky <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4733): Tda10086: fix frontend selection for dvb_attachMichael Krufky1-0/+9
Signed-off-by: Michael Krufky <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4732): Fix spelling error in Kconfig help text for DVB_CORE_ATTACHUwe Bugla1-1/+1
Signed-off-by: Uwe Bugla <[email protected]> Signed-off-by: Michael Krufky <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4731a): Kconfig: restore pvrusb2 menu itemsMichael Krufky1-0/+2
Looks like the pvrusb2 menu items were accidentally removed in git commit 1450e6bedc58c731617d99b4670070ed3ccc91b4 This patch restores the menu items so that the pvrusb2 driver can be built. Signed-off-by: Michael Krufky <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4729): Fix VIDIOC_G_FMT for NTSC in cx25840.Hans Verkuil1-6/+19
VIDIOC_G_FMT returned the sliced VBI types in the wrong lines for NTSC (three lines too low). Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4727): Support status readout for saa713x based FM radioHartmut Hackmann1-1/+5
This patch adds readout for stereo and signal level for saa713x cards which use the saa713x as FM demodulator. These are many cards based on saa7133, tda8290 and tda8275a. FM channel search should work now. Signed-off-by: Hartmut Hackmann <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4725): Fix vivi compile on pariscMatthew Wilcox1-6/+6
parisc (and several other architectures) don't have a dma_address in their sg list. Use the macro instead. Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-14V4L/DVB (4692): Add WinTV-HVR3000 DVB-T supportSteven Toth4-1/+41
The WinTV-HVR3000 is currently defined for analog support only. This patch adds full DVB-T support. (DVB-S support will be added soon) Signed-off-by: Steven Toth <[email protected]> Signed-off-by: Michael Krufky <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2006-10-13[WATCHDOG] Atmel AT91RM9200 rename.Andrew Victor9-8/+8
The new Atmel AT91SAM9261 and AT91SAM9260 processors use a different internal watchdog peripheral. This watchdog driver is therefore AT91RM9200-specific. This patch renames at91_wdt.c to at91rm9200_wdt.c, and changes the name of the configuration option. Signed-off-by: Andrew Victor <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
2006-10-13JFS: pageno needs to be longDave Kleikamp1-2/+2
diRead and diWrite are representing the page number as an unsigned int. This causes file system corruption on volumes larger than 16TB. Signed-off-by: Dave Kleikamp <[email protected]>
2006-10-13Linux 2.6.19-rc2Linus Torvalds1-1/+1
That was slightly more painful than really necessary..
2006-10-13Include proper header file for PFN_DOWN()Linus Torvalds1-0/+1
The recent commit (99a10a60ba9bedcf5d70ef81414d3e03816afa3f) to fix up mmap_kmem() broke compiles because it used PFN_DOWN() without including <linux/pfn.h>. Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13[PATCH] Fix headers_check for O= builds; disable automatic check on UML.David Woodhouse1-2/+2
* make header_check work with O= Signed-off-by: David Woodhouse <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13[PATCH] m68knommu: sync syscalls with m68kGeert Uytterhoeven2-7/+65
m68knommu: sync syscalls with m68k Signed-Off-By: Geert Uytterhoeven <[email protected]> Signed-Off-By: Greg Ungerer <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13[PATCH] thermal throttle: sysfs error checkingStephen Hemminger1-9/+12
Get rid of warning in the thermal throttling code about not checking sysfs return values. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13[PATCH] uml shouldn't do HEADERS_CHECKAl Viro1-0/+1
The lack of asm-um/Kbuild is deliberate. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13[PATCH] Fix up mmap_kmemFranck Bui-Huu1-2/+2
vma->vm_pgoff is an pfn _offset_ relatif to the begining of the memory start. The previous code was doing at first: vma->vm_pgoff << PAGE_SHIFT which results into a wrong physical address since some platforms have a physical mem start that can be different from 0. After that the previous call __pa() on this wrong physical address, however __pa() is used to convert a _virtual_ address into a physical one. This patch rewrites this convertion. It calculates the pfn of PAGE_OFFSET which is the pfn of the mem start then it adds the vma->vm_pgoff to it. It also uses virt_to_phys() instead of __pa() since the latter shouldn't be used by drivers. Signed-off-by: Franck Bui-Huu <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixesLinus Torvalds7-16/+19
* git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes: [GFS2] Update git tree name/location [DLM] fix iovec length in recvmsg [GFS2] Pass the correct value to kunmap_atomic [GFS2] Fix bug where lock not held [DLM] Kconfig: don't show an empty DLM menu [GFS2] Fix uninitialised variable [GFS2] Fix a size calculation error
2006-10-13Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/voyager-2.6Linus Torvalds4-107/+113
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/voyager-2.6: [VOYAGER] fix up ptregs removal mess [VOYAGER] fix up attribute packed specifiers in voyager.h [VOYAGER] fix genirq mess
2006-10-13[PATCH] Get core dump code to work...Petr Vandrovec1-1/+1
The file based core dump code was broken by pipe changes - a relative llseek returns the absolute file position on success, not the relative one, so dump_seek() always failed when invoked with non-zero current position. Only success/failure can be tested with relative lseek, we have to trust kernel that on success we've got right file offset. With this fix in place I have finally real core files instead of 1KB fragments... Signed-off-by: Petr Vandrovec <[email protected]> [ Cleaned it up a bit while here - use SEEK_CUR instead of hardcoding 1 ] Signed-off-by: Linus Torvalds <[email protected]>
2006-10-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6Linus Torvalds20-98/+312
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (27 commits) [CIFS] Missing flags2 for DFS [CIFS] Workaround incomplete byte length returned by some [CIFS] cifs Kconfig: don't select CONNECTOR [CIFS] Level 1 QPathInfo needed for proper OS2 support [CIFS] fix typo in previous patch [CIFS] Fix old DOS time conversion to handle timezone [CIFS] Do not need to adjust for Jan/Feb for leap day [CIFS] Fix leaps year calculation for years after 2100 [CIFS] readdir (ffirst) enablement of accurate timestamps from legacy servers [CIFS] Fix compiler warning with previous patch [CIFS] Fix typo [CIFS] Allow for 15 minute TZs (e.g. Nepal) and be more explicit about [CIFS] Fix readdir of large directories for backlevel servers [CIFS] Allow LANMAN21 support even in both POSIX non-POSIX path [CIFS] Make use of newer QFSInfo dependent on capability bit instead of [CIFS] Do not send newer QFSInfo to legacy servers which can not support it [CIFS] Fix typo in name of new cifs_show_stats [CIFS] Rename server time zone field [CIFS] Handle legacy servers which return undefined time zone [CIFS] CIFS support for /proc/<pid>/mountstats part 1 ... Manual conflict resolution in fs/cifs/connect.c
2006-10-12[VOYAGER] fix up ptregs removal messJames Bottomley3-10/+8
Apparently whoever converted voyager never actually checked that the patch would compile ... Remove as much of the pt_regs references as possible and move the remaining ones into line with what's in x86 generic. Signed-off-by: James Bottomley <[email protected]>
2006-10-12[VOYAGER] fix up attribute packed specifiers in voyager.hJames Bottomley1-80/+80
The old style (attribute on each structure entry) never really worked. Move it to an attribute per structure Signed-off-by: James Bottomley <[email protected]>
2006-10-12[VOYAGER] fix genirq messJames Bottomley1-17/+25
The implementation of genirq in x86 completely broke voyager (and presumably visws). Since it's plugged into so much of the x86 infrastructure, you can't expect it to work unconverted. This patch introduces a voyager IRQ handler type and switches voyager to the genirq infrastructure. Signed-off-by: James Bottomley <[email protected]>
2006-10-12[CIFS] Missing flags2 for DFSSteve French2-1/+11
Partly suggested by Igor Mammedov Signed-off-by: Steve French <[email protected]>
2006-10-12[GFS2] Update git tree name/locationSteven Whitehouse1-2/+4
The plan is to have two trees. One for bug fixes to be sent on a regular basis (-fixes) and another called -nmw which will contain items queued for the next merge window (hence the name). The -nmw tree will come & go according to need. Signed-off-by: Steven Whitehouse <[email protected]>