lkml.org 
[lkml]   [1999]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How-to?
Date
From
>> 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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.029 / U:1.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site