lkml.org 
[lkml]   [2007]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pata_acpi driver
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]
-
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/

\
 
 \ /
  Last update: 2007-02-06 14:43    [W:0.028 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site