[PATCH] Support for TI1031 PCI -> PCMCIA bridges

Pavel Roskin proski at gnu.org
Mon May 19 13:21:30 BST 2003


On Sun, 18 May 2003, Tim Small wrote:

> I've got my TI1031 working under 2.4.20 now..  This is built on Pavel's
> original patch here:

Please, let's forget my patch for pci.c.  As I said, I don't know much
about PCI subsystem, and I don't like that you base your patch on
something I don't understand and put my name on it.  Perhaps I shouldn't
have posted that patch at all.

> The patch below is against a stock 2.4.20 (and so includes Pavel's
> original)...  I'd be glad of any feedback - particularly if you have a
> TI PCI1031 based device (pretty rare, I think).  The synopsis is:
>
> . Change pci.c to allow PCMCIA bridge devices which present CARDBUS PCI
> header types (all TI PCI1031s do this, and possibly other similar devices)

Yes, that's important to get right.

> . Change the yenta driver to correctly init the 1031, principally
> routing interrupts correctly, but also so that PCI <-> PCMCIA bridges
> are picked up (this is the only part of the patch that I'm not
> particularly sure about)..

My patch is already in 2.4.21-rc2-ac2.  Is it sufficient to make your card
work?  I'm concerned that the driver in 2.5.x kernels takes a different
approach and may not work for your card.

Linux 2.4.21-rc2-ac2 checks ISA interrupts and it none have been detected,
it reroutes interrupts to PCI.  Linux 2.5.69 routes interrupts to PCI for
specific devices, namely TI 1250 and TI 1410.  If your card also needs to
reroute the interrupts to PCI, it will be a strong case for forward
porting my patch from 2.4.21-rc2-ac2 to 2.5.x series.

-- 
Regards,
Pavel Roskin



More information about the linux-pcmcia mailing list