Re: /proc/pci unknown devices

Peter Samuelson (peter@wire.cadcamlab.org)
Tue, 26 Oct 1999 03:46:44 -0500 (CDT)


[Jes Sorensen <Jes.Sorensen@cern.ch>]
> Besides, the table doesn't need to be a large static ever growing
> table, all you do is to copy the entries for the PCI devices you
> found to a new list and delete the rest.

Certainly that works today, since we know all PCI devices at boot time.
This will not be true forever. I believe this has been discussed
before here; what was the verdict on "knowing" the names of hot-swap
devices?

Maybe when a module for a hot-swap device loads (responding to a
"modprobe -k pci-dev-fe1c-ee05" or whatever) it can augment the
/proc/pci table with its own __initdata. (Who knows, by then maybe
__initdata in a module will mean something.)

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

- 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/