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


 152 #else
 153         ipf_identify,
 154 #endif
 155         nulldev,
 156         ipf_attach,
 157         ipf_detach,
 158         nodev,          /* reset */
 159         &ipf_cb_ops,
 160         (struct bus_ops *)0,
 161         NULL,
 162         ddi_quiesce_not_needed,         /* quiesce */
 163 };
 164 
 165 
 166 static net_instance_t *ipfncb = NULL;
 167 static ipf_stack_t *ipf_stacks = NULL;
 168 static kmutex_t ipf_stack_lock;
 169 extern struct mod_ops mod_driverops;
 170 static struct modldrv iplmod = {
 171         &mod_driverops, IPL_VERSION, &ipf_ops };
 172 static struct modlinkage modlink1 = { MODREV_1, &iplmod, NULL };
 173 
 174 #if SOLARIS2 >= 6
 175 static  size_t  hdrsizes[57][2] = {
 176         { 0, 0 },
 177         { IFT_OTHER, 0 },
 178         { IFT_1822, 0 },
 179         { IFT_HDH1822, 0 },
 180         { IFT_X25DDN, 0 },
 181         { IFT_X25, 0 },
 182         { IFT_ETHER, 14 },
 183         { IFT_ISO88023, 0 },
 184         { IFT_ISO88024, 0 },
 185         { IFT_ISO88025, 0 },
 186         { IFT_ISO88026, 0 },
 187         { IFT_STARLAN, 0 },
 188         { IFT_P10, 0 },
 189         { IFT_P80, 0 },
 190         { IFT_HY, 0 },
 191         { IFT_FDDI, 24 },
 192         { IFT_LAPB, 0 },




 152 #else
 153         ipf_identify,
 154 #endif
 155         nulldev,
 156         ipf_attach,
 157         ipf_detach,
 158         nodev,          /* reset */
 159         &ipf_cb_ops,
 160         (struct bus_ops *)0,
 161         NULL,
 162         ddi_quiesce_not_needed,         /* quiesce */
 163 };
 164 
 165 
 166 static net_instance_t *ipfncb = NULL;
 167 static ipf_stack_t *ipf_stacks = NULL;
 168 static kmutex_t ipf_stack_lock;
 169 extern struct mod_ops mod_driverops;
 170 static struct modldrv iplmod = {
 171         &mod_driverops, IPL_VERSION, &ipf_ops };
 172 static struct modlinkage modlink1 = { MODREV_1, { &iplmod, NULL } };
 173 
 174 #if SOLARIS2 >= 6
 175 static  size_t  hdrsizes[57][2] = {
 176         { 0, 0 },
 177         { IFT_OTHER, 0 },
 178         { IFT_1822, 0 },
 179         { IFT_HDH1822, 0 },
 180         { IFT_X25DDN, 0 },
 181         { IFT_X25, 0 },
 182         { IFT_ETHER, 14 },
 183         { IFT_ISO88023, 0 },
 184         { IFT_ISO88024, 0 },
 185         { IFT_ISO88025, 0 },
 186         { IFT_ISO88026, 0 },
 187         { IFT_STARLAN, 0 },
 188         { IFT_P10, 0 },
 189         { IFT_P80, 0 },
 190         { IFT_HY, 0 },
 191         { IFT_FDDI, 24 },
 192         { IFT_LAPB, 0 },