lkml.org 
[lkml]   [1997]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /proc/pci design idea
Date
From

mj@atrey.karlin.mff.cuni.cz said:
> I'd prefer the following approach:
> - Add a kernel call for PCI config space access.
> - Add a single file in /proc, summarizing all known PCI devices

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.


--
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep. But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."



\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site