12. Driver Defaults

Contents of this section

12.1 Transfer Lengths

Currently (at least up to kernel version 1.1.68) input and output sizes have to be less than or equal than 4096 bytes unless the kernel has been compiled with SG_BIG_BUFF defined, if which case it is limited to SG_BIG_BUFF (e.g. 32768) bytes. These sizes include the generic header as well as the command block on input.

12.2 Timeout And Retry Values

The default timeout value is set to one minute (Timeout = 6000). It can be changed through an ioctl call (see section sec-ioctl ). The default number of retries is one.


Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter