Changeset 196 for trunk


Ignore:
Timestamp:
May 19, 2018, 5:28:16 PM (7 years ago)
Author:
David Azarewicz
Message:

Changes to debug output for debug versions.
Removed interrupt requirement on init.

Location:
trunk/src/os2ahci
Files:
1 deleted
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/Makefile

    r193 r196  
    1212# Define default build version if not specified in environment
    1313BLD_MAJOR=2
    14 BLD_MINOR=04 # must be 2 digits
     14BLD_MINOR=05 # must be 2 digits
    1515BLD_REV=0 # not used at this time
    1616
  • trunk/src/os2ahci/ReadMe.txt

    r193 r196  
    1 AHCI Driver for OS/2 v2.04
     1AHCI Driver for OS/2 v2.05
    22
    33Introduction
     
    1616Copyright (c) 2011 thi.guten Software Development
    1717Copyright (c) 2011 Mensys B.V.
    18 Copyright (c) 2013-2017 David Azarewicz
     18Copyright (c) 2013-2018 David Azarewicz
    1919
    2020Authors: Christian Mueller, Markus Thielen
     
    379379==========
    380380
     381v.2.05 05-Apr-2018 - David Azarewicz
     382  Changes to debug output for debug versions.
     383  Removed interrupt reqirement on init.
     384
    381385v.2.04 06-Dec-2017 - David Azarewicz
    382386  Cosmetic changes to user display.
  • trunk/src/os2ahci/ahci.c

    r193 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
     
    631631    {
    632632      /* we have a valid IDENTIFY or IDENTIFY_PACKET response */
    633       DHEXDUMP(2,id_buf, ATA_ID_WORDS * sizeof(u16), "ATA_IDENTIFY%s results:\n", (is_ata) ? "" : "_PACKET");
     633      DHEXDUMP(5,id_buf, ATA_ID_WORDS * sizeof(u16), "ATA_IDENTIFY%s results:\n", (is_ata) ? "" : "_PACKET");
    634634      ahci_setup_device(ai, p, 0, id_buf);
    635635    }
     
    17341734  int d = iorb_unit_device(pIorb);
    17351735
    1736   DHEXDUMP(0,Far16ToFlat(((IORB_ADAPTER_PASSTHRU *)pIorb)->pControllerCmd),
     1736  DHEXDUMP(5,Far16ToFlat(((IORB_ADAPTER_PASSTHRU *)pIorb)->pControllerCmd),
    17371737        ((IORB_ADAPTER_PASSTHRU *)pIorb)->ControllerCmdLen,
    17381738        "ahci_execute_cdb(%d.%d.%d): ", a, p, d);
     
    17601760  int d = iorb_unit_device(pIorb);
    17611761
    1762   DHEXDUMP(0,Far16ToFlat(((IORB_ADAPTER_PASSTHRU *)pIorb)->pControllerCmd),
     1762  DHEXDUMP(5,Far16ToFlat(((IORB_ADAPTER_PASSTHRU *)pIorb)->pControllerCmd),
    17631763        ((IORB_ADAPTER_PASSTHRU *)pIorb)->ControllerCmdLen,
    17641764        "ahci_execute_ata(%d.%d.%d): ", a, p, d);
  • trunk/src/os2ahci/ahci.h

    r185 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/apm.c

    r178 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Portions copyright (c) 2013-2016 David Azarewicz
     6 * Portions copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/ata.c

    r190 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
     
    287287
    288288  #ifdef DEBUG
    289   if ((D32g_DbgLevel >= 7) || (atapi_cmd != NULL))
     289  if ((D32g_DbgLevel >= 5) /*|| (atapi_cmd != NULL)*/)
    290290  {
    291291    DPRINTF(0,"ATA command for %d.%d.%d, slot %d:\n", ad_no(ai), p, d, slot);
     
    544544  if (rc) return 0;
    545545
    546   DHEXDUMP(3,pDLA, sizeof(DLA_Table_Sector), "DLA sector %d:\n", sector-1);
     546  DHEXDUMP(5,pDLA, sizeof(DLA_Table_Sector), "DLA sector %d:\n", sector-1);
    547547
    548548  if ((pDLA->DLA_Signature1 == DLA_TABLE_SIGNATURE1) && (pDLA->DLA_Signature2 == DLA_TABLE_SIGNATURE2)) {
     
    11611161                | ((u16) fis[13] << 8);
    11621162
    1163   DHEXDUMP(0,cmd, sizeof(*cmd), "ahci_execute_ata_pp(): cmd after completion:\n");
     1163  DHEXDUMP(5,cmd, sizeof(*cmd), "ahci_execute_ata_pp(): cmd after completion:\n");
    11641164
    11651165  /* signal completion to interrupt handler */
  • trunk/src/os2ahci/ata.h

    r185 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/atapi.c

    r184 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
     
    373373  ATAPI_SENSE_DATA *psd = (ATAPI_SENSE_DATA *) aws->buf;
    374374
    375   DHEXDUMP(0,psd, sizeof(*psd), "sense buffer:\n");
     375  DHEXDUMP(5,psd, sizeof(*psd), "sense buffer:\n");
    376376
    377377  if ((pIorb->RequestControl & IORB_REQ_STATUSBLOCK) &&
  • trunk/src/os2ahci/atapi.h

    r178 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/ctxhook.c

    r191 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/ioctl.c

    r193 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/ioctl.h

    r178 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/os2ahci.c

    r191 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/os2ahci.h

    r190 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
  • trunk/src/os2ahci/pci.c

    r190 r196  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
    6  * Copyright (c) 2013-2016 David Azarewicz
     6 * Copyright (c) 2013-2018 David Azarewicz
    77 *
    88 * Authors: Christian Mueller, Markus Thielen
     
    477477  pin = (int) ((val >> 8) & 0xff);
    478478
     479  #if 0
    479480  i = 1;
    480481  if (irq==0 || irq==255) i = 0;
     
    489490  }
    490491  if (i==0) return;
     492  #endif
    491493
    492494  /* make sure we got room in the adapter information array */
  • trunk/src/os2ahci/thunk.asm

    r191 r196  
    11; Thunking for ahci32 driver
    2 ; Copyright (c) 2016 David Azarewicz
     2; Copyright (c) 2018 David Azarewicz
    33; Author: David Azarewicz <david@88watts.net>
    44
  • trunk/src/os2ahci/trace.c

    r193 r196  
    11/******************************************************************************
    22 *
    3  * Copyright (c) 2013-2016 David Azarewicz
     3 * Copyright (c) 2013-2018 David Azarewicz
    44 *
    55 */
Note: See TracChangeset for help on using the changeset viewer.