From: "bob houston" <stopterrorism@all-over-the-world.com>
Subject: Sample PCI Driver for Alpha DS10 5.1
Date: Sat, 06 Jul 2002 18:14:12 GMT [thread overview]
Message-ID: <UrGV8.41062$eF5.1450941@twister.austin.rr.com> (raw)
Running tru64 5.1 on a Compaq Alpha DS10.
I used the web'driver builder' tool to generate a sample character driver for a
new PCI card which is to be 'mmap'ed by user processes. the build and install had
no errors and the /dev entry was added. when I open the device I get what appears
to be a system config error. Machine is not before me so cannot give exact error.
1. Does this web driver generator give usable code for PCI and 5.1?
2. In the generated source code, there was a comment near the xxxx_mmap
entry point that said Alpha processors do not support mmap. Is this true?
3. If so, how can I give user processes random access of my PCI card's
onboard memory space? (read/write/ioctl, shudder)? Don't want the overhead
since most accesses are from random locations. The user code expects to
access the memory via pointers.
4. Any pointers to source for a simple character PCI card driver that allows random access
of pci card memory (and interrupts)? (5.1)
Thank you,
Bob
next reply other threads:[~2002-07-06 18:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-06 18:14 bob houston [this message]
2002-07-08 13:21 ` Sample PCI Driver for Alpha DS10 5.1 Andrew Duane USG
2002-07-08 18:01 ` Bob Irwin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox