Changeset 155 for trunk/src/os2ahci/ahci.c
- Timestamp:
- Apr 15, 2013, 11:46:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r154 r155 559 559 if (ai->port_map & (1UL << p)) { 560 560 561 d printf("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); 562 562 /* wait until all active commands have completed on this port */ 563 563 while (ahci_port_busy(ai, p)) { … … 720 720 int timeout; 721 721 722 d dprintf("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); 723 723 if (debug > 1) { 724 724 printf(" PORT_CMD = 0x%lx\n", readl(port_mmio + PORT_CMD)); … … 784 784 785 785 /* start port so we can receive the COMRESET FIS */ 786 d dprintf("ahci_reset_port: starting port %d again\n", p);786 dprintf("ahci_reset_port: starting port %d again\n", p); 787 787 ahci_start_port(ai, p, ei); 788 788 … … 1457 1457 u32 done_mask; 1458 1458 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 1463 1459 /* get interrupt status and clear it right away */ 1464 1460 irq_stat = readl(port_mmio + PORT_IRQ_STAT); 1465 1461 writel(port_mmio + PORT_IRQ_STAT, irq_stat); 1466 1462 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)); 1467 1467 1468 1468 if (irq_stat & PORT_IRQ_ERROR) {
Note:
See TracChangeset
for help on using the changeset viewer.