ISA IRQ mapping and problem on PCI-PCMCIA Bridge
Christoph Plattner <[email protected]> Wed, 13 Mar 2002 16:21:22 +0100
| Newsgroups | gmane.linux.pcmcia.devel |
|---|---|
| Organization | AAA |
| Message-ID | <[email protected]> |
Hello PCMCIA hackers.
I have a problem with the ISA-IRQ stuff on a PCI-PCMCIA
controller in
- understanding
- accessing a CompactFlash Adapter with CompactFlash
I use a Linux Rethat 6.0, a self-built kernel 2.2.20 and
the pcmcia-cs-3.1.33 package. Now I use the first time a
PCMCIA controller (TI1410) based on PCI not ISA.
The controller is plugged into a standard PC, PentiumII
system with ASUS-BX board. On the board IRQ10 and 11
are reserverd for ISA and attached by devices.
With freeing and reserving IRQ 5 and/or 9 I had no
success concerning the below described problem.
Independent of the built configuration (CardBus y/n, PnP
Extension y/n), I am not able to access CompactFlash
(ide2) device. (Before I had an ISA PCMCIA controller in
the PC, and I had no problems accessing the CompactFlash).
The problem is in my opinion a specific one concerning the
ISA-IRQ on this PCI device. The CF-Adapter seems to be a
16bit device and needs a not-shared IRQ line as usual for
IDE controllers.
First problem: The driver seems not to find any ISA IRQs.
Why ? (In this setup I have "reserved" IRQ5 for ISA and
kept IRQ 9 free for PCI ("available")).
LOG:
----
Linux PCMCIA Card Services 3.1.33
kernel build: 2.2.20 #2 Mon Mar 11 16:44:12 CET 2002
options: [pci] [pnp]
PCI routing table version 1.0 at 0xf0d10
PnP: PNP BIOS installation structure at 0xc00fd110
PnP: PNP BIOS version 1.0, entry at f0000:d140, dseg at f0000
Intel ISA/PCI/CardBus PCIC probe:
TI 1410 rev 01 PCI-to-CardBus at slot 00:09, mem 0x68000000
host opts [0]: [isa irq] [pci irq 9] [lat 32/176] [bus 32/34]
ISA irqs (scanned) = none!<6> PCI card interrupts, PCI status
changes
---
In general: How should the ISA IRQ mapping work ?
A PCI device can access 4 IRQ lines in maximum (INT A-D).
Does a PCI PCMCIA-Controller access 3 of them, one for the
controller itself, the other for the inserted devices (one
or two) ?
But to used INT-A to INT-D the IRQ line must not be reserverd, or
should it ?
A INT-A to INT-D is a PCI IRQ, and not an ISA-IRQ.
So, how should this work ?
How is the hardware connected (usually, of cource this may be dependent
on the implementation of the board).
---
When I insert the CF-Adapter, I see following log output (dmesg):
hde: SanDisk SDCFB-32, ATA DISK drive
ide2: Disabled unable to get IRQ 9.
hde: ERROR, PORTS ALREADY IN USE
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide2: ports already in use, skipping probe
ide_cs: ide_register() at 0x100 & 0x10e, irq 9 failed
---
I hope anybody can help me here ?
------------------------------------------------------------------
private: [email protected]
company: [email protected]
_______________________________________________
Pcmcia-cs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmcia-cs-devel