Ignore:
Timestamp:
Apr 15, 2013, 11:46:26 PM (12 years ago)
Author:
David Azarewicz
Message:

debugging updates

File:
1 edited

Legend:

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

    r154 r155  
    559559    if (ai->port_map & (1UL << p)) {
    560560
    561       dprintf("ahci_scan_ports: Wait till not busy on port %d\n", p);
     561      ddprintf("ahci_scan_ports: Wait till not busy on port %d\n", p);
    562562      /* wait until all active commands have completed on this port */
    563563      while (ahci_port_busy(ai, p)) {
     
    720720  int timeout;
    721721
    722   ddprintf("ahci_reset_port: resetting port %d.%d\n", ad_no(ai), p);
     722  dprintf("ahci_reset_port: resetting port %d.%d\n", ad_no(ai), p);
    723723  if (debug > 1) {
    724724    printf(" PORT_CMD       = 0x%lx\n", readl(port_mmio + PORT_CMD));
     
    784784
    785785  /* start port so we can receive the COMRESET FIS */
    786   ddprintf("ahci_reset_port: starting port %d again\n", p);
     786  dprintf("ahci_reset_port: starting port %d again\n", p);
    787787  ahci_start_port(ai, p, ei);
    788788
     
    14571457  u32 done_mask;
    14581458
    1459   ddprintf("port interrupt for adapter #%d, port #%d, stack frame %Fp\n", ad_no(ai),
    1460            p, (void _far *) &done_queue);
    1461   memset(&done_queue, 0x00, sizeof(done_queue));
    1462 
    14631459  /* get interrupt status and clear it right away */
    14641460  irq_stat = readl(port_mmio + PORT_IRQ_STAT);
    14651461  writel(port_mmio + PORT_IRQ_STAT, irq_stat);
    14661462  readl(port_mmio + PORT_IRQ_STAT); /* flush */
     1463
     1464  ddprintf("port interrupt for adapter %d port %d stat %lx stack frame %Fp\n",
     1465        ad_no(ai), p, irq_stat, (void _far *)&done_queue);
     1466  memset(&done_queue, 0x00, sizeof(done_queue));
    14671467
    14681468  if (irq_stat & PORT_IRQ_ERROR) {
Note: See TracChangeset for help on using the changeset viewer.