[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6fcc0a0702060541s4f14f439xe448574ba7e318a5@mail.gmail.com>
Date: Tue, 6 Feb 2007 16:41:24 +0300
From: "Alexey Dobriyan" <adobriyan@...il.com>
To: Alan <alan@...rguk.ukuu.org.uk>
Cc: linux-kernel@...r.kernel.org, jeff@...zik.org
Subject: Re: [PATCH] pata_acpi driver
On 2/6/07, Alan <alan@...rguk.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]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists