Ignore:
Timestamp:
Oct 16, 2011, 9:06:02 PM (14 years ago)
Author:
cjm
Message:
  • Finishing touches to SMART support in the context of tests with smartctl. Needed to separate 'parm' into 'cnt' and 'lba_l' for do_smart() because the "read smart log" command expects the count to be the number of sectors; setting both count and lba_l to the same value may result in DMA transfer overruns or underruns in the AHCI controller.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ioctl.h

    r125 r129  
    179179  USHORT      SeekErrors[2];
    180180  USHORT      SATAErrors;
    181 } DeviceCountersData, NEAR *NPDeviceCountersData, FAR *PDeviceCountersData;
     181} DeviceCountersData;
    182182
    183183/******************************************************************************
     
    200200  ULONG       UnitFlags1;
    201201  USHORT      UnitFlags2;
    202 } UnitInformationData, NEAR *NPUnitInformationData, FAR *PUnitInformationData;
     202} UnitInformationData;
    203203
    204204
Note: See TracChangeset for help on using the changeset viewer.