linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Johnnie Peters <jpeters@phx.mcd.mot.com>
To: Gabriel Paubert <paubert@iram.es>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	linuxppc-dev@lists.linuxppc.org, cort@cs.nmt.edu
Subject: Re: Interrupt routing in prep_pci.c
Date: Sun, 21 Feb 1999 09:56:43 -0700	[thread overview]
Message-ID: <36D03ACA.F8626298@phx.mcd.mot.com> (raw)
In-Reply-To: Pine.HPP.3.96.990211100221.5352B-100000@gra-ux1.iram.es


Hi Gabriel

I would like to try your stuff out but I have not been able to get to your site.  Do
you have it anywhere else I can retrieve it from?

I tried a version of it a while back and it did not seem to compile with the standard
R4 compiler.  At that time I tried to compile and use the latest egcs and binutils
stuff and it seemed to work for the kernel but when I tried compiling user level
stuff it gave me several problems.  I have asked several people on the net and have
not got a good answer as to what compiler I should be using with R4.  Can you tell me
the combination you are using?

Thanks for your time,

Johnnie


Gabriel Paubert wrote:

> On Wed, 10 Feb 1999, Jeremy Fitzhardinge wrote:
>
> >
> > Hi Cort/all,
> >
> > I'm trying to work out what kernel/prep_pci.c is doing with interrupt routing.
> > I'm looking at the stuff in the standard 2.2 kernel, so perhaps there's a better
> > place for me to look.
> >
> > Firstly, in route_pci_interrupts it does an inb(0x800) to get something to
> > determine the interrupt architecture of the board.  What is this value, and
> > where does it come from?
>
> It's a value which give sthe board type on rather old IBM/Motorola boards.
>
> > Rather than having hard-coded tables, can't the interrupt routing be determined
> > from either firmware or the interrupt controller itself?  The comment at the
> > top of the file is that this will go away soon.  What are you planning to
> > replace it?
>
> Indeed, that's what I do from residual data on PreP machines and it seems
> to work on several kinds of boards. You'll find it embedded somewhere
> in the patch file at:
>
>         ftp://vcorr1.iram.es/pub/linux-2.2/mvm2600.generic-patch-2.2.1
>
> > Background: I'm porting LinuxPPC to a Yellowknife-like board running Open
> > Firmware.  It works well except that the drivers can't find their interrupts.
>
> Note that this patch includes a new bootloader for PreP machines, I'd like
> to extend it to support OF too but don't have te time right now.
>
>         Gabriel.




[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

  parent reply	other threads:[~1999-02-21 16:56 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-11  4:32 Interrupt routing in prep_pci.c Jeremy Fitzhardinge
1999-02-11  9:07 ` Gabriel Paubert
1999-02-14  5:42   ` Troy Benjegerdes
1999-02-15  3:06     ` Jeremy Fitzhardinge
1999-02-15  9:25       ` Gabriel Paubert
1999-02-15  9:23     ` Gabriel Paubert
1999-02-21 16:56   ` Johnnie Peters [this message]
1999-02-21 18:28     ` Cort Dougan
1999-02-22  8:45       ` VALETTE Eric
1999-02-22 18:25         ` Cort Dougan
1999-02-22 18:06           ` VALETTE Eric
1999-02-22 19:26             ` Cort Dougan
1999-02-23  8:40               ` VALETTE Eric
1999-02-23 14:53                 ` Johnnie Peters
1999-02-23 15:55                   ` VALETTE Eric
1999-02-26  7:18                     ` Cort Dougan
1999-02-26  8:53                       ` VALETTE Eric
1999-02-26 18:54                         ` Cort Dougan
1999-02-26  7:09                 ` bootloader problems and linux/ppc developers tree Cort Dougan
1999-02-26  9:02                   ` VALETTE Eric
1999-02-26 11:05                   ` Gabriel Paubert
1999-02-23 20:39             ` Interrupt routing in prep_pci.c Matt Porter
1999-02-26  7:21               ` Cort Dougan
1999-03-02 16:56                 ` Matt Porter

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=36D03ACA.F8626298@phx.mcd.mot.com \
    --to=jpeters@phx.mcd.mot.com \
    --cc=cort@cs.nmt.edu \
    --cc=jeremy@goop.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paubert@iram.es \
    /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).