[lkml]   [1997]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /proc/pci design idea
Followup to:  <>
By author: Martin Mares <>
In newsgroup:
> >
> > 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.


PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See 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

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