pci_get_bus_and_slot man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

PCI_GET_BUS_AND_SLOT(9)	      Hardware Interfaces      PCI_GET_BUS_AND_SLOT(9)

NAME
       pci_get_bus_and_slot - locate PCI device from a given PCI bus & slot

SYNOPSIS
       struct pci_dev * pci_get_bus_and_slot(unsigned int bus,
					     unsigned int devfn);

ARGUMENTS
       bus
	   number of PCI bus on which desired PCI device resides

       devfn
	   encodes number of PCI slot in which the desired PCI device resides
	   and the logical device number within that slot in case of
	   multi-function devices.

NOTE
       the bus/slot search is limited to PCI domain (segment) 0.

       Given a PCI bus and slot/function number, the desired PCI device is
       located in system global list of PCI devices. If the device is found, a
       pointer to its data structure is returned. If no device is found, NULL
       is returned. The returned device has its reference count bumped by one.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       PCI_GET_BUS_AND_SLOT(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net