[PATCH] yenta: irq-routing for TI bridges...again

Daniel Ritz daniel.ritz at alcatel.ch
Fri Mar 19 13:09:46 GMT 2004


On Friday 19 March 2004 06:27, Pavel Roskin wrote:
> On Wed, 17 Mar 2004, Daniel Ritz wrote:
> > http://ritz.dnsalias.org/linux/pcmcia-ti-routing-9.patch
>
> It's working great with the worst crippling code that unsets mfunc, devctl
> and INTRTIE.
>

good news indeed. thanks for all the testing.

> if (PCI_FUNC(socket->dev->devfn) == 0) {
>         u32 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL);
>         config_writel(socket, TI122X_MFUNC, 0);
>         config_writeb(socket, TI113X_DEVICE_CONTROL, 0x66);
>         sysctl ^= TI122X_SCR_INTRTIE;
>         config_writel(socket, TI113X_SYSTEM_CONTROL, sysctl);
> }
>
> Yenta: CardBus bridge found at 0000:00:08.0 [133f:1233]
> Yenta: Using CSCINT to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:08.0, mfunc 0x00000000, devctl 0x66
> Yenta TI: socket 0000:00:08.0 probing PCI interrupt failed, trying to fix
> Yenta TI: socket 0000:00:08.0 falling back to parallel PCI interrupts
> Yenta TI: socket 0000:00:08.0 parallel PCI interrupts ok
> Yenta: ISA IRQ mask 0x0000, PCI irq 12
> Socket status: 30000006
> Yenta: CardBus bridge found at 0000:00:08.1 [133f:1233]
> Yenta: Using CSCINT to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:08.1, mfunc 0x00000002, devctl 0x64
> Yenta TI: socket 0000:00:08.1 probing PCI interrupt failed, trying to fix
> Yenta TI: socket 0000:00:08.1 parallel PCI interrupts, tied ok
> Yenta: ISA IRQ mask 0x0000, PCI irq 12
> Socket status: 30000006
>
> I believe your patch is now ready for wide testing or even applying to the
> mainline kernel.

-mm first? russell, what do you think? any objections?

rgds
-daniel






More information about the linux-pcmcia mailing list