Changeset 123 for trunk


Ignore:
Timestamp:
Sep 1, 2011, 3:34:05 PM (14 years ago)
Author:
Markus Thielen
Message:

renamed 'cvprintf' to 'ciprintf' to avoid confusion with vprintf-like funcs

Location:
trunk/src/os2ahci
Files:
3 edited

Legend:

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

    r122 r123  
    317317
    318318  /* print initialization message */
    319   cvprintf(init_msg, drv_name, VERSION / 100, VERSION % 100);
     319  ciprintf(init_msg, drv_name, VERSION / 100, VERSION % 100);
    320320
    321321#ifdef ECS_BUILD
    322   cvprintf("This driver is licensed for use only in conjunction with eComStation.");
     322  ciprintf("This driver is licensed for use only in conjunction with eComStation.");
    323323#endif
    324324
     
    362362  } else {
    363363    /* no adapters found */
    364     cvprintf(" No adapters found.\n");
     364    ciprintf(" No adapters found.\n");
    365365  }
    366366
     
    380380  }
    381381
    382   cvprintf(exit_msg, drv_name);
     382  ciprintf(exit_msg, drv_name);
    383383  return(STDON | ERROR_I24_QUIET_INIT_FAIL);
    384384}
  • trunk/src/os2ahci/os2ahci.h

    r122 r123  
    105105#define dddphex   if (debug > 2) phex
    106106
    107 /* verbosity console print macros */
    108 #define cvprintf  if (verbosity > 0) cprintf
    109 #define cvvprintf if (verbosity > 1) cprintf
     107/* verbosity console print macros
     108 * (we use 'i' in ciprintf here to avoid name clash
     109 * with vprintf-like funcs)
     110 */
     111#define ciprintf  if (verbosity > 0) cprintf
     112#define ciiprintf if (verbosity > 1) cprintf
    110113
    111114/* TRACE macros (for our internal ring buffer trace) */
  • trunk/src/os2ahci/pci.c

    r122 r123  
    614614
    615615  /* found a supported AHCI device */
    616   cvvprintf("found AHCI device: %s %s (%04x:%04x)\n"
     616  ciiprintf("found AHCI device: %s %s (%04x:%04x)\n"
    617617            " class:0x%06lx bus:%d devfunc:0x%02x\n",
    618618            vendor_from_id(vendor), device_from_id(device),
Note: See TracChangeset for help on using the changeset viewer.