Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150436455
D20652.id58670.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
836 B
Referenced Files
None
Subscribers
None
D20652.id58670.diff
View Options
Index: share/man/man4/pci.4
===================================================================
--- share/man/man4/pci.4
+++ share/man/man4/pci.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 14, 2018
+.Dd June 15, 2019
.Dt PCI 4
.Os
.Sh NAME
@@ -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 above, 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
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 5:23 AM (10 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30707325
Default Alt Text
D20652.id58670.diff (836 B)
Attached To
Mode
D20652: Document the PCIOCATTACHED ioctl(2) in pci(4)
Attached
Detach File
Event Timeline
Log In to Comment