Ignore:
Timestamp:
Feb 16, 2011, 7:10:13 PM (14 years ago)
Author:
chris
Message:

atapi.c:

  • Extended workaround for incorrect direction bits to "mode sense" commands; now there's no bus lockup and subsequent port reset during boot anymore.

ahci.c:

  • Fixed timeout handling -- we use milliseconds internally while the IORB uses seconds
  • Replaced IORB completion code with a macro to improve IORB debug logging

ctxhook.c:

  • Fixed an issue which would fail to clear a port command bit if the IORB in question was not the one that caused the port engine to stop. As a result, a subsequent sanity check caused an unecessary port reset. The result was that ejecting a CD via WPS' drive object would cause the next command to fail, a reset to occur and the tray to close again right away
  • Replaced IORB completion code with a macro to improve IORB debug logging
  • added spinlocks around aws_free()

os2ahci.c

  • Replaced IORB completion code with a macro to improve IORB debug logging
  • Improved IORB debug logging to make it easier to spot the lifetime of an IORB without having to read between the lines

os2ahci.h

  • Added macro to complete an IORB including the corresponding debug log
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/os2ahci.h

    r71 r75  
    201201                                  (aws)->buf = NULL;                   \
    202202                                }
     203
     204/* complete IORB */
     205#define complete_iorb(iorb)   (iorb)->Status |= IORB_DONE;                    \
     206                              dprintf("IORB %Fp complete "                    \
     207                                      "(status = 0x%04x, error = 0x%04x)\n",  \
     208                                      (iorb), (iorb)->Status,                 \
     209                                      (iorb)->ErrorCode);                     \
     210                              if ((iorb)->RequestControl & IORB_ASYNC_POST) { \
     211                                (iorb)->NotifyAddress(iorb);                  \
     212                              }
     213
    203214
    204215/******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.