Ignore:
Timestamp:
Jul 6, 2011, 10:02:47 AM (14 years ago)
Author:
Markus Thielen
Message:
  • removed RAS calls (tracing to OS/2 kernel trace buffer was unreliable)
  • added private trace ring buffer implementation
  • support read from OS2AHCI$ character device
  • contents of trace ring buffer are accesible via OS2AHCI$ character device
  • updated WATCOM makefile; WATCOM build still produces a non-working driver
  • code cleanup (unused variables etc.)
File:
1 edited

Legend:

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

    r111 r112  
    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),
    282          TRACE_MINOR_CMD_HDR, "cmd_hdr:   ");
    283     phex(&ata_cmd, sizeof(ata_cmd), TRACE_MINOR_ATA_CMD, "ata_cmd:   ");
     281    phex(cmd_hdr, offsetof(AHCI_CMD_HDR, reserved), "cmd_hdr:   ");
     282    phex(&ata_cmd, sizeof(ata_cmd), "ata_cmd:   ");
    284283    if (atapi_cmd != NULL) {
    285       phex(atapi_cmd, atapi_cmd_len, TRACE_MINOR_ATAPI_CMD, "atapi_cmd: ");
     284      phex(atapi_cmd, atapi_cmd_len, "atapi_cmd: ");
    286285    }
    287286    if (n > 0) {
    288       phex(cmd_tbl->sg_list, sizeof(*cmd_tbl->sg_list) * n,
    289            TRACE_MINOR_SG_LIST, "sg_list:   ");
     287      phex(cmd_tbl->sg_list, sizeof(*cmd_tbl->sg_list) * n, "sg_list:   ");
    290288    }
    291289  }
Note: See TracChangeset for help on using the changeset viewer.