Messages in this thread | | | Date | Tue, 16 Sep 1997 17:38:32 +0200 | From | Martin Mares <> | Subject | Re: /proc/pci design idea |
| |
Hi,
> Is it really that bad to have longword reads in PCI configuration space for > byte/word registers?
I'm not 100% sure, but I think I've heard somebody complaining about this problem some weeks ago.
> For writes it's different. But writes can be restricted to 1, 2 or 4 bytes > without much problems. Software that wants to write to /dev/pci has to know how > to deal with PCI config space anyway.
Sure.
> 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.
Have a nice fortnight -- Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "New PC concept: "plug and pray""
| |