login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
30
Re: [PATCH 4/4] power_supply: bump EC version check that we refuse to run with in olpc_battery
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Andres Salomon
Subject:
Re: [PATCH 4/4] power_supply: bump EC version check that we refuse to run with in olpc_battery
Date: Wednesday, April 30, 2008 - 4:12 pm
On Wed, 30 Apr 2008 14:55:15 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
quoted text
> On Wed, 30 Apr 2008 16:30:30 -0400 > Andres Salomon <dilinger@queued.net> wrote: > > > > > Refuse to run with an EC < 0x44. We're playing it safe, and this is > > a pretty old EC version. > > > > Also, add a comment about why we're checking the EC version. > > Sigh. Presantly, the entirety of olpc_battery.c looks very nice > in an 80-column display. > > > > > diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c > > index cb45a67..086b146 100644 > > --- a/drivers/power/olpc_battery.c > > +++ b/drivers/power/olpc_battery.c > > @@ -398,7 +398,12 @@ static int __init olpc_bat_init(void) > > > > if (!olpc_platform_info.ecver) > > return -ENXIO; > > - if (olpc_platform_info.ecver < 0x43) { > > + > > + /* > > + * We've seen a number of EC protocol changes; this driver requires > > + * the latest EC protocol, supported by 0x44 and above. > > + */ > > + if (olpc_platform_info.ecver < 0x44) { > > printk(KERN_NOTICE "OLPC EC version 0x%02x too old for battery driver.\n", olpc_platform_info.ecver); > > return -ENXIO; > > Now it needs 0x80 :(
You can fight dwmw2 on that one, I'm keeping out of such battles. :) --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 4/4] power_supply: bump EC version check that we re ...
, Andres Salomon
, (Wed Apr 30, 1:30 pm)
Re: [PATCH 4/4] power_supply: bump EC version check that w ...
, Andrew Morton
, (Wed Apr 30, 2:55 pm)
Re: [PATCH 4/4] power_supply: bump EC version check that w ...
, Andres Salomon
, (Wed Apr 30, 4:12 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Luck
Re: Hardware Error Kernel Mini-Summit
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
Andrey Borzenkov
Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from...
Linus Torvalds
Linux 2.6.26-rc6
Jeffrey V. Merkey
Re: Versioning file system
git
:
Morten Welinder
Re: [PATCH] use xrealloc in help.c
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Jörg Sommer
[PATCH v2 08/13] Unify the lenght of $SHORT* and the commits in the TODO list
Boyd Lynn Gerber
Re: [VOTE] git versus mercurial
Stefan Näwe
Re: [PATCH] git-gui: use --exclude-standard to check for untracked files
linux-netdev
:
Andreas Sundstrom
Re: ~60k interrupts/sec for 1Gb/s iperf with r8169
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Denys Fedoryshchenko
Re: circular locking, mirred, 2.6.24.2
David Miller
Re: [PATCH -next] sfc: Use correct macro to set event bitfield
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
m68k: amiga - Mouse platform device conversion
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate