[PATCHES 2.5] pcmcia: add struct pcmcia_device

Dominik Brodowski linux at brodo.de
Sat Apr 19 21:19:31 BST 2003

On Sat, Apr 19, 2003 at 06:11:31PM +0100, Russell King wrote:
> On Sat, Apr 19, 2003 at 06:52:51PM +0200, Dominik Brodowski wrote:
> > a) for statically mapped sockets
> > Is _any_ user input needed (buggy firm- or hardware don't count) to know what
> > resources (irq, io, mem) are used by this socket? If not, there's no need 
> > for the ioctl, right?
> Correct.


> > Is the IRQ for statically mapped sockets fixed as well?
> Not necessarily.  I'm not sure about Pavels sockets, but many of my
> non-x86 pcmcia sockets use fixed IRQs.  In fact, I don't think I have
> one non-x86 machine which isn't using fixed IRQs (and this includes
> the machine with the cardbus bridge in.)

Hm, is there any reason why we don't statically allocate the IRQ both for
static and dynamic sockets?

> > It seems to me that this is the showstopper
> > before struct pcmcia_device can be merged (and much other fancy stuff
> > depends on that...)
> It's a little unfortunate that everything else depends on this change. ;(

Well, we _could_ allow some temporary nastiness in other areas, e.g. ds.c's
parsing of ioctl....

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20030419/1b653ecf/attachment.bin

More information about the linux-pcmcia mailing list