]> 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, 29 Sep 2022 17:14:57 +0000 (13:14 -0400)
commit0cd631ee0693dd7337c38b251044e018aad6fbaf
treed126351ef210c2f7cd899e91b14e65ed6af4a3b6
parentec21f85ab5f03a803884cc7bafa88621c613f4ca
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
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D36389
sys/cam/cam_periph.c