X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=Documentation%2Fioctl%2Fhdio.txt;h=91a6ecbae0bb9601b7d50e084af1eeb96869f730;hb=336d63b8a3cadc1c678f4b16d6105633c7f6af75;hp=c19efdeace2cd220a73554b66f5c0fbef1d81d0b;hpb=7ff3e52cf2947ebd38c84159af68e5a29d228f6c;p=deliverable%2Flinux.git diff --git a/Documentation/ioctl/hdio.txt b/Documentation/ioctl/hdio.txt index c19efdeace2c..91a6ecbae0bb 100644 --- a/Documentation/ioctl/hdio.txt +++ b/Documentation/ioctl/hdio.txt @@ -508,12 +508,13 @@ HDIO_DRIVE_RESET execute a device reset error returns: EACCES Access denied: requires CAP_SYS_ADMIN + ENXIO No such device: phy dead or ctl_addr == 0 + EIO I/O error: reset timed out or hardware error notes: - Abort any current command, prevent anything else from being - queued, execute a reset on the device, and issue BLKRRPART - ioctl on the block device. + Execute a reset on the device as soon as the current IO + operation has completed. Executes an ATAPI soft reset if applicable, otherwise executes an ATA soft reset on the controller.