Print this page
NEX-7503 backport illumos #7307
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
NEX-7048 COMSTAR MODE_SENSE support is broken
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/scsi/generic/mode.h
          +++ new/usr/src/uts/common/sys/scsi/generic/mode.h
↓ open down ↓ 183 lines elided ↑ open up ↑
 184  184   *
 185  185   *      0x3F                    Return all pages (valid for Mode Sense only)
 186  186   *
 187  187   */
 188  188  
 189  189  /*
 190  190   * Page codes and page length values (all device types)
 191  191   */
 192  192  
 193  193  #define MODEPAGE_DISCO_RECO     0x02
      194 +#define MODEPAGE_FORMAT         0x03
      195 +#define MODEPAGE_GEOMETRY       0x04
 194  196  #define MODEPAGE_CACHING        0x08
 195  197  #define MODEPAGE_PDEVICE        0x09
 196  198  #define MODEPAGE_CTRL_MODE      0x0A
 197  199  #define MODEPAGE_POWER_COND     0x1A
 198  200  #define MODEPAGE_INFO_EXCPT     0x1C
 199  201  
 200  202  #define MODEPAGE_ALLPAGES       0x3F
 201  203  
 202  204  /*
 203  205   * Mode Select/Sense page structures (for all device types)
↓ open down ↓ 306 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX