From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8b0638cd09783eb7,start X-Google-Attributes: gid111c93,public From: acher@informatik.tu-muenchen.de (Georg Acher) Subject: Solved: How to access PCI-memory in user code (DGA) Date: 1998/08/17 Message-ID: <6r91c9$2pk$1@sunsystem5.informatik.tu-muenchen.de>#1/1 X-Deja-AN: 381909551 Distribution: world Organization: Technische Universitaet Muenchen, Germany Newsgroups: comp.os.linux.alpha Originator: acher@hphalle4.informatik.tu-muenchen.de Hi, the DGA-library (libXxf86dga.a) now also works on Alpha. Somebody forgot to add the _bus_base()-offset of the PCI space to the PCI address before mmap-ing it... I've looked in the X-server part, to find out how it's properly done: Just use the glibcAxpIo-library for HW stuff, among other calls it has _bus_base(). The patch and the working library can be found on my homepage: http://www.informatik.tu-muenchen.de/~acher/linux/ Now even the nagravision decoder (nagratv) works on Alpha :-) -- Bye Georg Acher, acher@informatik.tu-muenchen.de http://www.informatik.tu-muenchen.de/~acher/ "Oh no, not again !" The bowl of petunias