/[base]
ViewVC logotype

Revision 308527


Jump to revision: Previous Next
Author: avg
Date: Fri Nov 11 14:41:02 2016 UTC (7 years, 7 months ago)
Changed paths: 2
Log Message:
smb: fix SMB_READB, SMB_READW, SMB_PCALL to work as documented

Previously, those ioctls were defined as 'in' only, so rdata.byte and
rdata.word were never updated in the userland.  The read data went only
to rbuf if it was provided.  Thus, consumers were forced to always use it.

Now the ioctls are marked as in-out.
Compatibility handlers are provided for old ioctls.

PR:		213481
Reported by:	Lewis Donzis <lew@perftech.com>
MFC after:	2 weeks
Relnotes:	maybe
Differential Revision: https://reviews.freebsd.org/D8430


Changed paths

Path Details
Directoryhead/sys/dev/smbus/smb.c modified , text changed
Directoryhead/sys/dev/smbus/smb.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27