linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 07/15] libata: Add some dummy noop functions
@ 2006-02-06 15:42 brking
  2006-02-09  7:20 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: brking @ 2006-02-06 15:42 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-ide, linux-scsi, brking


Add some dummy noop functions for use by libata clients
that do not need to do anything. Future SAS patches will
utilize these functions.

Signed-off-by: Brian King <brking@us.ibm.com>
---

 drivers/scsi/libata-core.c |    3 +++
 include/linux/libata.h     |    1 +
 2 files changed, 4 insertions(+)

diff -puN drivers/scsi/libata-core.c~libata_noop_funcs drivers/scsi/libata-core.c
--- libata-dev/drivers/scsi/libata-core.c~libata_noop_funcs	2006-02-03 12:37:27.000000000 -0600
+++ libata-dev-bjking1/drivers/scsi/libata-core.c	2006-02-03 12:37:27.000000000 -0600
@@ -2986,6 +2986,8 @@ void ata_qc_prep(struct ata_queued_cmd *
 	ata_fill_sg(qc);
 }
 
+void ata_noop_qc_prep(struct ata_queued_cmd *qc) { }
+
 /**
  *	ata_sg_init_one - Associate command with memory buffer
  *	@qc: Command to be associated
@@ -5477,6 +5479,7 @@ EXPORT_SYMBOL_GPL(ata_port_stop);
 EXPORT_SYMBOL_GPL(ata_host_stop);
 EXPORT_SYMBOL_GPL(ata_interrupt);
 EXPORT_SYMBOL_GPL(ata_qc_prep);
+EXPORT_SYMBOL_GPL(ata_noop_qc_prep);
 EXPORT_SYMBOL_GPL(ata_bmdma_setup);
 EXPORT_SYMBOL_GPL(ata_bmdma_start);
 EXPORT_SYMBOL_GPL(ata_bmdma_irq_clear);
diff -puN include/linux/libata.h~libata_noop_funcs include/linux/libata.h
--- libata-dev/include/linux/libata.h~libata_noop_funcs	2006-02-03 12:37:27.000000000 -0600
+++ libata-dev-bjking1/include/linux/libata.h	2006-02-03 12:37:27.000000000 -0600
@@ -536,6 +536,7 @@ extern void ata_port_stop (struct ata_po
 extern void ata_host_stop (struct ata_host_set *host_set);
 extern irqreturn_t ata_interrupt (int irq, void *dev_instance, struct pt_regs *regs);
 extern void ata_qc_prep(struct ata_queued_cmd *qc);
+extern void ata_noop_qc_prep(struct ata_queued_cmd *qc);
 extern unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc);
 extern void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf,
 		unsigned int buflen);
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 07/15] libata: Add some dummy noop functions
  2006-02-06 15:42 [patch 07/15] libata: Add some dummy noop functions brking
@ 2006-02-09  7:20 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2006-02-09  7:20 UTC (permalink / raw)
  To: brking; +Cc: linux-ide, linux-scsi

brking@us.ibm.com wrote:
> Add some dummy noop functions for use by libata clients
> that do not need to do anything. Future SAS patches will
> utilize these functions.
> 
> Signed-off-by: Brian King <brking@us.ibm.com>

ACK



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-09  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06 15:42 [patch 07/15] libata: Add some dummy noop functions brking
2006-02-09  7:20 ` 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).