*** pm_trans_check.9F.old	Mon Apr 27 10:41:11 2009
--- pm_trans_check.9F.new-2	Mon May  4 22:29:19 2009
***************
*** 48,71 ****
       handler can issue  the  corresponding  pm_idle_component(9F)
       call.
  
!      When  the  format  field  of   pm_trans_data   is   set   to
!      DC_SCSI_FORMAT,  the  caller  must   provide  valid  data in
!      svc_date[], lifemax, and ncycles. Currently,  flag  must  be
!      set to 0.
  
!        struct pm_scsi_cycles {
!                  int lifemax;                     /* lifetime max power cycles */
!                  int ncycles;                     /* number of cycles so far */
!                  char svc_date[DC_SCSI_MFR_LEN];  /* service date YYYYWW */
!                  int flag;                        /* reserved for future */
!             };
  
!             struct pm_trans_data {
!                  int format;                      /* data format */
!                  union {
!                       struct pm_scsi_cycles scsi_cycles;
!                  } un;
!             };
  
  RETURN VALUES
       1     Power cycle is advised
--- 48,71 ----
       handler can issue  the  corresponding  pm_idle_component(9F)
       call.
  
!      The format field of pm_trans_data accepts either DC_SCSI_FORMAT
!      or DC_SMART_FORMAT.  If the caller provides information from a SCSI
!      Log Page, it should set the format field to DC_SCSI_FORMAT, and
!      provide  valid  data in svc_date[], lifemax, ncycles and flag in 
!      the pm_scsi_cycles structure.  If the caller provides information
!      from a SMART feature attribute, it should set the format field to 
!      DC_SMART_FORMAT, and provide valid data in allowed, usedup and flag 
!      in the pm_smart_count structure, where allowed indicates the 
!      normalized cycle count before reaching the borderline threshold 
!      cycle count, and usedup indicates the normalized consumed cycle count.
  
!      The flag field in both pm_scsi_cycles and pm_smart_count structure
!      is reserved for future, flag must be set to 0.
  
!        struct pm_trans_data {
!               int format;                     /* data format */
!               union {
!                     struct pm_scsi_cycles scsi_cycles;
!                     struct pm_smart_count smart_count;
!               } un;
!        };
  
  RETURN VALUES
       1     Power cycle is advised
