linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Fredrik Roubert <fredrik.roubert@barco.com>
To: linuxppc-embedded@ozlabs.org
Subject: ARCH=powerpc: IRQ numbers change mysteriously
Date: Mon, 23 Oct 2006 18:41:16 +0200	[thread overview]
Message-ID: <20061023164116.GC15953@igloo.df.lth.se> (raw)

Hi!

On my MPC8439 based board, running Linux 2.6.18 with ARCH=powerpc, the
IRQ's for the I2C behave in a for me mysterious way.

In my DTS file, I have the following:


i2c@3000 {
	device_type = "i2c";
	compatible = "fsl-i2c";
	reg = <3000 100>;
	interrupts = <e 8>;
	interrupt-parent = <&/soc8349@ff400000/pic@700>;
	dfsrr;
};

i2c@3100 {
	device_type = "i2c";
	compatible = "fsl-i2c";
	reg = <3000 100>;
	interrupts = <f 8>;
	interrupt-parent = <&/soc8349@ff400000/pic@700>;
	dfsrr;
};


But when I boot the system and cat /proc/interrupts, the output says:


18:         61   IPIC   Level     i2c-mpc
19:          0   IPIC   Level     i2c-mpc


This doesn't make sense to me. Why are the IRQ numbers changed? They are
still adjacent, so it seems to be some logic to the change. Does anyone
know what this is?

Cheers // Fredrik Roubert

-- 
Barco Medical Imaging          |  +32 56 233549
http://www.barco.com/medical/  |  fredrik.roubert@barco.com

             reply	other threads:[~2006-10-23 17:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23 16:41 Fredrik Roubert [this message]
2006-10-24  7:20 ` ARCH=powerpc: IRQ numbers change mysteriously Li Yang-r58472

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=20061023164116.GC15953@igloo.df.lth.se \
    --to=fredrik.roubert@barco.com \
    --cc=linuxppc-embedded@ozlabs.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).