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


 131         srpt_drv_getinfo,       /* devo_getinfo */
 132         nulldev,                /* devo_identify */
 133         nulldev,                /* devo_probe */
 134         srpt_drv_attach,        /* devo_attach */
 135         srpt_drv_detach,        /* devo_detach */
 136         nodev,                  /* devo_reset */
 137         &srpt_cb_ops,               /* devo_cb_ops */
 138         NULL,                   /* devo_bus_ops */
 139         NULL,                   /* devo_power */
 140         ddi_quiesce_not_needed, /* quiesce */
 141 };
 142 
 143 static struct modldrv modldrv = {
 144         &mod_driverops,
 145         SRPT_NAME_VERSION,
 146         &srpt_dev_ops,
 147 };
 148 
 149 static struct modlinkage srpt_modlinkage = {
 150         MODREV_1,
 151         &modldrv,
 152         NULL,
 153 };
 154 
 155 static char srpt_pp_name[] = "srpt";
 156 
 157 /*
 158  * Prototypes
 159  */
 160 static void srpt_pp_cb(stmf_port_provider_t *, int, void *, uint32_t);
 161 
 162 /*
 163  * _init()
 164  */
 165 int
 166 _init(void)
 167 {
 168         int status;
 169 
 170         /*
 171          * Global one time initialization.
 172          */




 131         srpt_drv_getinfo,       /* devo_getinfo */
 132         nulldev,                /* devo_identify */
 133         nulldev,                /* devo_probe */
 134         srpt_drv_attach,        /* devo_attach */
 135         srpt_drv_detach,        /* devo_detach */
 136         nodev,                  /* devo_reset */
 137         &srpt_cb_ops,               /* devo_cb_ops */
 138         NULL,                   /* devo_bus_ops */
 139         NULL,                   /* devo_power */
 140         ddi_quiesce_not_needed, /* quiesce */
 141 };
 142 
 143 static struct modldrv modldrv = {
 144         &mod_driverops,
 145         SRPT_NAME_VERSION,
 146         &srpt_dev_ops,
 147 };
 148 
 149 static struct modlinkage srpt_modlinkage = {
 150         MODREV_1,
 151         { &modldrv, NULL }

 152 };
 153 
 154 static char srpt_pp_name[] = "srpt";
 155 
 156 /*
 157  * Prototypes
 158  */
 159 static void srpt_pp_cb(stmf_port_provider_t *, int, void *, uint32_t);
 160 
 161 /*
 162  * _init()
 163  */
 164 int
 165 _init(void)
 166 {
 167         int status;
 168 
 169         /*
 170          * Global one time initialization.
 171          */