2001-05-27 Oliver Rauch <Oliver.Rauch@rauch-domain.de>

* sanei/sanei_scsi.c: changed scsi buffer size (MAX_DATA)
          to 128KB for: SOLARIS_INTERFACE, SOLARIS_SG_INTERFACE,
          SOLARIS_USCSI_INTERFACE and IRIX_INTERFACE
          (some scanners have problems with the predefined 32KB
           buffer size, these systems should work with 128KB
           but we need to test if no problems do occur).
DEVEL_2_0_BRANCH-1
Oliver Rauch 2001-05-27 10:24:04 +00:00
rodzic c452492f59
commit eb8916c209
1 zmienionych plików z 17 dodań i 0 usunięć

Wyświetl plik

@ -225,6 +225,23 @@ static char lastrcmd[16]; /* hold command block of last read command */
# define MAX_DATA (DFLTPHYS - PAGE_SIZE)
#endif
#if USE == SOLARIS_INTERFACE
# define MAX_DATA (128*1024)
#endif
#if USE == SOLARIS_SG_INTERFACE
# define MAX_DATA (128*1024)
#endif
#if USE == SOLARIS_USCSI_INTERFACE
# define MAX_DATA (128*1024)
#endif
#if USE == IRIX_INTERFACE
# define MAX_DATA (128*1024)
#endif
#ifndef MAX_DATA
# define MAX_DATA (32*1024)
#endif