Changeset 209 for trunk/src/os2ahci/trace.c
- Timestamp:
- Mar 6, 2021, 7:44:15 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/trace.c
r207 r209 42 42 if (pi->devs[d].atapi) dprintf(0," atapi"); 43 43 if (pi->devs[d].removable) dprintf(0," removable"); 44 if (pi->devs[d].dev_info. Method != NULL)44 if (pi->devs[d].dev_info.pMethod != NULL) 45 45 { 46 46 dprintf(0," %d cylinders, %d heads, %d sectors per track (%dMB) (%s)", 47 pi->devs[d].dev_info.Cylinders, pi->devs[d].dev_info.HeadsPerCylinder, pi->devs[d].dev_info.SectorsPerTrack, 48 (ULONG)(pi->devs[d].dev_info.TotalSectors/2048), pi->devs[d].dev_info.Method); 47 pi->devs[d].dev_info.ulCylinders, pi->devs[d].dev_info.usHeadsPerCylinder, 48 pi->devs[d].dev_info.usSectorsPerTrack, 49 (ULONG)(pi->devs[d].dev_info.ullTotalSectors/2048), pi->devs[d].dev_info.pMethod); 49 50 } 50 51 if (pi->devs[d].ignored) dprintf(0," Unusable"); … … 52 53 dprintf(0," Model: %s\n", pi->devs[d].dev_name); 53 54 } 54 else if ( verbosity> 0)55 else if (iVerbose > 0) 55 56 { 56 57 if (iFlag) dprintf(0," Port %d: No drive present\n", p); … … 64 65 void DumpIorb(IORBH *pIorb) 65 66 { 66 if ( D32g_DbgLevel < 2) return;67 if (!(D32g_DbgLevel & DBG_DETAILED)) return; 67 68 if (!ad_infos[iorb_unit_adapter(pIorb)].ports[iorb_unit_port(pIorb)].devs[iorb_unit_device(pIorb)].atapi) return; 68 69
Note:
See TracChangeset
for help on using the changeset viewer.