AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20071005124216.6088c857@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 5 Oct 2007 12:43:45 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Brian Stark <brian.stark@onstor.com>
Subject: interrupt for pcmcia
Message-ID: <20071005124345.7ecb3f28@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I've been messing with the PCI a bit lately.

And hit your favorite topic: interrupts.  Actually I'm not exactly
a genius at IRQs myself.  We discussed before about management
interrupts for the pcmcia. Can you add that to your list for the PROM?
Alternatively, you also mentioned that I could "do it myself" in the
kernel. If so, can you give me the broad strokes on what I need to do?
I can throw such code into the initial setup routines so that it happens
before the part is brought up by its driver.

Cheers,

a

coolcat:~# cat /proc/iomem 
00000000-0fffffff : System RAM
  03000000-0323acef : Kernel code
  0323acf0-032ec17f : Kernel data
80000000-8effffff : System RAM
8f000000-8fffffff : reserved
f800000000-f8ffffffff : SB1250 PCI MEM
  f800810000-f800810fff : yenta_socket
  f800820000-f800820fff : yenta_socket
  f81f000000-f81f3fffff : cs memory probe
  f81f400000-f81f7fffff : cs memory probe
coolcat:~# cat /proc/ioports 
00000000-01ffffff : SB1250 PCI I/O
  00004000-000041ff : PCI CardBus #01
  00004400-000045ff : PCI CardBus #01
  00004800-000049ff : PCI CardBus #05
  00004c00-00004dff : PCI CardBus #05
coolcat:~# 

Interesting kernel output:

Yenta: CardBus bridge found at 0000:00:07.0 [0000:0000]
yenta 0000:00:07.0: no resource of type 1200 available, trying to continue...
yenta 0000:00:07.0: no resource of type 200 available, trying to continue...
PCI: Bus 1, cardbus bridge: 0000:00:07.0
  IO window: 00004000-000041ff
  IO window: 00004400-000045ff
Yenta: Enabling burst memory read transactions
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:07.0, mfunc 0x00000022, devctl 0x60
Yenta: request_irq(255) in yenta_probe_cb_irq() failed!
Yenta TI: socket 0000:00:07.0 no PCI interrupts. Fish. Please report.
Yenta: no PCI IRQ, CardBus support disabled for this socket.
Yenta: check your BIOS CardBus, BIOS IRQ or ACPI settings.
Yenta: ISA IRQ mask 0x0ef8, PCI irq 0
