Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169417042
D8431.id21966.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8431.id21966.diff
View Options
Index: share/man/man4/smb.4
===================================================================
--- share/man/man4/smb.4
+++ share/man/man4/smb.4
@@ -141,26 +141,25 @@
.Em BlockWrite
first sends the byte from
.Fa cmd
-to the device, followed by
+to the device, then the byte from
+.Fa wcount
+followed by
.Fa wcount
bytes of data that are taken from the buffer pointed to by
.Fa wbuf .
The SMBus specification mandates that no more than 32 bytes of
-data can be transferred in a single block read or write command,
-but since
-.Xr smbus 4
-is also used to access I2C devices, the limit has been increased
-to 1024.
+data can be transferred in a single block read or write command.
This value can be read from the constant
.Dv SMB_MAXBLOCKSIZE .
.It Dv SMB_BREAD Ta
.Em BlockRead
first sends the byte from
.Fa cmd
-to the device, then reads
-.Fa rcount
-bytes of data that from the device.
-This data is returned in the buffer pointed to by
+to the device, then reads a count of data bytes that the device
+is going to provide and then reads that many bytes.
+The count is returned in
+.Fa rcount.
+The data is returned in the buffer pointed to by
.Fa rbuf .
.El
.Pp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 2, 12:03 PM (10 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37952872
Default Alt Text
D8431.id21966.diff (1 KB)
Attached To
Mode
D8431: update SMB_BWRITE documentation, clarify SMB_BREAD
Attached
Detach File
Event Timeline
Log In to Comment