Re: unkown PCI device

Michael Meissner (meissner@cygnus.com)
Mon, 30 Nov 1998 07:15:04 -0500


On Sun, Nov 29, 1998 at 07:08:46PM -0800, david parsons wrote:
> In article <linux.kernel.19981127211012.63077@albireo.ucw.cz>,
> Martin Mares <mj@ucw.cz> wrote:
> >Hello,
> >
> >> Sorry, I've just realized that it shouldn't have sent to the list because
> >> /proc/pci is absolote in 2.1.x kernels, and other utilites like lspci
> >> have user space solutions (/etc/pci.ids for example). Sorry again.
> >>
> >> Btw : When /proc/pci will be removed from the kernel source ?
> >
> > Since several commercial X servers parse /proc/pci to get device addresses,
> >we probably need to keep this interface in 2.2. If Linus agrees, I'll remove
> >it at start of the 2.3 line.
>
> This would be bad for the people who purchased these commercial X
> servers, unless the companies providing these servers obligingly
> provide free upgrades. If, instead, you rip all the vendor
> and card IDs out of the kernel (or put them into a config option,
> if the commercial servers require the actual text) and just have
> the Unknown vendor Unknown device, the commercial servers will
> be able to pick up the vendor and card ids (which I'd hope they're
> doing now, but who knows) until the last ia32 architecture machine
> rolls off to the junkyard.

Another way to do it is to have a /proc/pci device driver that autoloads
whenever /proc/pci is loaded. Or allow userlevel programs to create a FIFO in
/proc, and hang a program off waiting for read requests.

-- 
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
meissner@cygnus.com,	617-354-5416 (office),	617-354-7161 (fax)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/