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


 171         0,                      /* devo_refcnt */
 172         NULL,                   /* devo_getinfo */
 173         nulldev,                /* devo_identify */
 174         nulldev,                /* devo_probe */
 175         ixgbe_attach,           /* devo_attach */
 176         ixgbe_detach,           /* devo_detach */
 177         nodev,                  /* devo_reset */
 178         &ixgbe_cb_ops,              /* devo_cb_ops */
 179         NULL,                   /* devo_bus_ops */
 180         ddi_power,              /* devo_power */
 181         ixgbe_quiesce,          /* devo_quiesce */
 182 };
 183 
 184 static struct modldrv ixgbe_modldrv = {
 185         &mod_driverops,             /* Type of module.  This one is a driver */
 186         ixgbe_ident,            /* Discription string */
 187         &ixgbe_dev_ops              /* driver ops */
 188 };
 189 
 190 static struct modlinkage ixgbe_modlinkage = {
 191         MODREV_1, &ixgbe_modldrv, NULL
 192 };
 193 
 194 /*
 195  * Access attributes for register mapping
 196  */
 197 ddi_device_acc_attr_t ixgbe_regs_acc_attr = {
 198         DDI_DEVICE_ATTR_V1,
 199         DDI_STRUCTURE_LE_ACC,
 200         DDI_STRICTORDER_ACC,
 201         DDI_FLAGERR_ACC
 202 };
 203 
 204 /*
 205  * Loopback property
 206  */
 207 static lb_property_t lb_normal = {
 208         normal, "normal", IXGBE_LB_NONE
 209 };
 210 
 211 static lb_property_t lb_mac = {




 171         0,                      /* devo_refcnt */
 172         NULL,                   /* devo_getinfo */
 173         nulldev,                /* devo_identify */
 174         nulldev,                /* devo_probe */
 175         ixgbe_attach,           /* devo_attach */
 176         ixgbe_detach,           /* devo_detach */
 177         nodev,                  /* devo_reset */
 178         &ixgbe_cb_ops,              /* devo_cb_ops */
 179         NULL,                   /* devo_bus_ops */
 180         ddi_power,              /* devo_power */
 181         ixgbe_quiesce,          /* devo_quiesce */
 182 };
 183 
 184 static struct modldrv ixgbe_modldrv = {
 185         &mod_driverops,             /* Type of module.  This one is a driver */
 186         ixgbe_ident,            /* Discription string */
 187         &ixgbe_dev_ops              /* driver ops */
 188 };
 189 
 190 static struct modlinkage ixgbe_modlinkage = {
 191         MODREV_1, { &ixgbe_modldrv, NULL }
 192 };
 193 
 194 /*
 195  * Access attributes for register mapping
 196  */
 197 ddi_device_acc_attr_t ixgbe_regs_acc_attr = {
 198         DDI_DEVICE_ATTR_V1,
 199         DDI_STRUCTURE_LE_ACC,
 200         DDI_STRICTORDER_ACC,
 201         DDI_FLAGERR_ACC
 202 };
 203 
 204 /*
 205  * Loopback property
 206  */
 207 static lb_property_t lb_normal = {
 208         normal, "normal", IXGBE_LB_NONE
 209 };
 210 
 211 static lb_property_t lb_mac = {