Re: RFC: ACPI/scsi/libata integration and hotswap

From: Alan Cox
Date: Thu Dec 08 2005 - 09:34:33 EST


On Iau, 2005-12-08 at 14:18 +0000, Matthew Garrett wrote:
> drivers/pci/pci-acpi.c), with struct device.firmware_data being where
> the acpi_handle ends up. I guess there's no problem in moving my code
> out to scsi-acpi.c and adding an arch_initcall for it. Would that be
> more acceptable? The only problem then is working out a clean way of
> setting up the notification structure.

I would say your code belongs in the ACPI subtree. At most the core code
wants to have the generic supporting functions for 'do a taskfile' and
if need be to call an arch/platform resume function that any pm system
can sensibly use.

SCSI should not know detail about ACPI, APM or anything of that nature.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/