Messages in this thread | | | Date | Fri, 12 Sep 1997 21:39:10 -0700 (PDT) | From | "Mr. James W. Laferriere Network Engineer" <> | Subject | Re: /proc/pci design idea |
| |
Hello Stehpen,
Please also take a look at
David Howell's Config Manager v023, 12/06/97 http://lucifer.hemmet.s-hem.chalmers.se/~dwh
Which reminds me I haven't heard a peep out of Mr. Howell's since the v0.23 announcement....
This is a -very- cool way to do this, I beleive that David Miller said its one of the best methods he had seen to that time...
On Thu, 11 Sep 1997, Stephen Williams wrote: > I'm considering taking on the task of moving device identification > messages for PCI devices into user space. It makes little sense to me > to keep vendor/device names compiled into the kernel. Makes it ugly for > those of us who ship PCI boards with linux drivers as modules. > > So I'm thinking of turning /proc/pci into the directory /proc/pcibus > with subdirectories xx (bus number) and yy under that for a device. > > i.e. /proc/pcibus/01/40 identifies a specific device on bus 1, dev_fn 0x40. > > That file would contain the 256byte configuration space for the device. > A user-mode program would interpret the bytes to make a pretty display, > if such a thing is desired. (Such a thing is desired by me:-) > > I'm starting with a 2.1.55 kernel and I can probably have it working in a > few days. > -- > 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."
Tia, JimL +-----------------------------------------------------------------------+ | James W. Laferriere - Network Engineer - babydr@nwrain.net | | System Techniques - 25416 - 22nd S. - Kent, WA 98032 | | Give me VMS -or- Give me Linux -but- only on AXP | +-----------------------------------------------------------------------+ |-> Linux-Vax Port, Now in Progress !YAY! there's Progress To Report <-| |-> Please See http://ucnet.canberra.edu.au/~mikal/vaxlinux/home.html <-| |-> Maintainer: Michael Still mikal@blitzen.canberra.edu.au <-| +-----------------------------------------------------------------------+ , JimL +-----------------------------------------------------------------------+ | James W. Laferriere - Network Engineer - babydr@nwrain.net | | System Techniques - 25416 - 22nd S. - Kent, WA 98032 | | Give me VMS -or- Give me Linux -but- only on AXP | +-----------------------------------------------------------------------+ |-> Linux-Vax Port, Now in Progress YAY there's Progress To Report <-| |-> Please See http://ucnet.canberra.edu.au/~mikal/vaxlinux/home.html <-| |-> Maintainer: Michael Still mikal@blitzen.canberra.edu.au <-| +-----------------------------------------------------------------------+ My System & Libraries & Programs status, At this time are: ----------------------------------------------------------- AMD-5k86-P90 , 64MB Main memory , 512K L2 Cache. no-name M.B. , pci & isa slots , Triton chipset pci1-SVGA-gd5446 , pci2-Asus-SC200 , pci3-Asus-SC200 pci4-Eepro100b , ----------------------------------------------------------- Kernel version: Linux-2.0.30 Patches applied: Donald Becker eepro100.c, v0.32a, 08/04/97 Gerard Roudier ncr53c8xx.c, v2.3c, 04/07/97 David Miller 2.0.31-prepatch v2, 29/05/97 Dr. Wern Fink Perfect-buffer, v1, 09/07/97 Jen Maurer's pci.h patch for 2.0.30 06/06/97 ----------------------------------------------------------- Gcc v. 2.7.2.1 ; binutils-2.7.0.9 ; sysvinit-2.62 ld.so.1.8.10 ; libc.so.5.4.23 ; C++ Lib-27.2.1 libg++.so.27.1.4 ; proc-ps 1.12 ; net-tools 1.32a ; mount-2.6d Modules-2.1.23 ; loadkeys 0.89 ; yacc-1.8 Flex 2.5.4 ; e2fsprogs-1.10 ; Sh-utils-1.12 -----------------------------------------------------------
| |