Page MenuHomeFreeBSD

DEVICE_IDENTIFY.9: Modernize description and use cases
AcceptedPublic

Authored by jhb on Tue, Jan 7, 5:05 PM.

Details

Reviewers
imp
ziaee
Group Reviewers
manpages
Summary

Mention adding devices based on firmware tables and software-only
pseudo-devices as use cases for identify methods as those are more
common than reading random I/O ports to identify a legacy ISA device.

Describe how device_find_chid can be used to avoid duplicates. While
here, explicitly note that devices added in identify methods typically
use a fixed device name.

Trim the cross-references a bit.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61554
Build 58438: arc lint + arc unit

Event Timeline

ziaee added a subscriber: ziaee.
ziaee added inline comments.
share/man/man9/DEVICE_IDENTIFY.9
34

Wow this seems way better!

87

Sir, I see device_get_children but not device_get_child on current from yesterday.

Couple of nits,but it's so much better

share/man/man9/DEVICE_IDENTIFY.9
43

in various ways?

50

Extra space?

This revision is now accepted and ready to land.Wed, Jan 8, 2:12 AM
share/man/man9/DEVICE_IDENTIFY.9
87

It's added in a commit later in this stack