[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080506164930.32df50d0@core>
Date: Tue, 6 May 2008 16:49:30 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Henrique de Moraes Holschuh <hmh@....eng.br>
Cc: Shaohua Li <shaohua.li@...el.com>, Holger Macht <hmacht@...e.de>,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
"Accardi, Kristen C" <kristen.c.accardi@...el.com>
Subject: Re: [PATCH] bay: Exit if notify handler cannot be installed
> The problem has a bit of a hard edge, though: if nobody binds to an ACPI
> node that has an EJ0 subnode, bay needs to do it. But if someone wants
> to, bay should give the node up, and somehow help that someone handle
> the ejection stuff.
A notifier chain should do all that is needed. If bay is loaded anyway
then ATA and other users can register with the bay driver and it can pass
an event to a notifier chain so that anyone who wants that event can act
on it (and if nobody does it can do its own stuff)
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