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


 147 static void _mii_probe_phy(phy_handle_t *);
 148 static void _mii_probe(mii_handle_t);
 149 static int _mii_reset(mii_handle_t);
 150 static int _mii_loopback(mii_handle_t);
 151 static void _mii_notify(mii_handle_t);
 152 static int _mii_check(mii_handle_t);
 153 static int _mii_start(mii_handle_t);
 154 
 155 /*
 156  * Loadable module structures/entrypoints
 157  */
 158 
 159 extern struct mod_ops mod_misc_ops;
 160 
 161 static struct modlmisc modlmisc = {
 162         &mod_miscops,
 163         "802.3 MII support",
 164 };
 165 
 166 static struct modlinkage modlinkage = {
 167         MODREV_1, &modlmisc, NULL
 168 };
 169 
 170 int
 171 _init(void)
 172 {
 173         return (mod_install(&modlinkage));
 174 }
 175 
 176 int
 177 _fini(void)
 178 {
 179         return (mod_remove(&modlinkage));
 180 }
 181 
 182 int
 183 _info(struct modinfo *modinfop)
 184 {
 185         return (mod_info(&modlinkage, modinfop));
 186 }
 187 




 147 static void _mii_probe_phy(phy_handle_t *);
 148 static void _mii_probe(mii_handle_t);
 149 static int _mii_reset(mii_handle_t);
 150 static int _mii_loopback(mii_handle_t);
 151 static void _mii_notify(mii_handle_t);
 152 static int _mii_check(mii_handle_t);
 153 static int _mii_start(mii_handle_t);
 154 
 155 /*
 156  * Loadable module structures/entrypoints
 157  */
 158 
 159 extern struct mod_ops mod_misc_ops;
 160 
 161 static struct modlmisc modlmisc = {
 162         &mod_miscops,
 163         "802.3 MII support",
 164 };
 165 
 166 static struct modlinkage modlinkage = {
 167         MODREV_1, { &modlmisc, NULL }
 168 };
 169 
 170 int
 171 _init(void)
 172 {
 173         return (mod_install(&modlinkage));
 174 }
 175 
 176 int
 177 _fini(void)
 178 {
 179         return (mod_remove(&modlinkage));
 180 }
 181 
 182 int
 183 _info(struct modinfo *modinfop)
 184 {
 185         return (mod_info(&modlinkage, modinfop));
 186 }
 187