Displaying 2 results from an estimated 2 matches for "cdregist".
Did you mean:
regist
2003 Sep 09
0
CAM/INVARIANTS fix committed
...ELENG_4)
sys/cam/scsi scsi_cd.c scsi_da.c
sys/kern subr_taskqueue.c
sys/sys taskqueue.h
share/man/man4 cd.4 da.4
share/man/man9 cd.9
Log:
MFC: Move dynamic sysctl(8) variable creation for the cd(4) and da(4)
drivers out of cdregister() and daregister(), which are run from interrupt
context.
Files/revisions merged:
scsi_da.c: 1.157, 1.158
scsi_cd.c: 1.81
subr_taskqueue.c: 1.17
taskqueue.h: 1.8
cd.4: 1.33
da.4: 1.42
cd.9:...
2003 Sep 01
1
testers needed for CAM INVARIANTS fix
...t;%d", periph->unit_number);
! sysctl_ctx_init(&softc->sysctl_ctx);
! softc->sysctl_tree = SYSCTL_ADD_NODE(&softc->sysctl_ctx,
! SYSCTL_STATIC_CHILDREN(_kern_cam_cd), OID_AUTO,
! tmpstr2, CTLFLAG_RD, 0, tmpstr);
! if (softc->sysctl_tree == NULL) {
! printf("cdregister: unable to allocate sysctl tree\n");
! free(softc, M_DEVBUF);
! return (CAM_REQ_CMP_ERR);
! }
/* The default is 6 byte commands, unless quirked otherwise */
if (softc->quirks & CD_Q_10_BYTE_ONLY)
--- 754,760 ----
if (cpi.ccb_h.status == CAM_REQ_CMP && (cpi.hba...