HomeFreeBSD

cam: Provide compatibility for CAMGETPASSTHRU for periph drivers

Description

cam: Provide compatibility for CAMGETPASSTHRU for periph drivers

The CAM version bump 0x19 -> 0x1a changed the CAMGETPASSTHRU definition,
so applications using the old ioctl are broken. However, that version
change did not affect anything relating to the ioctl implementation for
periphs.

Approved by: so
Security: FreeBSD-EN-22:26.cam
Fixes: 8f9be1eed11c ("cam(4): Improve XPT_DEV_MATCH")
PR: 264709
Tested by: andreas.mahling@googlemail.com
Reviewed by: imp

(cherry picked from commit 0cd631ee0693dd7337c38b251044e018aad6fbaf)
(cherry picked from commit 16d4c1de7b40f1cc0d323b9ecc5a38afb7a42f8a)

Details

Provenance
markjAuthored on Sep 29 2022, 5:07 PM
Parents
rG4867d7d34dfd: vm_page: Fix a logic error in the handling of PQ_ACTIVE operations
Branches
Unknown
Tags
Unknown