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/ahci.c

    r111 r112  
    542542      if (rc == 0) {
    543543        /* we have a valid IDENTIFY or IDENTIFY_PACKET response */
    544         ddphex(id_buf, 512, TRACE_MINOR_ATA_IDENTIFY,
    545                "ATA_IDENTIFY%s results:\n", (is_ata) ? "" : "_PACKET");
     544        ddphex(id_buf, 512, "ATA_IDENTIFY%s results:\n", (is_ata) ? "" : "_PACKET");
    546545        ahci_setup_device(ai, p, 0, id_buf);
    547546      } else {
     
    922921 * Determine whether a port is busy executing commands.
    923922 */
    924 ahci_port_busy(AD_INFO *ai, int p)
     923int ahci_port_busy(AD_INFO *ai, int p)
    925924{
    926925  u8 _far *port_mmio = port_base(ai, p);
     
    12391238                                AP_END));
    12401239  }
     1240  return 0;
    12411241}
    12421242
     
    15511551  dphex(((IORB_ADAPTER_PASSTHRU _far *) iorb)->pControllerCmd,
    15521552        ((IORB_ADAPTER_PASSTHRU _far *) iorb)->ControllerCmdLen,
    1553         TRACE_MINOR_EXEC_CDB, "ahci_execute_cdb(%d.%d.%d): ", a, p, d);
     1553        "ahci_execute_cdb(%d.%d.%d): ", a, p, d);
    15541554
    15551555  if (ad_infos[a].ports[p].devs[d].atapi) {
     
    15731573  dphex(((IORB_ADAPTER_PASSTHRU _far *) iorb)->pControllerCmd,
    15741574        ((IORB_ADAPTER_PASSTHRU _far *) iorb)->ControllerCmdLen,
    1575         TRACE_MINOR_EXEC_ATA, "ahci_execute_ata(%d.%d.%d): ", a, p, d);
     1575        "ahci_execute_ata(%d.%d.%d): ", a, p, d);
    15761576
    15771577  ahci_exec_iorb(iorb, 0, ata_execute_ata);
Note: See TracChangeset for help on using the changeset viewer.