Messages in this thread | | | Date | Tue, 6 Feb 2007 16:41:24 +0300 | From | "Alexey Dobriyan" <> | Subject | Re: [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/
| |