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


  90         pppt_drv_getinfo,       /* devo_getinfo */
  91         nulldev,                /* devo_identify */
  92         nulldev,                /* devo_probe */
  93         pppt_drv_attach,        /* devo_attach */
  94         pppt_drv_detach,        /* devo_detach */
  95         nodev,                  /* devo_reset */
  96         &pppt_cb_ops,               /* devo_cb_ops */
  97         NULL,                   /* devo_bus_ops */
  98         NULL,                   /* devo_power */
  99         ddi_quiesce_not_needed, /* quiesce */
 100 };
 101 
 102 static struct modldrv modldrv = {
 103         &mod_driverops,
 104         "Proxy Port Provider",
 105         &pppt_dev_ops,
 106 };
 107 
 108 static struct modlinkage modlinkage = {
 109         MODREV_1,
 110         &modldrv,
 111         NULL,
 112 };
 113 
 114 pppt_global_t pppt_global;
 115 
 116 int pppt_logging = 0;
 117 
 118 static int pppt_enable_svc(void);
 119 
 120 static void pppt_disable_svc(void);
 121 
 122 static int pppt_task_avl_compare(const void *tgt1, const void *tgt2);
 123 
 124 static stmf_data_buf_t *pppt_dbuf_alloc(scsi_task_t *task,
 125     uint32_t size, uint32_t *pminsize, uint32_t flags);
 126 
 127 static void pppt_dbuf_free(stmf_dbuf_store_t *ds, stmf_data_buf_t *dbuf);
 128 
 129 static void pppt_sess_destroy_task(void *ps_void);
 130 
 131 static void pppt_task_sent_status(pppt_task_t *ptask);




  90         pppt_drv_getinfo,       /* devo_getinfo */
  91         nulldev,                /* devo_identify */
  92         nulldev,                /* devo_probe */
  93         pppt_drv_attach,        /* devo_attach */
  94         pppt_drv_detach,        /* devo_detach */
  95         nodev,                  /* devo_reset */
  96         &pppt_cb_ops,               /* devo_cb_ops */
  97         NULL,                   /* devo_bus_ops */
  98         NULL,                   /* devo_power */
  99         ddi_quiesce_not_needed, /* quiesce */
 100 };
 101 
 102 static struct modldrv modldrv = {
 103         &mod_driverops,
 104         "Proxy Port Provider",
 105         &pppt_dev_ops,
 106 };
 107 
 108 static struct modlinkage modlinkage = {
 109         MODREV_1,
 110         { &modldrv, NULL }

 111 };
 112 
 113 pppt_global_t pppt_global;
 114 
 115 int pppt_logging = 0;
 116 
 117 static int pppt_enable_svc(void);
 118 
 119 static void pppt_disable_svc(void);
 120 
 121 static int pppt_task_avl_compare(const void *tgt1, const void *tgt2);
 122 
 123 static stmf_data_buf_t *pppt_dbuf_alloc(scsi_task_t *task,
 124     uint32_t size, uint32_t *pminsize, uint32_t flags);
 125 
 126 static void pppt_dbuf_free(stmf_dbuf_store_t *ds, stmf_data_buf_t *dbuf);
 127 
 128 static void pppt_sess_destroy_task(void *ps_void);
 129 
 130 static void pppt_task_sent_status(pppt_task_t *ptask);