Re: CONFIG_IBM_BAY

Matthew Garrett
2007-03-19T13:23:31Z

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