lkml.org 
[lkml]   [2005]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: ACPI/scsi/libata integration and hotswap
On Fri, Dec 09, 2005 at 11:42:46AM +0000, Christoph Hellwig wrote:
> As a concept it's _much_ better. Although it should be platform_scsi_init
> and every architecture would provide an, in most cases noop, implementation.

How about

if (platform_scsi_init)
platform_scsi_init(&scsi_bus_type);
? This is similar to how the platform_notify callback code is handled.
Making it per-arch isn't quite ideal, since x86 can be ACPI or APM and
kernels need support for both. On the other hand, I can't think of any
way that APM could do anything useful with the information, so per-arch
may be reasonable.

--
Matthew Garrett | mjg59@srcf.ucam.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-12-09 12:53    [from the cache]
©2003-2011 Jasper Spaans