Ignore:
Timestamp:
Jun 2, 2013, 5:10:06 AM (12 years ago)
Author:
David Azarewicz
Message:

driver info updates, misc cleanup, add comments
This is version 1.28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/trace.c

    r160 r162  
    246246      for (d = 0; d <= pi->dev_max; d++) {
    247247        if (!pi->devs[d].present) continue;
    248         ntprintf("    Drive %d: atapi=%d, removable=%d\n", d, pi->devs[d].atapi, pi->devs[d].removable);
     248
     249        ntprintf("    Drive %d:");
     250        if (pi->devs[d].atapi) ntprintf(" atapi");
     251        if (pi->devs[d].removable) ntprintf(" removable");
     252        if (pi->devs[d].dev_info.Method != NULL)
     253          ntprintf(" %d cylinders, %d heads, %d sectors per track (%ldMB) (%s)",
     254            pi->devs[d].dev_info.Cylinders, pi->devs[d].dev_info.HeadsPerCylinder, pi->devs[d].dev_info.SectorsPerTrack,
     255            pi->devs[d].dev_info.TotalSectors/2048, pi->devs[d].dev_info.Method);
     256        ntprintf("\n");
    249257      }
    250258    }
Note: See TracChangeset for help on using the changeset viewer.