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

Matthew Garrett
2005-12-09T11:52:52Z

On Fri, Dec 09, 2005 at 06:49:44AM -0500, Jeff Garzik wrote:

> If this is just for libata, it's still at the wrong level.
>
> libata will eventually make the SCSI simulator optional, which means
> any acpi_scsi_init() or whatnot won't work for libata.

It depends on notification whenever a device is added to the scsi bus
class, so it needs access to scsi_bus_type. While that could be put in
the libata layer, it seems cleaner to leave it in scsi and then add
another callback for libata when it moves to its own bus class.

--
Matthew Garrett | mjg59@srcf.ucam.org