From: Kristoffer E. <kri...@gm...> - 2007-08-29 16:06:10
|
On Wed, 29 Aug 2007 18:09:47 +0900 Paul Mundt <le...@li...> wrote: > On Tue, Aug 28, 2007 at 08:03:50PM -0700, Kristoffer Ericson wrote: > > The hd64461 have two slots (CF/PCMCIA) but since CF is handled by > > libata (and initial start in hd64461.c) should this driver be able to > > handle both CF and PCMCIA? > > > > Personally i feel it would make more sense if it only controlled the > > pcmcia. Anyone wanting CF support could easily add that for their > > platform. > > > > Before we never used the CF slot but instead let ide-sh handle it. > > > I'm not sure I understand your question. HD64461 is a multi-function > device, meaning that you have a driver for each defined function. Usually > these need to chain in to the MFD driver for things like IRQ demux and > things like that, but each function is generally wholly isolated. I put my words poorly, what I ment was, is it resonable that the hd64461_SS driver should handle the CF slot aswell as the pcmcia one? Currently its set to only handle the pcmcia, but you can through menuconfig make it also control the CF slot. > > See things like drivers/mfd/sm501.c and friends for how to work with this > sort of stuff from the driver model. The PCMCIA function of HD64461 has > nothing to do with the CF/pata_platform integration, and it's handled > through an entirely different driver. HD64465 is the same. |