aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlan <alan@lxorguk.ukuu.org.uk>2007-01-31 12:47:24 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-02 11:52:05 -0500
commit0777721c9b270f087bf967369c9acbee3f1a12ae (patch)
treedcdbd08724910372afc83c0ae4c80ab744f4fca4 /include
parent05c39e502e964ae66336ca8e6960b200cff26f94 (diff)
libata: Fix ata_busy_wait() kernel docs
> Looks like you should use ata_busy_wait() here, rather than reproducing > the same code again. It waits in 10uS chunks while 1uS chunks were used in the workaround. Could indeed do that once I know the fix is right. While I'm at it the ata_busy_wait kerneldoc is borked so here's a fix Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 22aa69e20905..91bb8ceef0b5 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1054,6 +1054,8 @@ static inline void ata_pause(struct ata_port *ap)
1054/** 1054/**
1055 * ata_busy_wait - Wait for a port status register 1055 * ata_busy_wait - Wait for a port status register
1056 * @ap: Port to wait for. 1056 * @ap: Port to wait for.
1057 * @bits: bits that must be clear
1058 * @max: number of 10uS waits to perform
1057 * 1059 *
1058 * Waits up to max*10 microseconds for the selected bits in the port's 1060 * Waits up to max*10 microseconds for the selected bits in the port's
1059 * status register to be cleared. 1061 * status register to be cleared.