Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/sys/dev/scsipi



Module Name:    src
Committed By:   snj
Date:           Wed Jun 21 18:18:55 UTC 2017

Modified Files:
        src/sys/dev/scsipi [netbsd-8]: atapiconf.c cd.c scsi_base.c scsiconf.c
            scsipi_base.c sd.c ss.c st.c

Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #53):
        sys/dev/scsipi/atapiconf.c: revision 1.91
        sys/dev/scsipi/cd.c: revision 1.341
        sys/dev/scsipi/scsi_base.c: revision 1.92
        sys/dev/scsipi/scsiconf.c: revision 1.280
        sys/dev/scsipi/scsipi_base.c: revisions 1.176, 1.177
        sys/dev/scsipi/sd.c: revision 1.325
        sys/dev/scsipi/ss.c: revision 1.89
        sys/dev/scsipi/st.c: revision 1.231
The atapibus detach path did hold the channel mutex while calling into autoconf,
which would trigger a panic when unplugging a USB ATAPI CDROM.
Align detach code for scsibus and atapibus to fix this.
Also avoid races when detaching devices by replacing callout_stop with
callout_halt.
--
pass config_detach error to caller.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.90.8.1 src/sys/dev/scsipi/atapiconf.c
cvs rdiff -u -r1.340 -r1.340.6.1 src/sys/dev/scsipi/cd.c
cvs rdiff -u -r1.91 -r1.91.8.1 src/sys/dev/scsipi/scsi_base.c
cvs rdiff -u -r1.279 -r1.279.6.1 src/sys/dev/scsipi/scsiconf.c
cvs rdiff -u -r1.175 -r1.175.8.1 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -u -r1.324 -r1.324.6.1 src/sys/dev/scsipi/sd.c
cvs rdiff -u -r1.88 -r1.88.8.1 src/sys/dev/scsipi/ss.c
cvs rdiff -u -r1.230 -r1.230.8.1 src/sys/dev/scsipi/st.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index