Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/pciex/pcieb.h
          +++ new/usr/src/uts/common/io/pciex/pcieb.h
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  #define _SYS_PCIEB_H
  31   31  
  32   32  #ifdef  __cplusplus
  33   33  extern "C" {
  34   34  #endif
  35   35  
  36   36  #if defined(DEBUG)
  37   37  #define PCIEB_DEBUG pcieb_dbg
  38   38  extern void pcieb_dbg(uint_t bit, dev_info_t *dip, char *fmt, ...);
  39   39  #else /* DEBUG */
  40      -#define PCIEB_DEBUG(...)
       40 +#define PCIEB_DEBUG(...) (void)(0)
  41   41  #endif /* DEBUG */
  42   42  
  43   43  typedef enum {  /* same sequence as pcieb_debug_sym[] */
  44   44          /*  0 */ DBG_ATTACH,
  45   45          /*  1 */ DBG_PWR,
  46   46          /*  2 */ DBG_INTR
  47   47  } pcieb_debug_bit_t;
  48   48  
  49   49  /*
  50   50   * Intel specific register offsets with bit definitions.
↓ open down ↓ 155 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX