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


 103         0,              /* devo_refcnt */
 104         NULL,           /* devo_getinfo */
 105         NULL,           /* devo_identify */
 106         nulldev,        /* devo_probe */
 107         oce_attach,     /* devo_attach */
 108         oce_detach,     /* devo_detach */
 109         nodev,          /* devo_reset */
 110         &oce_cb_ops,        /* devo_cb_ops */
 111         NULL,           /* devo_bus_ops */
 112         nodev,          /* devo_power */
 113         oce_quiesce     /* devo_quiesce */
 114 };
 115 
 116 static struct modldrv oce_drv = {
 117         &mod_driverops,     /* Type of module.  This one is a driver */
 118         (char *)oce_ident_string, /* Description string */
 119         &oce_dev_ops,       /* driver ops */
 120 };
 121 
 122 static struct modlinkage oce_mod_linkage = {
 123         MODREV_1, &oce_drv, NULL
 124 };
 125 
 126 #define OCE_M_CB_FLAGS  (MC_IOCTL | MC_GETCAPAB | MC_SETPROP | MC_GETPROP | \
 127     MC_PROPINFO)
 128 static mac_callbacks_t oce_mac_cb = {
 129         OCE_M_CB_FLAGS,         /* mc_callbacks */
 130         oce_m_stat,             /* mc_getstat */
 131         oce_m_start,            /* mc_start */
 132         oce_m_stop,             /* mc_stop */
 133         oce_m_promiscuous,      /* mc_setpromisc */
 134         oce_m_multicast,        /* mc_multicast */
 135         oce_m_unicast,          /* mc_unicast */
 136         oce_m_send,             /* mc_tx */
 137         NULL,                   /* mc_reserve */
 138         oce_m_ioctl,            /* mc_ioctl */
 139         oce_m_getcap,           /* mc_getcapab */
 140         NULL,                   /* open */
 141         NULL,                   /* close */
 142         oce_m_setprop,          /* set properties */
 143         oce_m_getprop,          /* get properties */




 103         0,              /* devo_refcnt */
 104         NULL,           /* devo_getinfo */
 105         NULL,           /* devo_identify */
 106         nulldev,        /* devo_probe */
 107         oce_attach,     /* devo_attach */
 108         oce_detach,     /* devo_detach */
 109         nodev,          /* devo_reset */
 110         &oce_cb_ops,        /* devo_cb_ops */
 111         NULL,           /* devo_bus_ops */
 112         nodev,          /* devo_power */
 113         oce_quiesce     /* devo_quiesce */
 114 };
 115 
 116 static struct modldrv oce_drv = {
 117         &mod_driverops,     /* Type of module.  This one is a driver */
 118         (char *)oce_ident_string, /* Description string */
 119         &oce_dev_ops,       /* driver ops */
 120 };
 121 
 122 static struct modlinkage oce_mod_linkage = {
 123         MODREV_1, { &oce_drv, NULL }
 124 };
 125 
 126 #define OCE_M_CB_FLAGS  (MC_IOCTL | MC_GETCAPAB | MC_SETPROP | MC_GETPROP | \
 127     MC_PROPINFO)
 128 static mac_callbacks_t oce_mac_cb = {
 129         OCE_M_CB_FLAGS,         /* mc_callbacks */
 130         oce_m_stat,             /* mc_getstat */
 131         oce_m_start,            /* mc_start */
 132         oce_m_stop,             /* mc_stop */
 133         oce_m_promiscuous,      /* mc_setpromisc */
 134         oce_m_multicast,        /* mc_multicast */
 135         oce_m_unicast,          /* mc_unicast */
 136         oce_m_send,             /* mc_tx */
 137         NULL,                   /* mc_reserve */
 138         oce_m_ioctl,            /* mc_ioctl */
 139         oce_m_getcap,           /* mc_getcapab */
 140         NULL,                   /* open */
 141         NULL,                   /* close */
 142         oce_m_setprop,          /* set properties */
 143         oce_m_getprop,          /* get properties */