From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ad993a4e549c3dcb,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-06 11:16:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!cyclone.austin.rr.com!twister.austin.rr.com.POSTED!53ab2750!not-for-mail Reply-To: "bob houston" From: "bob houston" Newsgroups: comp.unix.tru64 Subject: Sample PCI Driver for Alpha DS10 5.1 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sat, 06 Jul 2002 18:14:12 GMT NNTP-Posting-Host: 24.162.60.157 X-Complaints-To: abuse@rr.com X-Trace: twister.austin.rr.com 1025979252 24.162.60.157 (Sat, 06 Jul 2002 13:14:12 CDT) NNTP-Posting-Date: Sat, 06 Jul 2002 13:14:12 CDT Organization: Road Runner - Texas Xref: archiver1.google.com comp.unix.tru64:8086 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