Page MenuHomeFreeBSD

D20652.id58664.diff
No OneTemporary

D20652.id58664.diff

Index: share/man/man4/pci.4
===================================================================
--- share/man/man4/pci.4
+++ share/man/man4/pci.4
@@ -333,6 +333,27 @@
reading registers, above, also apply to writing
.Tn PCI
configuration registers.
+.It PCIOCATTACHED
+This
+.Xr ioctl 2
+allows user to query if a driver is loaded for the
+.Tn PCI
+specified in the passed-in
+.Va pci_io
+structure.
+The
+.Va pci_io
+structure is described aboove, however, the
+.Va pi_reg
+and
+.Va pi_width
+are not used.
+The return value from this
+.Xr ioctl 2
+is stored in
+.Va pi_data .
+A value of 0 indicates no driver is attached, while a value larger than 0
+indicates that a driver is attached.
.It PCIOCBARMMAP
This
.Xr ioctl 2

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 22, 9:01 PM (3 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27862967
Default Alt Text
D20652.id58664.diff (730 B)

Event Timeline