Ignore:
Timestamp:
Sep 1, 2011, 1:32:43 PM (14 years ago)
Author:
Markus Thielen
Message:
  • added support for /q switch (#7)
  • added cv#printf macros to support verbosity setting from command line
File:
1 edited

Legend:

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

    r121 r122  
    104104#define dddprintf if (debug > 2) printf
    105105#define dddphex   if (debug > 2) phex
     106
     107/* verbosity console print macros */
     108#define cvprintf  if (verbosity > 0) cprintf
     109#define cvvprintf if (verbosity > 1) cprintf
    106110
    107111/* TRACE macros (for our internal ring buffer trace) */
     
    525529extern USHORT        add_handle;    /* adapter device driver handle */
    526530extern UCHAR         timer_pool[];  /* timer pool */
     531extern char          drv_name[];    /* driver name as string ("OS2AHCI") */
    527532
    528533extern PCI_ID        pci_ids[];     /* SATA adapter PCI IDs */
Note: See TracChangeset for help on using the changeset viewer.