Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  67 
  68 /*
  69  * Devops definition
  70  */
  71 DDI_DEFINE_STREAM_OPS(eib_ops, nulldev, nulldev, eib_attach, eib_detach,
  72     nodev, NULL, D_MP, NULL, ddi_quiesce_not_needed);
  73 
  74 /*
  75  * Module Driver Info
  76  */
  77 static struct modldrv eib_modldrv = {
  78         &mod_driverops,             /* Driver module */
  79         "EoIB Driver",          /* Driver name and version */
  80         &eib_ops,           /* Driver ops */
  81 };
  82 
  83 /*
  84  * Module Linkage
  85  */
  86 static struct modlinkage eib_modlinkage = {
  87         MODREV_1, (void *)&eib_modldrv, NULL
  88 };
  89 
  90 /*
  91  * GLDv3 entry points
  92  */
  93 #define EIB_M_CALLBACK_FLAGS    \
  94         (MC_GETCAPAB | MC_SETPROP | MC_GETPROP | MC_PROPINFO)
  95 static mac_callbacks_t eib_m_callbacks = {
  96         EIB_M_CALLBACK_FLAGS,
  97         eib_m_stat,
  98         eib_m_start,
  99         eib_m_stop,
 100         eib_m_promisc,
 101         eib_m_multicast,
 102         eib_m_unicast,
 103         eib_m_tx,
 104         NULL,
 105         NULL,
 106         eib_m_getcapab,
 107         NULL,




  67 
  68 /*
  69  * Devops definition
  70  */
  71 DDI_DEFINE_STREAM_OPS(eib_ops, nulldev, nulldev, eib_attach, eib_detach,
  72     nodev, NULL, D_MP, NULL, ddi_quiesce_not_needed);
  73 
  74 /*
  75  * Module Driver Info
  76  */
  77 static struct modldrv eib_modldrv = {
  78         &mod_driverops,             /* Driver module */
  79         "EoIB Driver",          /* Driver name and version */
  80         &eib_ops,           /* Driver ops */
  81 };
  82 
  83 /*
  84  * Module Linkage
  85  */
  86 static struct modlinkage eib_modlinkage = {
  87         MODREV_1, { (void *)&eib_modldrv, NULL }
  88 };
  89 
  90 /*
  91  * GLDv3 entry points
  92  */
  93 #define EIB_M_CALLBACK_FLAGS    \
  94         (MC_GETCAPAB | MC_SETPROP | MC_GETPROP | MC_PROPINFO)
  95 static mac_callbacks_t eib_m_callbacks = {
  96         EIB_M_CALLBACK_FLAGS,
  97         eib_m_stat,
  98         eib_m_start,
  99         eib_m_stop,
 100         eib_m_promisc,
 101         eib_m_multicast,
 102         eib_m_unicast,
 103         eib_m_tx,
 104         NULL,
 105         NULL,
 106         eib_m_getcapab,
 107         NULL,