Ignore:
Timestamp:
Apr 28, 2011, 7:41:44 PM (14 years ago)
Author:
chris
Message:
  • Cosmetic changes to comments
  • Fix number to string conversion for negative [decimal] numbers (the minus sign was at the wrong location and the two's complement was not respected). This functionality was unused so far but popped up during a code review.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ahci.c

    r82 r86  
    12361236
    12371237/******************************************************************************
    1238  * set device into IDLE mode (spin down); this was used during
    1239  * debugging/testing and is still there since it does not hurt...
     1238 * Set device into IDLE mode (spin down); this was used during
     1239 * debugging/testing and is now unused; it's still there in case we need it
     1240 * again...
     1241 *
    12401242 * If 'idle' is != 0, the idle timeout is set to 5 seconds, otherwise it
    12411243 * is turned off.
     
    12581260 * the driver-level spinlock when actually changing the driver state (IORB
    12591261 * queues, ...)
     1262 *
     1263 * NOTE: OS/2 expects the carry flag set upon return from an interrupt
     1264 *       handler if the interrupt has not been handled. We do this by
     1265 *       shifting the return code from this function one bit to the right,
     1266 *       thus the return code must set bit 0 in this case.
    12601267 */
    12611268int ahci_intr(u16 irq)
Note: See TracChangeset for help on using the changeset viewer.