mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: glikely@secretlab.ca
Cc: linux-kernel@vger.kernel.org, Michal Simek <monstr@monstr.eu>
Subject: [PATCH] microblaze: Fix of/address: Merge all of the bus translation code
Date: Mon, 16 Aug 2010 10:31:53 +0200	[thread overview]
Message-ID: <1281947514-25319-2-git-send-email-monstr@monstr.eu> (raw)
In-Reply-To: <1281947514-25319-1-git-send-email-monstr@monstr.eu>

Commit dbbdee94734bf6f1db7af42008a53655e77cab8f removed
of_irq_pci_swizzle but didn't use pci_swizzle_interrupt_pin
instead.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 arch/microblaze/kernel/prom_parse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c
index d33ba17..99d9b61 100644
--- a/arch/microblaze/kernel/prom_parse.c
+++ b/arch/microblaze/kernel/prom_parse.c
@@ -73,7 +73,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
 		/* We can only get here if we hit a P2P bridge with no node,
 		 * let's do standard swizzling and try again
 		 */
-		lspec = of_irq_pci_swizzle(PCI_SLOT(pdev->devfn), lspec);
+		lspec = pci_swizzle_interrupt_pin(pdev, lspec);
 		pdev = ppdev;
 	}
 
-- 
1.5.5.6


  reply	other threads:[~2010-08-16  8:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16  8:31 [PATCH] microblaze: Fixup function of/address cleaning Michal Simek
2010-08-16  8:31 ` Michal Simek [this message]
2010-08-16  8:31   ` [PATCH] microblaze: Fix of: eliminate of_device->node and dev_archdata->{of,prom}_node Michal Simek
2010-08-16 20:33   ` [PATCH] microblaze: Fix of/address: Merge all of the bus translation code Grant Likely
2010-08-16 20:48 ` [PATCH] microblaze: Fixup function of/address cleaning Grant Likely
2010-08-17  5:30   ` Michal Simek

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=1281947514-25319-2-git-send-email-monstr@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=glikely@secretlab.ca \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®