Ignore:
Timestamp:
Feb 15, 2011, 1:18:21 PM (14 years ago)
Author:
chris
Message:
  • Added minimum NCQ depth for SATA devices which don't support NCQ at all
  • Removed ATAPI devices from the flush cache queue as they caused timeouts with a DVD drive in an HP test box
  • Various cosmetic changes to debug levels, etc.
File:
1 edited

Legend:

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

    r69 r71  
    7979
    8080/* max/min macros */
    81 #define max(a, b)  a > b ? a : b
    82 #define min(a, b)  a < b ? a : b
     81#define max(a, b)  (a) > (b) ? (a) : (b)
     82#define min(a, b)  (a) < (b) ? (a) : (b)
    8383
    8484/* debug output macros */
Note: See TracChangeset for help on using the changeset viewer.