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)
Sat, Sep 27, 3:54 PM
Unknown Object (File)
Thu, Sep 25, 1:35 PM
Unknown Object (File)
Sep 13 2025, 12:48 AM
Unknown Object (File)
Sep 3 2025, 9:32 PM
Unknown Object (File)
Sep 3 2025, 5:31 PM
Unknown Object (File)
Sep 2 2025, 5:14 PM
Unknown Object (File)
Aug 14 2025, 10:51 PM
Unknown Object (File)
Aug 9 2025, 9:03 PM
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.