public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Sarnath  Kannan" <sparc64@rediffmail•com>
To: linuxppc-embedded@lists•linuxppc.org
Subject: "OpenPIC versus EPIC" in MPC8240 !
Date: 1 Nov 2001 10:13:02 -0000	[thread overview]
Message-ID: <20011101101302.15843.qmail@mailweb11.rediffmail.com> (raw)


Dear reader,
 I am trying to enable interrupts on the sandpoint X2
board hosting MPC8240, in Mode 1.

I decided to use OPenPIC code (openpic.c) for EPIC,
as the  MPC8240 manual claims that EPIC is an OpenPIC standard. But I find some disparities between  the way EPIC's registers are organised and the way OpenPIC data
structures are declared.( openpic_defs.h )

According the OpenPIC data structure,
 "OpenPIC_Source" resides at offset 0x50000
 whereas the EPIC ( section 11 of MPC8240 manual)
says the it resides at 0x50200 ( See page 11-5)
 So, there is absolutely no gaurantee that
openPIC code would work for EPIC, Am i right ?

One more, If some1 could give me a clear picture
of interrupt routing on sandpoint board, it would
be very useful.
  From what i read, I have understood the following
Please correct me if I am wrong.

 1. The INTA ( used by Function  0 of Winbond -
    PCI/ISA bridge) is connected to IRQ0 of EPIC.

 2. The PCI interrupts (INTx) are  connected to the
    remaining PINs of EPIC in some order. ( I dont
    know which order they are connected )

Any help would be appreciated. Meanwhile, I am
reading the sandpoint manual also..( This one, I add
inorder to avoid replies like "RTFM")

Thanks for any help guys

Sarnath


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2001-11-01 10:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-01 10:13 Sarnath  Kannan [this message]
2001-11-01 17:13 ` "OpenPIC versus EPIC" in MPC8240 ! Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2001-11-07 14:11 Sarnath  Kannan
2001-11-11 23:56 ` ashish anand
2001-11-12  8:41 Sarnath  Kannan
2001-11-12 16:41 ` Dan Malek
2001-11-12 16:51   ` Dag Nygren
2001-11-12 16:58     ` Dan Malek
2001-11-12 18:00       ` Dag Nygren
2001-11-13  6:42 James F Dougherty
2001-11-13  7:17 ` Dag Nygren

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=20011101101302.15843.qmail@mailweb11.rediffmail.com \
    --to=sparc64@rediffmail$(echo .)com \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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