IDE: Report errors during drive reset back to user space
[pandora-kernel.git] / Documentation / ioctl / hdio.txt
index 11c9be4..91a6ecb 100644 (file)
@@ -203,7 +203,7 @@ HDIO_SET_MULTCOUNT          change IDE blockmode
 
          Source code comments read:
 
-           This is tightly woven into the driver->do_special can not
+           This is tightly woven into the driver->do_special cannot
            touch.  DON'T do it again until a total personality rewrite
            is committed.
 
@@ -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.