Page MenuHomeFreeBSD

cam_periph: fix bug in camperiphunitnext logic
ClosedPublic

Authored by imp on Oct 27 2021, 5:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 4:20 PM
Unknown Object (File)
Sun, Nov 30, 3:45 PM
Unknown Object (File)
Tue, Nov 25, 1:27 PM
Unknown Object (File)
Sun, Nov 23, 12:51 PM
Unknown Object (File)
Nov 22 2025, 8:25 AM
Unknown Object (File)
Nov 21 2025, 8:18 AM
Unknown Object (File)
Nov 17 2025, 11:15 AM
Unknown Object (File)
Nov 17 2025, 7:26 AM
Subscribers
None

Details

Summary

If we assigned just a lun as a wired unit (something that camperiphunit
will accept), we failed to properly skip over that unit when computing a
next unit number. Add lun so the code matches the comments that we have
to skip all the same criteria that camperiphunit uses to select wired
units for a driver.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 5 2021, 3:26 PM
This revision was automatically updated to reflect the committed changes.