lkml.org 
[lkml]   [1997]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: /proc/pci design idea
Date
Followup to:  <19970915212422.41308@atrey.karlin.mff.cuni.cz>
By author: Martin Mares <mj@atrey.karlin.mff.cuni.cz>
In newsgroup: linux.dev.kernel
> >
> > 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?
>

There are things /proc was not meant to do; I/O is one of them -- I/O
is much better handled by traditional /dev device nodes.

-hpa

--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
Always looking for a few good BOsFH. ** Linux - the OS of global cooperation
I am Baha'i -- ask me about it or see http://www.bahai.org/

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.059 / U:1.096 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site