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


 174         0,                      /* refcnt  */
 175         ddi_no_info,            /* info */
 176         nulldev,                /* identify */
 177         nulldev,                /* probe */
 178         scsa1394_attach,        /* attach */
 179         scsa1394_detach,        /* detach */
 180         nodev,                  /* reset */
 181         &scsa1394_cb_ops,   /* driver operations */
 182         NULL,                   /* bus operations */
 183         scsa1394_power,         /* power */
 184         ddi_quiesce_not_supported,      /* devo_quiesce */
 185 };
 186 
 187 static struct modldrv scsa1394_modldrv = {
 188         &mod_driverops,                     /* module type */
 189         "1394 Mass Storage HBA Driver", /* name of the module */
 190         &scsa1394_ops,                      /* driver ops */
 191 };
 192 
 193 static struct modlinkage scsa1394_modlinkage = {
 194         MODREV_1, (void *)&scsa1394_modldrv, NULL
 195 };
 196 
 197 /* tunables */
 198 int scsa1394_bus_config_debug = 0;
 199 int scsa1394_start_stop_fail_max = SCSA1394_START_STOP_FAIL_MAX;
 200 int scsa1394_mode_sense_fail_max = SCSA1394_MODE_SENSE_FAIL_MAX;
 201 int scsa1394_start_stop_timeout_max = SCSA1394_START_STOP_TIMEOUT_MAX;
 202 
 203 /* workarounds */
 204 int scsa1394_wrka_rbc2direct = 1;
 205 int scsa1394_wrka_fake_rmb = 0;
 206 int scsa1394_wrka_fake_prin = 1;
 207 
 208 int scsa1394_wrka_symbios = 1;
 209 int scsa1394_symbios_page_size = 4 * 1024;      /* must be <= _pagesize */
 210 int scsa1394_symbios_size_max = 512 * 248;      /* multiple of page size */
 211 
 212 /*
 213  *
 214  * --- DDI/DKI entry points




 174         0,                      /* refcnt  */
 175         ddi_no_info,            /* info */
 176         nulldev,                /* identify */
 177         nulldev,                /* probe */
 178         scsa1394_attach,        /* attach */
 179         scsa1394_detach,        /* detach */
 180         nodev,                  /* reset */
 181         &scsa1394_cb_ops,   /* driver operations */
 182         NULL,                   /* bus operations */
 183         scsa1394_power,         /* power */
 184         ddi_quiesce_not_supported,      /* devo_quiesce */
 185 };
 186 
 187 static struct modldrv scsa1394_modldrv = {
 188         &mod_driverops,                     /* module type */
 189         "1394 Mass Storage HBA Driver", /* name of the module */
 190         &scsa1394_ops,                      /* driver ops */
 191 };
 192 
 193 static struct modlinkage scsa1394_modlinkage = {
 194         MODREV_1, { (void *)&scsa1394_modldrv, NULL }
 195 };
 196 
 197 /* tunables */
 198 int scsa1394_bus_config_debug = 0;
 199 int scsa1394_start_stop_fail_max = SCSA1394_START_STOP_FAIL_MAX;
 200 int scsa1394_mode_sense_fail_max = SCSA1394_MODE_SENSE_FAIL_MAX;
 201 int scsa1394_start_stop_timeout_max = SCSA1394_START_STOP_TIMEOUT_MAX;
 202 
 203 /* workarounds */
 204 int scsa1394_wrka_rbc2direct = 1;
 205 int scsa1394_wrka_fake_rmb = 0;
 206 int scsa1394_wrka_fake_prin = 1;
 207 
 208 int scsa1394_wrka_symbios = 1;
 209 int scsa1394_symbios_page_size = 4 * 1024;      /* must be <= _pagesize */
 210 int scsa1394_symbios_size_max = 512 * 248;      /* multiple of page size */
 211 
 212 /*
 213  *
 214  * --- DDI/DKI entry points