64 * These variables may be set in /etc/system according to a machine's
65 * USB configuration. This module will override the firmware's values
66 * with these.
67 */
68 static char *usb_kb_path = NULL;
69 static char *usb_ms_path = NULL;
70
71 /*
72 * This is the loadable module wrapper.
73 */
74 extern struct mod_ops mod_miscops;
75
76 /*
77 * Module linkage information for the kernel.
78 */
79 static struct modlmisc modlmisc = {
80 &mod_miscops, "console configuration"
81 };
82
83 static struct modlinkage modlinkage = {
84 MODREV_1, (void *)&modlmisc, NULL
85 };
86
87 int
88 _init(void)
89 {
90 return (mod_install(&modlinkage));
91 }
92
93 int
94 _fini(void)
95 {
96 return (mod_remove(&modlinkage));
97 }
98
99 int
100 _info(struct modinfo *modinfop)
101 {
102 return (mod_info(&modlinkage, modinfop));
103 }
104
|
64 * These variables may be set in /etc/system according to a machine's
65 * USB configuration. This module will override the firmware's values
66 * with these.
67 */
68 static char *usb_kb_path = NULL;
69 static char *usb_ms_path = NULL;
70
71 /*
72 * This is the loadable module wrapper.
73 */
74 extern struct mod_ops mod_miscops;
75
76 /*
77 * Module linkage information for the kernel.
78 */
79 static struct modlmisc modlmisc = {
80 &mod_miscops, "console configuration"
81 };
82
83 static struct modlinkage modlinkage = {
84 MODREV_1, { (void *)&modlmisc, NULL }
85 };
86
87 int
88 _init(void)
89 {
90 return (mod_install(&modlinkage));
91 }
92
93 int
94 _fini(void)
95 {
96 return (mod_remove(&modlinkage));
97 }
98
99 int
100 _info(struct modinfo *modinfop)
101 {
102 return (mod_info(&modlinkage, modinfop));
103 }
104
|