From: "Alexey Dobriyan" <adobriyan@gmail.com>
To: Alan <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, jeff@garzik.org
Subject: Re: [PATCH] pata_acpi driver
Date: Tue, 6 Feb 2007 16:41:24 +0300 [thread overview]
Message-ID: <b6fcc0a0702060541s4f14f439xe448574ba7e318a5@mail.gmail.com> (raw)
In-Reply-To: <20070206134623.0dc3f566@localhost.localdomain>
On 2/6/07, Alan <alan@lxorguk.ukuu.org.uk> wrote:
> An ACPI[1] firmware driver for motherboard PATA ports.
> +int ata_acpi_stm(const struct ata_port *ap, void *handle, struct acpi_gtm
> *stm)
> +{
> + acpi_status status;
> + struct acpi_object_list input;
> + union acpi_object in_params[3];
> +
> + in_params[0].type = ACPI_TYPE_BUFFER;
> + in_params[0].buffer.length = sizeof(struct acpi_gtm);
> + in_params[0].buffer.pointer = (u8 *)stm;
> + /* Buffers for id may need byteswapping ? */
> + in_params[1].type = ACPI_TYPE_BUFFER;
> + in_params[1].buffer.length = 512;
> + in_params[1].buffer.pointer = (u8 *)ap->device[0].id;
> + in_params[2].type = ACPI_TYPE_BUFFER;
> + in_params[2].buffer.length = 512;
> + in_params[1].buffer.pointer = (u8 *)ap->device[1].id;
Must be a typo. [2]
next prev parent reply other threads:[~2007-02-06 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 13:46 Alan
2007-02-06 13:41 ` Alexey Dobriyan [this message]
2007-02-06 15:00 ` Alan
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=b6fcc0a0702060541s4f14f439xe448574ba7e318a5@mail.gmail.com \
--to=adobriyan@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jeff@garzik.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®