* [PATCH] DocBook: fix some comments in drivers/scsi
@ 2006-01-21 21:40 Martin Waitz
2006-01-22 4:17 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Martin Waitz @ 2006-01-21 21:40 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Update some kernel-doc comments to match the code
Signed-off-by: Martin Waitz <tali@admingilde.org>
---
drivers/scsi/ata_piix.c | 1 +
drivers/scsi/libata-core.c | 31 +++++++++++++++++--------------
drivers/scsi/libata-scsi.c | 2 ++
3 files changed, 20 insertions(+), 14 deletions(-)
9ef1bc69154d1f4c7376b4bc676f3370aa79b303
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c
index fc3ca05..1dac098 100644
--- a/drivers/scsi/ata_piix.c
+++ b/drivers/scsi/ata_piix.c
@@ -627,6 +627,7 @@ static int piix_disable_ahci(struct pci_
/**
* piix_check_450nx_errata - Check for problem 450NX setup
+ * @ata_dev: the PCI device to check
*
* Check for the present of 450NX errata #19 and errata #25. If
* they are found return an error code so we can turn off DMA
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 46c4cdb..a1b4d84 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -4212,19 +4212,6 @@ err_out:
}
-/**
- * ata_port_start - Set port up for dma.
- * @ap: Port to initialize
- *
- * Called just after data structures for each port are
- * initialized. Allocates space for PRD table.
- *
- * May be used as the port_start() entry in ata_port_operations.
- *
- * LOCKING:
- * Inherited from caller.
- */
-
/*
* Execute a 'simple' command, that only consists of the opcode 'cmd' itself,
* without filling any other registers
@@ -4276,6 +4263,8 @@ static int ata_start_drive(struct ata_po
/**
* ata_device_resume - wakeup a previously suspended devices
+ * @ap: port the device is connected to
+ * @dev: the device to resume
*
* Kick the drive back into action, by sending it an idle immediate
* command and making sure its transfer mode matches between drive
@@ -4298,10 +4287,11 @@ int ata_device_resume(struct ata_port *a
/**
* ata_device_suspend - prepare a device for suspend
+ * @ap: port the device is connected to
+ * @dev: the device to suspend
*
* Flush the cache on the drive, if appropriate, then issue a
* standbynow command.
- *
*/
int ata_device_suspend(struct ata_port *ap, struct ata_device *dev)
{
@@ -4315,6 +4305,19 @@ int ata_device_suspend(struct ata_port *
return 0;
}
+/**
+ * ata_port_start - Set port up for dma.
+ * @ap: Port to initialize
+ *
+ * Called just after data structures for each port are
+ * initialized. Allocates space for PRD table.
+ *
+ * May be used as the port_start() entry in ata_port_operations.
+ *
+ * LOCKING:
+ * Inherited from caller.
+ */
+
int ata_port_start (struct ata_port *ap)
{
struct device *dev = ap->host_set->dev;
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
index cfbceb5..b94c991 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -2492,6 +2492,8 @@ out_unlock:
/**
* ata_scsi_simulate - simulate SCSI command on ATA device
+ * @ap: port the device is connected to
+ * @dev: the target device
* @id: current IDENTIFY data for target device.
* @cmd: SCSI command being sent to device.
* @done: SCSI command completion function.
--
0.99.9.GIT
--
Martin Waitz
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] DocBook: fix some comments in drivers/scsi
2006-01-21 21:40 [PATCH] DocBook: fix some comments in drivers/scsi Martin Waitz
@ 2006-01-22 4:17 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2006-01-22 4:17 UTC (permalink / raw)
To: Martin Waitz; +Cc: Andrew Morton, linux-kernel
Martin Waitz wrote:
> Update some kernel-doc comments to match the code
>
> Signed-off-by: Martin Waitz <tali@admingilde.org>
>
> ---
>
> drivers/scsi/ata_piix.c | 1 +
> drivers/scsi/libata-core.c | 31 +++++++++++++++++--------------
> drivers/scsi/libata-scsi.c | 2 ++
Please copy the maintainer (me and linux-ide), particularly since there
are other patches in this area...
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-22 4:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-21 21:40 [PATCH] DocBook: fix some comments in drivers/scsi Martin Waitz
2006-01-22 4:17 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).