From: Paul M. <le...@li...> - 2007-08-29 09:11:18
|
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. 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. |