HomeFreeBSD

Revert most of r360179.

Description

Revert most of r360179.

I had failed to notice that sgsendccb() was using cam_periph_mapmem()
and thus was not passing down user pointers directly to drivers. In
practice this broke requests submitted from userland.

PR: 249395
Reported by: Trenton Schulz <trueos@norwegianrockcat.com>
Reviewed by: scottl
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26550

Details

Provenance
jhbAuthored on
Reviewer
scottl
Differential Revision
D26550: Revert most of r360179.
Parents
rS366174: MFC 365013: Suppress -Wempty-body warnings in GCC 6.x and later.
Branches
Unknown
Tags
Unknown