patch-2.3.7 linux/Documentation/pci.txt
Next file: linux/Makefile
Previous file: linux/Documentation/Configure.help
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Jun 17 12:56:11 1999
- Orig file:
v2.3.6/linux/Documentation/pci.txt
- Orig date:
Tue Apr 28 14:22:04 1998
diff -u --recursive --new-file v2.3.6/linux/Documentation/pci.txt linux/Documentation/pci.txt
@@ -4,7 +4,7 @@
"What should you avoid when writing PCI drivers"
- by Martin Mares <mj@atrey.karlin.mff.cuni.cz> on 13-Feb-1998
+ by Martin Mares <mj@atrey.karlin.mff.cuni.cz> on 17-Jun-1999
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -18,6 +18,10 @@
configure_device(dev);
For class-based search, use pci_find_class(CLASS_ID, dev).
+
+ You can use the constant PCI_ANY_ID as a wildcard replacement for
+VENDOR_ID or DEVICE_ID. This allows searching for any device from a
+specific vendor, for example.
In case you want to do some complex matching, look at pci_devices -- it's
a linked list of pci_dev structures for all PCI devices in the system.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)