lkml.org 
[lkml]   [1997]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /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""

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.035 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site