]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cam: Provide compatibility for CAMGETPASSTHRU for periph drivers
authorMark Johnston <markj@FreeBSD.org>
Thu, 29 Sep 2022 17:07:52 +0000 (13:07 -0400)
committerMark Johnston <markj@FreeBSD.org>
Tue, 1 Nov 2022 13:28:11 +0000 (09:28 -0400)
commitfff5c5fe911e7067390e6ff73c4c58489a30c849
treee06e6ab3ace84b810d34b03349b869bdb02deb29
parent4867d7d34dfd54986d5798eddc3ce92a70cc9841
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)
sys/cam/cam_periph.c