All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Konovalov <akonovalov@ru.mvista.com>
To: Stephen Williams <612dlag102@sneakemail.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Activating SystemACE support
Date: Thu, 26 Feb 2004 12:44:41 +0300	[thread overview]
Message-ID: <403DC009.3030502@ru.mvista.com> (raw)
In-Reply-To: <10318-29667@sneakemail.com>


Stephen,

All this stuff comes from arch/ppc/platforms/xilinx_ocp/xparameters_ml300.h:
#define XPAR_OPB_SYSACE_0_BASEADDR 0xCF000000
#define XPAR_DCR_INTC_0_OPB_SYSACE_0_SYSACE_IRQ_INTR 5
/* Linux Redefines */
#define XPAR_SYSACE_0_BASEADDR XPAR_OPB_SYSACE_0_BASEADDR
#define XPAR_INTC_0_SYSACE_0_VEC_ID XPAR_DCR_INTC_0_OPB_SYSACE_0_SYSACE_IRQ_INTR

In drivers/block/xilinx_sysace/adapter.c:
#define XSA_IRQ (31 - XPAR_INTC_0_SYSACE_0_VEC_ID)
extern XSysAce_Config XSysAce_ConfigTable[];

In drivers/block/xilinx_sysace/xsysace_g.c:
XSysAce_Config XSysAce_ConfigTable[] = {
         {
          XPAR_OPB_SYSACE_0_DEVICE_ID,
          XPAR_OPB_SYSACE_0_BASEADDR}
};

Best regards,
Andrei

Stephen Williams wrote:
>
>
>
> I have a board that, like the Xilinx ml300 board, has a SystemACE
> chip on it. I would like to activate the existing SystemACE drivers
> support in the kernel, but it is not clear to me how I pass to the
> drivers the base address and IRQ that has been assigned. Does anyone
> has any suggestions?
>
> - --
> Steve Williams                "The woods are lovely, dark and deep.
> steve at XXXXXXXXXX           But I have promises to keep,
> http://www.XXXXXXXXXX         and lines to code before I sleep,
> http://www.picturel.com       And lines to code before I sleep."
>
>
>


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

  reply	other threads:[~2004-02-26  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-26  3:54 Activating SystemACE support Stephen Williams
2004-02-26  9:44 ` Andrei Konovalov [this message]
2004-02-26 12:12 ` Jon Masters
2004-02-26 16:02 ` Jeff Angielski
2004-02-26 17:48   ` Andrei Konovalov

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=403DC009.3030502@ru.mvista.com \
    --to=akonovalov@ru.mvista.com \
    --cc=612dlag102@sneakemail.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 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.