Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts


  74         nulldev,                /* probe */
  75         hci1394_attach,         /* attach */
  76         hci1394_detach,         /* detach */
  77         nodev,                  /* reset */
  78         &hci1394_cb_ops,    /* cb_ops */
  79         NULL,                   /* bus_ops */
  80         NULL,                   /* power */
  81         hci1394_quiesce,        /* devo_quiesce */
  82 };
  83 
  84 /* Module Driver Info */
  85 static struct modldrv hci1394_modldrv = {
  86         &mod_driverops,
  87         "1394 OpenHCI HBA driver",
  88         &hci1394_ops
  89 };
  90 
  91 /* Module Linkage */
  92 static struct modlinkage hci1394_modlinkage = {
  93         MODREV_1,
  94         &hci1394_modldrv,
  95         NULL
  96 };
  97 
  98 #ifndef NPROBE
  99 extern int tnf_mod_load(void);
 100 extern int tnf_mod_unload(struct modlinkage *mlp);
 101 #endif
 102 
 103 int
 104 _init()
 105 {
 106         int status;
 107 
 108 
 109 #ifndef NPROBE
 110         (void) tnf_mod_load();
 111 #endif
 112         TNF_PROBE_0_DEBUG(hci1394_init_enter, HCI1394_TNF_HAL_STACK, "");
 113 
 114         status = ddi_soft_state_init(&hci1394_statep, sizeof (hci1394_state_t),
 115             (size_t)HCI1394_INITIAL_STATES);




  74         nulldev,                /* probe */
  75         hci1394_attach,         /* attach */
  76         hci1394_detach,         /* detach */
  77         nodev,                  /* reset */
  78         &hci1394_cb_ops,    /* cb_ops */
  79         NULL,                   /* bus_ops */
  80         NULL,                   /* power */
  81         hci1394_quiesce,        /* devo_quiesce */
  82 };
  83 
  84 /* Module Driver Info */
  85 static struct modldrv hci1394_modldrv = {
  86         &mod_driverops,
  87         "1394 OpenHCI HBA driver",
  88         &hci1394_ops
  89 };
  90 
  91 /* Module Linkage */
  92 static struct modlinkage hci1394_modlinkage = {
  93         MODREV_1,
  94         {   &hci1394_modldrv,
  95             NULL }
  96 };
  97 
  98 #ifndef NPROBE
  99 extern int tnf_mod_load(void);
 100 extern int tnf_mod_unload(struct modlinkage *mlp);
 101 #endif
 102 
 103 int
 104 _init()
 105 {
 106         int status;
 107 
 108 
 109 #ifndef NPROBE
 110         (void) tnf_mod_load();
 111 #endif
 112         TNF_PROBE_0_DEBUG(hci1394_init_enter, HCI1394_TNF_HAL_STACK, "");
 113 
 114         status = ddi_soft_state_init(&hci1394_statep, sizeof (hci1394_state_t),
 115             (size_t)HCI1394_INITIAL_STATES);