From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH 08/13] libata-acpi: implement ata_acpi_associate() Date: Sat, 28 Apr 2007 14:59:05 -0400 Message-ID: <46339979.6030900@garzik.org> References: <11772636662855-git-send-email-htejun@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <11772636662855-git-send-email-htejun@gmail.com> Sender: linux-acpi-owner@vger.kernel.org To: Tejun Heo Cc: mjg59@srcf.ucam.org, rdunlap@xenotime.net, trenn@suse.de, alan@lxorguk.ukuu.org.uk, forrest.zhao@gmail.com, kristen.c.accardi@intel.com, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-ide@vger.kernel.org List-Id: linux-ide@vger.kernel.org Tejun Heo wrote: > * Add acpi_handle to ata_host and ata_port. Rename > ata_device->obj_handle to ->acpi_handle and move it above such that > it doesn't get cleared on reconfiguration. > > * Replace ACPI node association which ata_acpi_associate() which is > called once during host initialization. Unlike the previous > implementation, ata_acpi_associate() uses ATA_FLAG_ACPI_SATA to > choose between IDE or SATA ACPI hierarchy and uses simple child look > up instead of recursive walk to match the nodes. This is way safer > and simpler. Please read the following message for more info. > > http://article.gmane.org/gmane.linux.ide/17554 > > Signed-off-by: Tejun Heo > --- > drivers/ata/libata-acpi.c | 369 ++++++--------------------------------------- > drivers/ata/libata-core.c | 3 + > drivers/ata/libata.h | 2 + > include/linux/libata.h | 13 +- > 4 files changed, 63 insertions(+), 324 deletions(-) largely dependent on previous patch's comments