[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070223155306.0e8aeee5@lxorguk.ukuu.org.uk>
Date: Fri, 23 Feb 2007 15:53:06 +0000
From: Alan <alan@...rguk.ukuu.org.uk>
To: Robert Hancock <hancockr@...w.ca>
Cc: Jeff Garzik <jeff@...zik.org>, akpm@...l.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI driver support for pata
> Unfortunately, link order appears to have no effect when the drivers in
> question are built modular, as appears to be the typical case, unlike
> old IDE where they were generally built in because of all the other
> busted behavior if you built the drivers as modules. This means that
> userspace tools like mkinitrd, udev, etc. will need to be taught to try
> to load drivers in this order, and not to try to use pata_acpi on an
They already have to do this because of the sata_nv module for one
example where ordering matters. So it's already the case, and it has to
be dealt with run time because the resolution is dynamic and depends upon
user configurable boot settings.
> Plus there's controller hotplug - if multiple loaded drivers are listed
> as being able to drive a piece of hardware, does anything define which
> driver will get first dibs on attaching to the device when it's
> hotplugged? I don't know how this ordering will be enforced in that case.
That feature is lacking in the PCI layer at the moment which is
problematic. When the PCI layer develops this feature I'll make use of
it. In the mean time send patches to Greg KH for that if you want to hack
on it.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists