Messages in this thread | | | Date | Tue, 16 Sep 1997 17:42:20 +0200 (CEST) | From | Geert Uytterhoeven <> | Subject | Re: /proc/pci design idea |
| |
On Tue, 16 Sep 1997, Martin Mares wrote: > > BTW, won't `cat /dev/pci' loop if read() returned 4 (i.e. reads are limited to > > longwords)? > > It will loop, but it will be sloooooow.
Alternatively one can mmap() /dev/pci on hardware that supports it, e.g. on the VLSI VAS96011 host bridge that's part of the IBM LongTrail CHRP (PPC) machine.
Greetings,
Geert
-- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
| |