Matthew Garrett wrote:
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.
If this is for hotswap, as I noted, libata doesn't need this at all.If the hardware supports it, then libata will support it directly. There is no ACPI-specific magic, because ACPI does nothing but talk to the same hardware libata is talking to.
Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- References:
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Christoph Hellwig <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Alan Cox <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Alan Cox <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Christoph Hellwig <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Jeff Garzik <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- From: Matthew Garrett <[email protected]>
- Re: RFC: ACPI/scsi/libata integration and hotswap
- Prev by Date: High load since upgrade
- Next by Date: Re: RFC: ACPI/scsi/libata integration and hotswap
- Previous by thread: Re: RFC: ACPI/scsi/libata integration and hotswap
- Next by thread: Re: RFC: ACPI/scsi/libata integration and hotswap
- Index(es):