Page MenuHomeFreeBSD

update SMB_BWRITE documentation, clarify SMB_BREAD
ClosedPublic

Authored by avg on Nov 3 2016, 8:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 9:48 PM
Unknown Object (File)
Mon, Nov 4, 9:47 PM
Unknown Object (File)
Mon, Nov 4, 9:47 PM
Unknown Object (File)
Mon, Nov 4, 9:30 PM
Unknown Object (File)
Mon, Oct 28, 6:39 AM
Unknown Object (File)
Oct 19 2024, 7:46 AM
Unknown Object (File)
Oct 17 2024, 3:55 PM
Unknown Object (File)
Oct 11 2024, 10:54 AM
Subscribers

Details

Summary

After removal of SMB_TRANS some information in the description of SMB_BWRITE has become stale.
E.g., the maximum block size has been restored to 32.

Also, the descriptions of SMB_BREAD and SMB_BWRITE had some incorrect information on the SMBus protocol details.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avg retitled this revision from to update SMB_BWRITE documentation, clarify SMB_BREAD.
avg updated this object.
avg edited the test plan for this revision. (Show Details)
avg added reviewers: grembo, jhb, wblock.
avg edited edge metadata.
This revision was automatically updated to reflect the committed changes.
head/share/man/man4/smb.4
149
.Em BlockWrite
sends the
.Fa cmd
byte to the device, then the
.Fa wcount
byte, then that many bytes of data from the buffer pointed to by
.Fa wbuf .
159

Maybe a little smoother:

.Em BlockRead
sends the
.Fa cmd
byte to the device, reads the count of data bytes the device will provide,
then reads those data bytes.