Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/dev/pci



Module Name:    syssrc
Committed By:   thorpej
Date:           Wed May 15 18:13:01 UTC 2002

Modified Files:
        syssrc/sys/dev/pci: pci.c pcivar.h

Log Message:
Split the code that enumerates the PCI bus and that actually probes
for a device into two functions:

* pci_probe_device() actually probes/attaches the device specified
  by the provide pcitag_t.

* pci_enumerate_bus() enumerates the bus, and calls pci_probe_device()
  for each device on the bus.  A pci_enumerate_bus_generic() is provided
  which implements the old method of doing this: If something found at
  dev0/func0, determine number of functions and probe each one.

  Machine-dependent code will be able to specify the bus enumeration
  routine in the future.


To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 syssrc/sys/dev/pci/pci.c
cvs rdiff -r1.48 -r1.49 syssrc/sys/dev/pci/pcivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index