Re: How-to?

Philip Blundell (Philip.Blundell@pobox.com)
Fri, 02 Jul 1999 19:34:47 +0100


>> Also, in the interest of debugging the PCI card (it is a brand new
>> card), I wanted to access it in usermode.
>
>Well, I'm not sure how to do this, but the next best thing is
>to provide simple ioctl()s for reading and writing the PLX registers
>and the local bus, then call them from user space. But even
>kernel-level debugging is fairly quick and easy given printk()
>and the ability to insert and remove kernel modules.

You can look up the address of the card in /proc and then use inb/outb or
mmap(/dev/mem) to poke around with it.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/