summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-05-20 00:36:08 -0400
committerJeff Garzik <jeff@garzik.org>2006-05-20 00:36:08 -0400
commit3d71b3b0b634b1a5ba8632fd9ec998e0e4aedfdb (patch)
treeaddbc37a278a126a19e03edd8270e577c75a8829 /drivers/scsi/libata-core.c
parent8d4ee71ff6de5255ebfdf44fb83419d27bd06368 (diff)
parente2a7f77a7b4ab298a38c8d1f624628456069bdb0 (diff)
downloadlinux-3d71b3b0b634b1a5ba8632fd9ec998e0e4aedfdb.tar.gz
linux-3d71b3b0b634b1a5ba8632fd9ec998e0e4aedfdb.tar.bz2
linux-3d71b3b0b634b1a5ba8632fd9ec998e0e4aedfdb.zip
Merge branch 'upstream-fixes' into upstream
Conflicts: drivers/scsi/libata-core.c
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 9051b6821c1c..00881226f8dd 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -875,6 +875,9 @@ static unsigned int ata_id_xfermask(const u16 *id)
/**
* ata_port_queue_task - Queue port_task
* @ap: The ata_port to queue port_task for
+ * @fn: workqueue function to be scheduled
+ * @data: data value to pass to workqueue function
+ * @delay: delay time for workqueue function
*
* Schedule @fn(@data) for execution after @delay jiffies using
* port_task. There is one port_task per port and it's the
@@ -3091,8 +3094,8 @@ static unsigned int ata_dev_set_xfermode(struct ata_device *dev)
/**
* ata_dev_init_params - Issue INIT DEV PARAMS command
* @dev: Device to which command will be sent
- * @heads: Number of heads
- * @sectors: Number of sectors
+ * @heads: Number of heads (taskfile parameter)
+ * @sectors: Number of sectors (taskfile parameter)
*
* LOCKING:
* Kernel thread context (may sleep)
@@ -5007,6 +5010,7 @@ int ata_device_resume(struct ata_device *dev)
/**
* ata_device_suspend - prepare a device for suspend
* @dev: the device to suspend
+ * @state: target power management state
*
* Flush the cache on the drive, if appropriate, then issue a
* standbynow command.