All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: sonic.adi@gmail.com, alan@lxorguk.ukuu.org.uk, htejun@gmail.com,
	jeff@garzik.org, mm-commits@vger.kernel.org
Subject: - libata-add-irq_flags-to-struct-pata_platform_info.patch removed from -mm tree
Date: Thu, 05 Jul 2007 17:52:17 -0700	[thread overview]
Message-ID: <200707060052.l660qHTp028358@imap1.linux-foundation.org> (raw)


The patch titled
     libata: add irq_flags to struct pata_platform_info
has been removed from the -mm tree.  Its filename was
     libata-add-irq_flags-to-struct-pata_platform_info.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: libata: add irq_flags to struct pata_platform_info
From: "Sonic Zhang" <sonic.adi@gmail.com>

On some embedded platforms, such as blackfin, the gpio interrupt for IDE
interface is designed to be triggered with high voltage.  The gpio port
should be configured properly by set_irq_type() when register the irq. 
This patch enable the generic pata platform driver to accept platform irq
flags data.

Signed-off-by: Sonic Zhang <sonic.adi@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/ata/pata_platform.c   |    6 ++++--
 include/linux/pata_platform.h |    5 +++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff -puN drivers/ata/pata_platform.c~libata-add-irq_flags-to-struct-pata_platform_info drivers/ata/pata_platform.c
--- a/drivers/ata/pata_platform.c~libata-add-irq_flags-to-struct-pata_platform_info
+++ a/drivers/ata/pata_platform.c
@@ -139,6 +139,7 @@ static int __devinit pata_platform_probe
 	struct resource *io_res, *ctl_res;
 	struct ata_host *host;
 	struct ata_port *ap;
+	struct pata_platform_info *pp_info;
 	unsigned int mmio;
 
 	/*
@@ -208,11 +209,12 @@ static int __devinit pata_platform_probe
 
 	ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr;
 
-	pata_platform_setup_port(&ap->ioaddr, pdev->dev.platform_data);
+	pp_info = (struct pata_platform_info *)(pdev->dev.platform_data);
+	pata_platform_setup_port(&ap->ioaddr, pp_info);
 
 	/* activate */
 	return ata_host_activate(host, platform_get_irq(pdev, 0), ata_interrupt,
-				 0, &pata_platform_sht);
+				 pp_info->irq_flags, &pata_platform_sht);
 }
 
 /**
diff -puN include/linux/pata_platform.h~libata-add-irq_flags-to-struct-pata_platform_info include/linux/pata_platform.h
--- a/include/linux/pata_platform.h~libata-add-irq_flags-to-struct-pata_platform_info
+++ a/include/linux/pata_platform.h
@@ -8,6 +8,11 @@ struct pata_platform_info {
 	 * spacing used by ata_std_ports().
 	 */
 	unsigned int ioport_shift;
+	/*
+	 * Indicate platform specific irq types and initial
+	 * IRQ flags when call request_irq()
+	 */
+	unsigned int irq_flags;
 };
 
 #endif /* __LINUX_PATA_PLATFORM_H */
_

Patches currently in -mm which might be from sonic.adi@gmail.com are

git-libata-all.patch
libata-add-irq_flags-to-struct-pata_platform_info-fix.patch

                 reply	other threads:[~2007-07-06  0:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200707060052.l660qHTp028358@imap1.linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=sonic.adi@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.