linux-mips
[Top] [All Lists]

Re: EISA support

To: "Andrew R. Baker" <andrewb@uab.edu>
Subject: Re: EISA support
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Tue, 3 Aug 1999 00:26:24 +0200
Cc: Linux SGI <linux@cthulhu.engr.sgi.com>
In-reply-to: <Pine.LNX.3.96.990803011347.15805C-100000@mdk187.tucc.uab.edu>; from Andrew R. Baker on Tue, Aug 03, 1999 at 01:17:19AM -0500
References: <19990803000615.A29290@uni-koblenz.de> <Pine.LNX.3.96.990803011347.15805C-100000@mdk187.tucc.uab.edu>
Sender: owner-linux@cthulhu.engr.sgi.com
On Tue, Aug 03, 1999 at 01:17:19AM -0500, Andrew R. Baker wrote:

> On Tue, 3 Aug 1999, Ralf Baechle wrote:
> > The solution which we're using for other systems is to number the
> > interrupts such that 0 ... 15 are the (E)ISA interrupts; all other
> > system specific interrupts use higher numbers.  In such a scenario
> > request_irq() will essentially just be a demultiplexer which for
> > (E)ISA interrupt numbers calls request_isa_irq() etc.  You really
> > should try to leave the interrupt numbers unchanged as they are;
> > basically every (E)ISA interrupt driver has it's numbers hardwired.
> 
> That's basically what William Earl suggested.  I am going to change the
> SGINT_XXX defines in sgint23.h to leave space for the (E)ISA interrupts
> and get change any absolute references (like in the SCSI driver) to things
> like "SGINT_LOCAL0 + 1".   Is there anything else I should allocate some
> space for?

No, but I'd prefer symbolic names like SGINT_WD93_1 over SGINT_LOCAL0 + 1.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>