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)
Jun 3 2024, 9:17 AM
Unknown Object (File)
Jun 3 2024, 9:03 AM
Unknown Object (File)
May 2 2024, 3:51 PM
Unknown Object (File)
May 2 2024, 3:51 PM
Unknown Object (File)
Apr 30 2024, 6:06 AM
Unknown Object (File)
Jan 11 2024, 9:55 AM
Unknown Object (File)
Jan 11 2024, 9:55 AM
Unknown Object (File)
Jan 11 2024, 9:55 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.