Ignore:
Timestamp:
Jul 6, 2011, 10:02:47 AM (14 years ago)
Author:
Markus Thielen
Message:
  • removed RAS calls (tracing to OS/2 kernel trace buffer was unreliable)
  • added private trace ring buffer implementation
  • support read from OS2AHCI$ character device
  • contents of trace ring buffer are accesible via OS2AHCI$ character device
  • updated WATCOM makefile; WATCOM build still produces a non-working driver
  • code cleanup (unused variables etc.)
File:
1 edited

Legend:

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

    r110 r112  
    3333 * macros to fill in ATAPI CDB values
    3434 */
    35 #define SET_CDB_16(_t, _v)  (_t)[0] = (u8) ((_v) >> 8);       \
     35#define SET_CDB_16(_t, _v)  (_t)[0] = (u8) ((_v) >> 8); \
    3636                            (_t)[1] = (u8)  (_v)
    37 #define SET_CDB_24(_t, _v)  (_t)[0] = (u8) ((_v) >> 16);      \
    38                             (_t)[1] = (u8) ((_v) >> 8);       \
     37#define SET_CDB_24(_t, _v)  (_t)[0] = (u8) ((_v) >> 16) \
     38                            (_t)[1] = (u8) ((_v) >> 8); \
    3939                            (_t)[2] = (u8)  (_v)
    40 #define SET_CDB_32(_t, _v)  (_t)[0] = (u8) ((_v) >> 24);      \
    41                             (_t)[1] = (u8) ((_v) >> 16);      \
    42                             (_t)[2] = (u8) ((_v) >> 8);       \
     40#define SET_CDB_32(_t, _v)  (_t)[0] = (u8) ((_v) >> 24);\
     41                            (_t)[1] = (u8) ((_v) >> 16);\
     42                            (_t)[2] = (u8) ((_v) >> 8); \
    4343                            (_t)[3] = (u8)  (_v)
    4444
Note: See TracChangeset for help on using the changeset viewer.