linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Jeff Garzik <jgarzik@pobox.com>,
	IDE/ATA development list <linux-ide@vger.kernel.org>
Subject: [PATCH 05/06] sata_mv: export ata_pio_queue_task()
Date: Fri, 13 Feb 2009 00:08:56 -0500	[thread overview]
Message-ID: <49950068.9040705@rtr.ca> (raw)
In-Reply-To: <49950036.50509@rtr.ca>

Export ata_pio_queue_task() so that it can be used from sata_mv.

Signed-off-by: Mark Lord <mlord@pobox.com>

--- old/drivers/ata/libata-core.c	2009-02-12 22:41:42.000000000 -0500
+++ upstream/drivers/ata/libata-core.c	2009-02-12 22:41:46.000000000 -0500
@@ -6707,6 +6707,7 @@
  EXPORT_SYMBOL_GPL(ata_do_dev_read_id);
  EXPORT_SYMBOL_GPL(ata_scsi_simulate);

+EXPORT_SYMBOL_GPL(ata_pio_queue_task);
  EXPORT_SYMBOL_GPL(ata_pio_need_iordy);
  EXPORT_SYMBOL_GPL(ata_timing_find_mode);
  EXPORT_SYMBOL_GPL(ata_timing_compute);
--- old/drivers/ata/libata.h	2009-02-12 19:58:00.000000000 -0500
+++ upstream/drivers/ata/libata.h	2009-02-12 22:43:16.000000000 -0500
@@ -79,8 +79,6 @@
  			   u64 block, u32 n_block, unsigned int tf_flags,
  			   unsigned int tag);
  extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev);
-extern void ata_pio_queue_task(struct ata_port *ap, void *data,
-			       unsigned long delay);
  extern void ata_port_flush_task(struct ata_port *ap);
  extern unsigned ata_exec_internal(struct ata_device *dev,
  				  struct ata_taskfile *tf, const u8 *cdb,
--- old/include/linux/libata.h	2009-02-12 19:58:07.000000000 -0500
+++ upstream/include/linux/libata.h	2009-02-12 22:43:24.000000000 -0500
@@ -1006,6 +1006,9 @@
  extern int ata_cable_ignore(struct ata_port *ap);
  extern int ata_cable_unknown(struct ata_port *ap);

+extern void ata_pio_queue_task(struct ata_port *ap, void *data,
+			       unsigned long delay);
+
  /* Timing helpers */
  extern unsigned int ata_pio_need_iordy(const struct ata_device *);
  extern const struct ata_timing *ata_timing_find_mode(u8 xfer_mode);

  reply	other threads:[~2009-02-13  5:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13  5:03 [PATCH 01/06] sata_mv: cache frequently read registers Mark Lord
2009-02-13  5:05 ` [PATCH 02/06] sata_mv: enable ATAPI DMA for GEN_IIE chips Mark Lord
2009-02-13  5:05   ` [PATCH 03/06] sata_mv: stricter irq masking Mark Lord
2009-02-13  5:08     ` [PATCH 04/06] sata_mv: implement mv_sff_check_status Mark Lord
2009-02-13  5:08       ` Mark Lord [this message]
2009-02-13  5:09         ` [PATCH 06/06] sata_mv: implement mv_qc_issue_fis() for errata workaround Mark Lord
2009-02-17  0:19 ` [PATCH 01/06] sata_mv: cache frequently read registers Jeff Garzik
2009-02-25 17:52   ` Mark Lord
     [not found]   ` <499A26B8.7070107@pobox.com>
2009-02-25 20:20     ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49950068.9040705@rtr.ca \
    --to=liml@rtr.ca \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).