Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756294Ab0LROk6 (ORCPT ); Sat, 18 Dec 2010 09:40:58 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:33757 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756227Ab0LROk5 (ORCPT ); Sat, 18 Dec 2010 09:40:57 -0500 Date: Sat, 18 Dec 2010 14:40:49 +0000 From: Matthew Garrett To: Henrik Rydberg Cc: Guenter Roeck , "linux-kernel@vger.kernel.org" , "lm-sensors@lm-sensors.org" Subject: Re: [PATCH 1/2 V3] applesmc: Use PnP rather than hardcoding resources and devices Message-ID: <20101218144049.GA21801@srcf.ucam.org> References: <20101217221618.GA13207@ericsson.com> <1292624661-32474-1-git-send-email-mjg@redhat.com> <20101218042320.GA14104@ericsson.com> <20101218090714.GA436@polaris.bitmath.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101218090714.GA436@polaris.bitmath.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1489 Lines: 30 On Sat, Dec 18, 2010 at 10:07:14AM +0100, Henrik Rydberg wrote: > On Fri, Dec 17, 2010 at 08:23:21PM -0800, Guenter Roeck wrote: > > On Fri, Dec 17, 2010 at 05:24:20PM -0500, Matthew Garrett wrote: > > > The AppleSMC device is described in ACPI, including a list of its resources. > > > We should use those rather than hardcoding the ports. A side-effect is that > > > we can then remove the DMI matching, since there's a unique identifier to > > > indicate that the machine has one of these devices. > > > > > > Signed-off-by: Matthew Garrett > > > > You added a whitespace error, and kfree() is safe and doesn't need a check. > > I fixed those, so no need to resubmit. If Henrik gives his Ack we are ready to go. > > Thanks, I will give it some testing before doing so. Matthew, did you > test this under EFI boot? Also, NOTIFICATION_KEY does not seem to be > used anywhere. I tested under EFI and BIOS. NOTIFICATION_KEY is there for adding interrupt support - I got that hooked up but it seems that the latest Air is lacking the sudden motion sensor (probably because it's an SSD-only model) so wasn't able to test it. I'll play some more and add a further patch for that. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/