Module Name: src Committed By: bouyer Date: Sun Jun 19 09:35:06 UTC 2016
Modified Files: src/sys/dev/ata: wd.c src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Add a new config_detach() flag, DETACH_POWEROFF, which is set when detaching devices at shutdown time with RB_POWERDOWN. When detaching wd(4), put the drive in standby before detach for DETACH_POWEROFF. Fix PR kern/51252 To generate a diff of this commit: cvs rdiff -u -r1.420 -r1.421 src/sys/dev/ata/wd.c cvs rdiff -u -r1.241 -r1.242 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.148 -r1.149 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.