Page MenuHomeFreeBSD

cam/mmc: Use xpt_path_inq instead of hand-rollded equivalent
ClosedPublic

Authored by imp on Jul 5 2025, 6:15 PM.
Tags
None
Referenced Files
F146703961: D51168.id158134.diff
Wed, Mar 4, 9:01 PM
F146648004: D51168.id158134.diff
Wed, Mar 4, 10:00 AM
Unknown Object (File)
Tue, Mar 3, 10:30 PM
Unknown Object (File)
Tue, Mar 3, 5:30 AM
Unknown Object (File)
Mon, Mar 2, 11:22 AM
Unknown Object (File)
Mon, Mar 2, 12:18 AM
Unknown Object (File)
Tue, Feb 24, 10:34 AM
Unknown Object (File)
Sun, Feb 8, 4:14 PM
Subscribers
None

Details

Summary

There's no reason to inline xpt_path_inq here. While there was a
mismatch between this use (CAM_PRIORITY_NONE) and the old xpt_path_inq
code (which used CAM_PRIORITY_NORMAL), xpt_path_inq has been corrected
to use _NONE since this is a non-queued command.

Sponsored by: Netflix

Diff Detail

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