lkml.org 
[lkml]   [2001]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI device search.


On Sat, 13 Oct 2001, Stelian Pop wrote:

> On Fri, Oct 12, 2001 at 04:15:54PM -0500, Jeff Garzik wrote:
>
> > > I'd say 1. If a device is hotpluggable or not does not matter. For
> > > 2.5, the boot process will be able to load modules for all PCI
> > > devices seen in the system. In order for that to happen, they need to
> > > use the MODULE_DEVICE structure and the 2.4 pci driver subsystem.
> >
> > I'd say 1.5. :) For the "newer hardware" consider using the PCI host
> > bridge or ISA bridge for your "container" PCI device.
>
> You mean putting PCI_CLASS_BRIDGE_PCI as pattern in the pci
> search table, yes ?

Close but not quite. Look at drivers/char/i810_rng.c. It uses PCI ids
for Intel PCI bridge to search for, since the RNG itself doesn't have a
PCI id.

Jeff




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

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