Re: /proc/pci design idea

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Mon, 15 Sep 1997 21:24:22 +0200


Hi,

> I've heard several suggestions involving adding another system call.
>
> I think these are decent ideas, but I would prefer not going around and
> creating system calls willy-nilly. Entries in /proc use existing system
> calls, and also take care of managing permissions, security restrictions,
> etc. (The pciconfig_write system call on alphas can be executed by anyone,
> for example.)
>
> Only problem is, it requires /proc to be configured in. Oh well, I'm not
> the first and won't be the last.

Well, doing this via /proc is much slower. And how do you want to separate
byte, word and longword accesses?

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
"Man is the highest animal. Man does the classifying."