From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: CONFIG_IBM_BAY Date: Mon, 19 Mar 2007 13:22:43 +0000 Message-ID: <20070319132243.GA2869@srcf.ucam.org> References: <20070315031251.GB6292@khazad-dum.debian.net> <200703150206.05811.lenb@kernel.org> <20070315133900.GC26862@khazad-dum.debian.net> <20070315080644.c73db24a.kristen.c.accardi@intel.com> <20070315175505.GB6596@khazad-dum.debian.net> <20070315110156.09e80b99.kristen.c.accardi@intel.com> <20070315193123.GB14394@khazad-dum.debian.net> <20070315125037.3e82e0c4.kristen.c.accardi@intel.com> <45FCD062.3050001@gmail.com> <20070318082751.GA28591@homac2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([217.147.92.49]:53021 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933865AbXCSNXb (ORCPT ); Mon, 19 Mar 2007 09:23:31 -0400 Content-Disposition: inline In-Reply-To: <20070318082751.GA28591@homac2> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Tejun Heo , Kristen Carlson Accardi , Henrique de Moraes Holschuh , Len Brown , linux-acpi@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net, linux-ide@vger.kernel.org On Sun, Mar 18, 2007 at 09:27:51AM +0100, Holger Macht wrote: > I don't prefer any solution, whether doing it inside the kernel, or doing > it in userspace. What would be good would be to know what's the 'right' > way to go, or at least what both kernel people and userspace people can > agree on so that we can find a solution across distributions, whatever. > I'm currently just looking how to integrate the generic dock and bay > driver into the openSUSE distribution, and this seems to be quite hard, > especially because of the above mentioned already working solution ;-) If the kernel knows that a bay device has just been added or removed, it makes sense for the device removal to take place in the kernel rather than bouncing it out to userspace and then back into the kernel. Pulling out a cardbus card doesn't require us to run a userspace helper to detach the hardware. -- Matthew Garrett | mjg59@srcf.ucam.org