lkml.org 
[lkml]   [1999]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: /proc/pci unknown devices
[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/

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