Changeset 200


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

Minor changes to debug output.

Location:
trunk
Files:
5 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];
  • trunk/tools/AddToFile.cmd

    r190 r200  
    11/** AddToFile.cmd
    22 * Adds the specified line to the end of the specified file.
    3  * Written by and Copyright (c) 2010-2016 David Azarewicz http://88watts.net
     3 * Written by and Copyright (c) 2010-2018 David Azarewicz http://88watts.net
    44 *
    5  * @#D Azarewicz:1.01#@##1## 16 Sep 2016              DAZAR1    ::::::@@AddToFile.cmd (c) David Azarewicz 2016
     5 * @#D Azarewicz:1.02#@##1## 15 Nov 2018              DAZAR1    ::::::@@AddToFile.cmd (c) David Azarewicz 2018
    66 * V1.01 16-Sep-2016 First official release
     7 * V1.02 02-Jun-2017 Added Asd to bldlevel, added DATE1
    78 *
    89 * The following line is for the help sample code for the VAR function:
     
    1819  Say 'Functions:';
    1920  Say '  DATEL - Adds the date as a long number.';
    20   Say '  BLDLEVEL - Adds a formatted BLDLEVEL string.';
     21  Say '  DATE1 - Adds the date in 2017-Jul-01 format.';
     22  Say '  BLDLEVEL - Adds a standardized formatted BLDLEVEL string.';
    2123  Say '  DATEYEAR - Adds the current year.';
    2224  Say '  DATEMONTH - Adds the current month.';
     
    3335  rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd);
    3436  call 'AddToFile.cmd' MyCmd;
     37  MyCmd=MyFile||',#define DDATE,DATE1';
     38  rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd);
     39  call 'AddToFile.cmd' MyCmd;
    3540  MyCmd=MyFile||',option description,BLDLEVEL,Vendor,1.2.3,Description,Fixpack,Asd';
    3641  rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd);
     
    223228  do while (QUEUED() > 0)
    224229    PARSE PULL Line1':'Line2
     230    if (Line1 = "Revision") then leave;
    225231    if (Line1 = "Last Changed Rev") then leave;
    226232    Line2 = "";
Note: See TracChangeset for help on using the changeset viewer.