Ignore:
Timestamp:
Jun 27, 2011, 6:40:13 PM (14 years ago)
Author:
Markus Thielen
Message:

added support for os2trace (buggy; messages get swallowed); reverted last change that ignored unknown command line arguments

File:
1 edited

Legend:

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

    r110 r111  
    279279  if (debug >= 2) {
    280280    printf("ATA command for %d.%d.%d:\n", ad_no(ai), p, d);
    281     phex(cmd_hdr, offsetof(AHCI_CMD_HDR, reserved), "cmd_hdr:   ");
    282     phex(&ata_cmd, sizeof(ata_cmd), "ata_cmd:   ");
     281    phex(cmd_hdr, offsetof(AHCI_CMD_HDR, reserved),
     282         TRACE_MINOR_CMD_HDR, "cmd_hdr:   ");
     283    phex(&ata_cmd, sizeof(ata_cmd), TRACE_MINOR_ATA_CMD, "ata_cmd:   ");
    283284    if (atapi_cmd != NULL) {
    284       phex(atapi_cmd, atapi_cmd_len, "atapi_cmd: ");
     285      phex(atapi_cmd, atapi_cmd_len, TRACE_MINOR_ATAPI_CMD, "atapi_cmd: ");
    285286    }
    286287    if (n > 0) {
    287       phex(cmd_tbl->sg_list, sizeof(*cmd_tbl->sg_list) * n, "sg_list:   ");
     288      phex(cmd_tbl->sg_list, sizeof(*cmd_tbl->sg_list) * n,
     289           TRACE_MINOR_SG_LIST, "sg_list:   ");
    288290    }
    289291  }
Note: See TracChangeset for help on using the changeset viewer.