Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 08:43:24 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Terry Lambert <tlambert@primenet.com>, alpha@FreeBSD.ORG
Subject:   Re: small fix for irq mappig probelm
Message-ID:  <Pine.BSF.4.10.9910260843060.331-100000@salmon.nlsystems.com>
In-Reply-To: <199910260051.UAA09280@storm.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Oct 1999, Andrew Gallatin wrote:

> 
> Terry Lambert writes:
>  > > 
>  > > de0: <Digital 21143 Fast Ethernet> irq 0 at device 3.0 on pci0
>  > > pci_map_int: can't allocate interrupt
>  > > 
>  > > 
>  > > The appended patch fixes it, but I am unsure it is correct.  Can you
>  > > approve it?
>  > 
>  > Same thing on some Intel motherboards, FWIW.  SMP seems to be the
>  > way to fix it; perhaps we could do whatever the equivalent is on
>  > Alpha?
> 
> Huh?  I'm not talking about running out of irqs, I'm talking about
> having a valid inline which happens to be zero.
> 
> (Most) Alphas aren't limited to 16 irqs like PCs, even without SMP
> support.  Many support up to 64 irqs.  Starting at 0 & including 0.
> 
> Having 0 as a valid intline is the problem.  My patch assumes that an
> intpin should never be 0.  Is this true?

The 'invalid' value for intline is 255 according to the spec.

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910260843060.331-100000>