]> 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>
Thu, 13 Oct 2022 00:44:16 +0000 (20:44 -0400)
commit16d4c1de7b40f1cc0d323b9ecc5a38afb7a42f8a
tree2086fa74679cd87c2e2598c7934221e6782fc8a3
parent4539de92bce9afef8a041a0c6b6a1a078a49fe71
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.

Fixes: 8f9be1eed11c ("cam(4): Improve XPT_DEV_MATCH")
PR: 264709
Tested by: andreas.mahling@googlemail.com
Reviewed by: imp

(cherry picked from commit 0cd631ee0693dd7337c38b251044e018aad6fbaf)
sys/cam/cam_periph.c