Page MenuHomeFreeBSD

pci: Add is_pci_device helper function
ClosedPublic

Authored by jhb on Wed, May 13, 8:27 PM.
Tags
None
Referenced Files
F157241731: D56996.diff
Tue, May 19, 3:14 PM
F157241730: D56996.diff
Tue, May 19, 3:14 PM
F157241729: D56996.diff
Tue, May 19, 3:14 PM
F157241727: D56996.diff
Tue, May 19, 3:14 PM
F157241726: D56996.diff
Tue, May 19, 3:14 PM
F157241714: D56996.diff
Tue, May 19, 3:14 PM
F157241698: D56996.diff
Tue, May 19, 3:14 PM
F157241686: D56996.diff
Tue, May 19, 3:13 PM
Subscribers

Details

Summary

This returns true if a given device is a PCI device (child of a PCI
bus).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Wed, May 13, 8:27 PM
bz added a subscriber: bz.

I was contemplating the name but I couldn't come up with anything nice that started with pci_ ..

share/man/man9/pci.9
26

Please update .Dd before commit

This revision is now accepted and ready to land.Wed, May 13, 8:32 PM
In D56996#1305937, @bz wrote:

I was contemplating the name but I couldn't come up with anything nice that started with pci_ ..

Yeah, I couldn't think of a better name either. :(

This revision was automatically updated to reflect the committed changes.