Displaying 2 results from an estimated 2 matches for "dasysctlinit".
Did you mean:
cdsysctlinit
2003 Sep 09
0
CAM/INVARIANTS fix committed
...sysctlinit(). Queue
cdsysctlinit() to the taskqueue_thread taskqueue once we
have fully registered the cd(4) driver instance.
scsi_da.c: Remove sysctl variable creation code from daregister(), and
move it to move it to a new function, dasysctlinit().
Queue dasysctlinit() to the taskqueue_thread taskqueue once
we have fully registered the da(4) instance.
taskqueue.h: Declare the new taskqueue_thread taskqueue, update some
comments.
subr_taskqueue.c:
Create th...
2003 Sep 01
1
testers needed for CAM INVARIANTS fix
...k_arg, u_int32_t code,
struct cam_path *path, void *arg);
+ static int dacmdsizesysctl(SYSCTL_HANDLER_ARGS);
static periph_ctor_t daregister;
static periph_dtor_t dacleanup;
static periph_start_t dastart;
***************
*** 1123,1128 ****
--- 1126,1167 ----
}
}
+ static void
+ dasysctlinit(void *context, int pending)
+ {
+ struct cam_periph *periph;
+ struct da_softc *softc;
+ char tmpstr[80], tmpstr2[80];
+ int s;
+
+ periph = (struct cam_periph *)context;
+ softc = (struct da_softc *)periph->softc;
+
+ snprintf(tmpstr, sizeof(tmpstr), "CAM DA unit %d", periph-...