[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Accessing an ISA card



On Mon, May 03, 2004 at 08:43:40PM +0200, Roland Leurs wrote:
> I want to use an ISA card in my 715/50. It fits in the expansion slot,
> that's a good beginning. I have to access the card by simple reading and
> writing to an I/O port. 
...
> How can I access this card on my Apollo? I am not capable of writing a
> kernel module, so if it is possible to use /dev/port it would be great.
> On what address do I access the 8255?

Only the kernel can generate IO Port cycles on parisc linux.
You need to find a kernel module that will talk to the 8255
and then "inb/outb" will work fine for that kernel module.

The problem is the "method" to generate IO Port space cycles
is different for each Host Bus controller (Wax vs Dino vs Elroy).
Encoding all those methods into user space programs is just wrong
and we've refused to do it. Most stuff that needs IO Port space
access can either use MMIO space or is x86 specific, it's not
useful for parisc-linux anyway.

hth,
grant



Reply to: