Эх сурвалжийг харах

[libata] Update kernel-doc comments to match source code

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Qinghuang Feng 16 жил өмнө
parent
commit
bd353ffdc9

+ 0 - 1
drivers/ata/libata-core.c

@@ -4732,7 +4732,6 @@ static struct ata_queued_cmd *ata_qc_new(struct ata_port *ap)
 /**
 /**
  *	ata_qc_new_init - Request an available ATA command, and initialize it
  *	ata_qc_new_init - Request an available ATA command, and initialize it
  *	@dev: Device from whom we request an available command structure
  *	@dev: Device from whom we request an available command structure
- *	@tag: command tag
  *
  *
  *	LOCKING:
  *	LOCKING:
  *	None.
  *	None.

+ 0 - 1
drivers/ata/pata_bf54x.c

@@ -356,7 +356,6 @@ static void bfin_set_piomode(struct ata_port *ap, struct ata_device *adev)
  *	bfin_set_dmamode - Initialize host controller PATA DMA timings
  *	bfin_set_dmamode - Initialize host controller PATA DMA timings
  *	@ap: Port whose timings we are configuring
  *	@ap: Port whose timings we are configuring
  *	@adev: um
  *	@adev: um
- *	@udma: udma mode, 0 - 6
  *
  *
  *	Set UDMA mode for device.
  *	Set UDMA mode for device.
  *
  *

+ 0 - 1
drivers/ata/pata_legacy.c

@@ -638,7 +638,6 @@ static void qdi6500_set_piomode(struct ata_port *ap, struct ata_device *adev)
  *	qdi6580dp_set_piomode		-	PIO setup for dual channel
  *	qdi6580dp_set_piomode		-	PIO setup for dual channel
  *	@ap: Port
  *	@ap: Port
  *	@adev: Device
  *	@adev: Device
- *	@irq: interrupt line
  *
  *
  *	In dual channel mode the 6580 has one clock per channel and we have
  *	In dual channel mode the 6580 has one clock per channel and we have
  *	to software clockswitch in qc_issue.
  *	to software clockswitch in qc_issue.

+ 0 - 1
drivers/ata/pata_oldpiix.c

@@ -116,7 +116,6 @@ static void oldpiix_set_piomode (struct ata_port *ap, struct ata_device *adev)
  *	oldpiix_set_dmamode - Initialize host controller PATA DMA timings
  *	oldpiix_set_dmamode - Initialize host controller PATA DMA timings
  *	@ap: Port whose timings we are configuring
  *	@ap: Port whose timings we are configuring
  *	@adev: Device to program
  *	@adev: Device to program
- *	@isich: True if the device is an ICH and has IOCFG registers
  *
  *
  *	Set MWDMA mode for device, in host controller PCI config space.
  *	Set MWDMA mode for device, in host controller PCI config space.
  *
  *

+ 0 - 2
drivers/ata/pata_pdc2027x.c

@@ -281,7 +281,6 @@ static unsigned long pdc2027x_mode_filter(struct ata_device *adev, unsigned long
  *	pdc2027x_set_piomode - Initialize host controller PATA PIO timings
  *	pdc2027x_set_piomode - Initialize host controller PATA PIO timings
  *	@ap: Port to configure
  *	@ap: Port to configure
  *	@adev: um
  *	@adev: um
- *	@pio: PIO mode, 0 - 4
  *
  *
  *	Set PIO mode for device.
  *	Set PIO mode for device.
  *
  *
@@ -326,7 +325,6 @@ static void pdc2027x_set_piomode(struct ata_port *ap, struct ata_device *adev)
  *	pdc2027x_set_dmamode - Initialize host controller PATA UDMA timings
  *	pdc2027x_set_dmamode - Initialize host controller PATA UDMA timings
  *	@ap: Port to configure
  *	@ap: Port to configure
  *	@adev: um
  *	@adev: um
- *	@udma: udma mode, XFER_UDMA_0 to XFER_UDMA_6
  *
  *
  *	Set UDMA mode for device.
  *	Set UDMA mode for device.
  *
  *

+ 0 - 1
drivers/ata/pata_radisys.c

@@ -81,7 +81,6 @@ static void radisys_set_piomode (struct ata_port *ap, struct ata_device *adev)
  *	radisys_set_dmamode - Initialize host controller PATA DMA timings
  *	radisys_set_dmamode - Initialize host controller PATA DMA timings
  *	@ap: Port whose timings we are configuring
  *	@ap: Port whose timings we are configuring
  *	@adev: Device to program
  *	@adev: Device to program
- *	@isich: True if the device is an ICH and has IOCFG registers
  *
  *
  *	Set MWDMA mode for device, in host controller PCI config space.
  *	Set MWDMA mode for device, in host controller PCI config space.
  *
  *

+ 0 - 1
drivers/ata/pata_scc.c

@@ -210,7 +210,6 @@ static void scc_set_piomode (struct ata_port *ap, struct ata_device *adev)
  *	scc_set_dmamode - Initialize host controller PATA DMA timings
  *	scc_set_dmamode - Initialize host controller PATA DMA timings
  *	@ap: Port whose timings we are configuring
  *	@ap: Port whose timings we are configuring
  *	@adev: um
  *	@adev: um
- *	@udma: udma mode, 0 - 6
  *
  *
  *	Set UDMA mode for device.
  *	Set UDMA mode for device.
  *
  *

+ 0 - 1
drivers/ata/pata_serverworks.c

@@ -138,7 +138,6 @@ static struct sv_cable_table cable_detect[] = {
 /**
 /**
  *	serverworks_cable_detect	-	cable detection
  *	serverworks_cable_detect	-	cable detection
  *	@ap: ATA port
  *	@ap: ATA port
- *	@deadline: deadline jiffies for the operation
  *
  *
  *	Perform cable detection according to the device and subvendor
  *	Perform cable detection according to the device and subvendor
  *	identifications
  *	identifications

+ 0 - 1
drivers/ata/pata_sis.c

@@ -112,7 +112,6 @@ static int sis_133_cable_detect(struct ata_port *ap)
 /**
 /**
  *	sis_66_cable_detect	-	check for 40/80 pin
  *	sis_66_cable_detect	-	check for 40/80 pin
  *	@ap: Port
  *	@ap: Port
- *	@deadline: deadline jiffies for the operation
  *
  *
  *	Perform cable detection on the UDMA66, UDMA100 and early UDMA133
  *	Perform cable detection on the UDMA66, UDMA100 and early UDMA133
  *	SiS IDE controllers.
  *	SiS IDE controllers.

+ 0 - 1
drivers/ata/sata_mv.c

@@ -1836,7 +1836,6 @@ static void mv_unexpected_intr(struct ata_port *ap, int edma_was_enabled)
 /**
 /**
  *      mv_err_intr - Handle error interrupts on the port
  *      mv_err_intr - Handle error interrupts on the port
  *      @ap: ATA channel to manipulate
  *      @ap: ATA channel to manipulate
- *      @qc: affected command (non-NCQ), or NULL
  *
  *
  *      Most cases require a full reset of the chip's state machine,
  *      Most cases require a full reset of the chip's state machine,
  *      which also performs a COMRESET.
  *      which also performs a COMRESET.