Source-Changes archive

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

CVS commit: src/sys/dev/ata

Module Name:    src
Committed By:   dyoung
Date:           Fri Nov  5 15:49:37 UTC 2010

Modified Files:
        src/sys/dev/ata: wd.c

Log Message:
Mark a buffer with EIO in wdstrategy() if the device is not "enabled"
(more like "present"), not if it is merely asleep.

If the device is not awake, get out of wdstart() right away.

Brett Lymn and KAMADA Ken'ichi report that this stops the kernel from
crashing after a suspend/resume cycle.

To generate a diff of this commit:
cvs rdiff -u -r1.384 -r1.385 src/sys/dev/ata/wd.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