Re: [PATCH]: Prevent sn2 ptc code from executing on all ia64 subarches

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2005-12-16 02:51:09
On Thursday 15 December 2005 7:33 am, Prarit Bhargava wrote:
> Bjorn Helgaas wrote:
> > You ought to just describe this hardware in the ACPI namespace
> > and use acpi_bus_register_driver() to bind the drivers.
> 
> ACPI support is in the process of being implemented.
> Currently, there is no ACPI DSDT table being created on
> SN systems.

You ought to be able to compile an SSDT into the kernel and
load it at boot-time, e.g., by extending acpi_os_table_override().
Or you might do something like arch/parisc/kernel/drivers.c.
Or maybe there's a way to use platform_devices.

The point is, I think it's a mistake to use ia64_platform_is()
to decide whether to bind a driver to a device.  I think it would
be much better to make it explicit that these are drivers, and
they only bind to specific devices.

I do recognize that this doesn't cover all the current uses of
ia64_platform_is(), but it covers a pretty big chunk of them.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Dec 16 02:51:53 2005

This archive was generated by hypermail 2.1.8 : 2005-12-16 02:52:01 EST