140 DEVO_REV, /* Driver build version */
141 0, /* device reference count */
142 _nsctl_getinfo,
143 nulldev, /* Identify */
144 nulldev, /* Probe */
145 _nsctl_attach,
146 _nsctl_detach,
147 nodev, /* Reset */
148 &nsctl_cb_ops,
149 (struct bus_ops *)0
150 };
151
152 static struct modldrv nsctl_ldrv = {
153 &mod_driverops,
154 "nws:Control:" ISS_VERSION_STR,
155 &nsctl_ops
156 };
157
158 static struct modlinkage nsctl_modlinkage = {
159 MODREV_1,
160 &nsctl_ldrv,
161 NULL
162 };
163
164 /*
165 * Solaris module load time code
166 */
167
168 int nsc_min_nodeid;
169 int nsc_max_nodeid;
170
171 int
172 _init(void)
173 {
174 int err;
175
176 err = nsc_load();
177
178 if (!err)
179 err = mod_install(&nsctl_modlinkage);
180
181 if (err) {
|
140 DEVO_REV, /* Driver build version */
141 0, /* device reference count */
142 _nsctl_getinfo,
143 nulldev, /* Identify */
144 nulldev, /* Probe */
145 _nsctl_attach,
146 _nsctl_detach,
147 nodev, /* Reset */
148 &nsctl_cb_ops,
149 (struct bus_ops *)0
150 };
151
152 static struct modldrv nsctl_ldrv = {
153 &mod_driverops,
154 "nws:Control:" ISS_VERSION_STR,
155 &nsctl_ops
156 };
157
158 static struct modlinkage nsctl_modlinkage = {
159 MODREV_1,
160 { &nsctl_ldrv, NULL }
161 };
162
163 /*
164 * Solaris module load time code
165 */
166
167 int nsc_min_nodeid;
168 int nsc_max_nodeid;
169
170 int
171 _init(void)
172 {
173 int err;
174
175 err = nsc_load();
176
177 if (!err)
178 err = mod_install(&nsctl_modlinkage);
179
180 if (err) {
|