Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 1999 00:53:17 +0100 (MET)
From:      Gerard Roudier <groudier@club-internet.fr>
To:        scsi@FreeBSD.org
Subject:   Q: pci #bus #dev #func from device_t
Message-ID:  <Pine.LNX.3.95.991109004016.342A-100000@localhost>

next in thread | raw e-mail | index | archive | help

I need to know about the actual bus number, device number and function
number of a PCI device from some driver that attached this device.
Is there some method to get this information from device_t?  For now I
just fell back on the old pci bus methods that are #ifdefed in the driver
source against the new bus methods.
The corresponding informations seem to be stored in the device.ivars
field that points to a structure that is private to the pci.c driver.
Sorry if I missed something important.

G=E9rard.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.991109004016.342A-100000>