alistair23-linux/drivers
Henrique de Moraes Holschuh a3f104c02a ACPI: thinkpad-acpi: support 16 levels of brightness (v3)
Lenovo ThinkPads often have 16 brightness levels in EC, and not just eight
levels like older ThinkPads.  They also have standard ACPI backlight
brightness control.

We detect the number of brightness levels by the presence of a BCLL package
with 16 entries.  If BCLL is not there, we assume eight levels (Z6*).  If
it is there, but it doesn't have 16 entries, we assume eight levels (T60).
Otherwise we assume sixteen levels (T61, X61, etc).

We don't use _BCL because it can have side-effects in thinkpads.  Thanks to
Thomas Renninger <trenn@suse.de> for notifying me of this potential
problem.

Using the standard ACPI backlight brightness control *instead* of the
native thinkpad backlight control is a better idea, though.  A different
patch will take care of this.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-11-05 13:07:11 -05:00
..
acorn/char
acpi Pull documentation into release branch 2007-10-29 17:31:01 -04:00
amba
ata [libata] Utilize new SCSI event infrastructure 2007-11-03 22:23:02 -04:00
atm Eliminate pointless casts from void* in a few driver irq handlers. 2007-10-23 19:53:16 -04:00
auxdisplay
base cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
block cciss: update copyright notices 2007-10-29 11:33:05 +01:00
bluetooth [Bluetooth] Add generic driver for Bluetooth USB devices 2007-10-22 02:59:46 -07:00
cdrom SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
char drm/sis: missing mutex unlock in error path. 2007-11-05 10:53:18 +10:00
clocksource
connector [CONNECTOR]: Fix a spurious kfree_skb() call 2007-10-30 21:29:47 -07:00
cpufreq
cpuidle cpuidle: remove unused exports 2007-10-29 17:27:50 -04:00
crypto [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
dca
dio
dma Remove bogus default y for DMAR and NET_DMA 2007-10-30 08:06:55 -07:00
edac NULL terminate the pci_device_ids in pasemi_edac 2007-10-19 11:53:56 -07:00
eisa
firewire firewire: Fix pci resume to not pass in a __be32 config rom. 2007-10-31 19:02:19 +01:00
firmware define global BIT macro 2007-10-19 11:53:42 -07:00
hid HID: Don't access input_dev->private directly 2007-10-31 13:30:35 +01:00
hwmon Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
i2c typo fixes 2007-10-20 01:34:40 +02:00
ide Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2007-10-28 12:03:14 -07:00
ieee1394 ieee1394: iso and async streams: s/g list fix 2007-11-04 14:31:16 +01:00
infiniband Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2007-10-30 15:26:56 -07:00
input Use i8253.c lock for PC speaker on MIPS, too. 2007-11-02 19:39:18 -07:00
isdn [ISDN] capidrv: address two longstanding warnings 2007-10-29 04:45:06 -04:00
kvm Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
leds fix typo "sort" -> "short" 2007-10-20 01:55:58 +02:00
lguest lguest: documentation update 2007-10-25 15:02:50 +10:00
macintosh Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
mca
md dm: bounce_pfn limit added 2007-11-02 08:47:25 +01:00
media cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
message SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
mfd typo fixes 2007-10-20 01:34:40 +02:00
misc ACPI: thinkpad-acpi: support 16 levels of brightness (v3) 2007-11-05 13:07:11 -05:00
mmc cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
mtd Eliminate pointless casts from void* in a few driver irq handlers. 2007-10-23 19:53:16 -04:00
net Merge branch 'sg' of git://git.kernel.dk/linux-2.6-block 2007-11-03 12:43:21 -07:00
nubus
of
oprofile
parisc parisc: fix sg_page() fallout 2007-10-23 09:49:31 +02:00
parport [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
pci intel-iommu: Fix array overflow 2007-10-30 08:06:55 -07:00
pcmcia remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
pnp
power Merge git://git.infradead.org/battery-2.6 2007-10-22 19:20:52 -07:00
ps3 remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
rapidio
rtc rtc: ignore msb when reading back mday from alarm 2007-11-04 13:13:09 -08:00
s390 SG: s390-scsi: missing size parameter in zfcp_address_to_sg() 2007-10-29 09:18:03 +01:00
sbus vfc_dev conversion to mutex: fallout 2007-10-20 15:04:06 -07:00
scsi SCSI: add asynchronous event notification API 2007-11-03 22:23:02 -04:00
serial serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh maple: Fix maple bus compiler warning 2007-10-30 09:56:40 +09:00
sn
spi fix abuses of ptrdiff_t 2007-10-29 07:41:33 -07:00
ssb
tc
telephony
uio
usb cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
video Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
virtio Virtio helper routines for a descriptor ringbuffer implementation 2007-10-23 15:49:55 +10:00
w1 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
watchdog Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-11-02 19:36:26 -07:00
xen
zorro Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
Kconfig Virtio interface 2007-10-23 15:49:54 +10:00
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-10-23 16:37:29 -07:00