Changeset 200 for trunk/src


Ignore:
Timestamp:
Mar 27, 2019, 3:12:47 AM (6 years ago)
Author:
David Azarewicz
Message:

Minor changes to debug output.

Location:
trunk/src/os2ahci
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/Makefile

    r198 r200  
    1212# Define default build version if not specified in environment
    1313BLD_MAJOR=2
    14 BLD_MINOR=06 # must be 2 digits
     14BLD_MINOR=07 # must be 2 digits
    1515BLD_REV=0 # not used at this time
    1616
  • trunk/src/os2ahci/ahci.c

    r198 r200  
    249249    /* more ports in port_map than in HOST_CAP & 0x1f */
    250250    ports = ai->hw_ports;
    251     DPRINTF(1,"implemented port map (0x%x) contains more ports than hw_ports (%d), using hw_ports\n", ai->port_map, ports);
     251    DPRINTF(0,"implemented port map (0x%x) contains more ports than hw_ports (%d), using hw_ports\n", ai->port_map, ports);
    252252    ai->port_map = (1UL << ports) - 1UL;
    253253  }
     
    558558    {
    559559      if (i >= MAX_IRQ_HANDLERS) return -1; /* no more handlers available */
    560       DPRINTF(2,"registering interrupt #%d\n", ai->irq);
     560
     561      DPRINTF(2,"registering interrupt %d pin=%d\n", ai->irq, ai->irq_pin);
    561562
    562563      rc = Dev32Help_SetIRQ(ahci_intr, ai->irq, p, ai->irq);
  • trunk/src/os2ahci/ata.c

    r198 r200  
    272272      if ((sg_addr & 1) || (chunk & 1))
    273273      {
    274         dprintf(1,"error: ata_cmd() called with unaligned S/G element(s)\n");
     274        DPRINTF(0,"warning: ata_cmd() called with unaligned S/G element(s)\n");
    275275        return(ATA_CMD_UNALIGNED_ADDR);
    276276      }
  • trunk/src/os2ahci/trace.c

    r198 r200  
    3838      ai->bios_config[HOST_VERSION / sizeof(u32)]);
    3939
    40     for (p = 0; p < ai->hw_ports; p++)
     40    for (p = 0; p <= ai->port_max; p++)
    4141    {
    4242      P_INFO *pi = &ai->ports[p];
Note: See TracChangeset for help on using the changeset viewer.