From: Randy Dunlap <randy_d_dunlap@linux.intel.com>
To: jgarzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org
Subject: [RFC 2/5] ata_acpi: libata.h fields
Date: Wed, 23 Nov 2005 15:51:03 -0800 [thread overview]
Message-ID: <20051123155103.7e58140c.randy_d_dunlap@linux.intel.com> (raw)
In-Reply-To: <20051123154055.6ab5cab2.randy_d_dunlap@linux.intel.com>
From: Randy Dunlap <randy_d_dunlap@linux.intel.com>
Add ACPI data pointer/length holders.
Signed-off-by: Randy Dunlap <randy_d_dunlap@linux.intel.com>
include/linux/libata.h | 6 ++++++
1 files changed, 6 insertions(+)
--- linux-2615-rc2c.orig/include/linux/libata.h
+++ linux-2615-rc2c/include/linux/libata.h
@@ -33,6 +33,7 @@
#include <asm/io.h>
#include <linux/ata.h>
#include <linux/workqueue.h>
+#include <acpi/acpi.h>
/*
* compile-time options
@@ -310,6 +311,11 @@ struct ata_device {
u16 cylinders; /* Number of cylinders */
u16 heads; /* Number of heads */
u16 sectors; /* Number of sectors per track */
+
+ /* ACPI objects info */
+ acpi_handle obj_handle;
+ acpi_size gtf_length;
+ u8 *gtf_address;
};
struct ata_port {
---
next prev parent reply other threads:[~2005-11-23 23:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-23 23:40 [RFC 0/5] ACPI methods for SATA Randy Dunlap
2005-11-23 23:48 ` [RFC 1/5] ata_acpi: Makefile + Kconfig Randy Dunlap
2005-11-23 23:51 ` Randy Dunlap [this message]
2005-11-24 0:38 ` [RFC 2/5] ata_acpi: libata.h fields Edward Falk
2005-11-28 5:03 ` Randy.Dunlap
2005-11-23 23:52 ` [RFC 3/5] ata_acpi: invoke ACPI support functions Randy Dunlap
2005-11-23 23:53 ` [RFC 4/5] ata_acpi: kernel-doc Randy Dunlap
2005-11-23 23:54 ` [RFC 5/5] ata_acpi: add ACPI support functions Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051123155103.7e58140c.randy_d_dunlap@linux.intel.com \
--to=randy_d_dunlap@linux.intel.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).