home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextDeveloper / Examples / DriverKit / SCSITape / stblocksize.tproj / stblocksize.h < prev   
Encoding:
C/C++ Source or Header  |  1994-07-13  |  724 b   |  30 lines

  1. /* Copyright (c) 1993 NeXT Computer, Inc.  All rights reserved.
  2.  * 
  3.  * stblocksize.h   XXX this should be added to scsireg.h
  4.  *
  5.  * HISTORY
  6.  * 18-Oct-93    Phillip Dibner at NeXT
  7.  *    Created.
  8.  */ 
  9.  
  10. #import <sys/types.h>
  11.  
  12. #define C6OP_RDBLKLIMS    0x05    /* read block limits */
  13.  
  14. struct read_blk_sz_reply {
  15.  
  16. #if    __BIG_ENDIAN__
  17.     u_int    rbsr_rsvd:8,        /* byte 4 - reserved */
  18.         rsbr_max_bll:24;    /* maximum block length limit */
  19.     u_short    rsbr_min_bll;        /* minimum block length limit */
  20. #elif    __LITTLE_ENDIAN__
  21.     u_char    rbsr_rsvd;
  22.     u_char    rbsr_max_bll2;
  23.     u_char    rbsr_max_bll1;
  24.     u_char    rbsr_max_bll0;
  25.     u_char    rbsr_min_bll1;
  26.     u_char    rbsr_min_bll0;
  27. #else
  28. #error    SCSI command / data structures are compiler sensitive
  29. #endif
  30. } read_blk_sz_reply_t;