Further note -- ACPI works, but is not correct WRT readl() usage.
The driver has a lot of code like this:
table = ioremap (table_addr, table_size);
foo = table->field1;
bar = table->field2;
iounmap (table);
The second and third lines of code perform a direct deref of the ACPI
data. That is fine (for now) on x86, but is not correct. I don't have
time to fix it right now, but the entire driver needs to be sanitized
like:
data = ioremap (table_addr, table_size);
memcpy_fromio (&table, data, table_size);
iounmap (data);
foo = table.field1; /* etc. */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/