Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 15:24:59 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: device ed (PCI) on alphas
Message-ID:  <20000607152459.B9700@cichlids.cichlids.com>
In-Reply-To: <Pine.BSF.4.21.0005230909580.73457-100000@salmon.nlsystems.com>; from dfr@nlsystems.com on Tue, May 23, 2000 at 09:10:51AM %2B0100
References:  <20000523091416.B608@cichlids.cichlids.com> <Pine.BSF.4.21.0005230909580.73457-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Doug Rabson (dfr@nlsystems.com):

> >         if ((inb(sc->nic_addr + ED_P0_CR) &
> >              (ED_CR_RD2 | ED_CR_TXP | ED_CR_STA | ED_CR_STP)) !=
> >             (ED_CR_RD2 | ED_CR_STP))
> >                 return (0);
> > the inb(...) & vars is == 33, but should be 39. (decimal).
> I don't know what to suggest since I'm not familiar with the hardware. I
> think Warner Losh and Matt Dodd are our resident ed driver people.

The issue was a bug in the ed driver, which, in my eyes, used the
wrong OFFSETs for the NIC and APIC (mixed).

NetBSD has the same values but vice versa, so I changed that and
everything worked.

We have a working Alpha driver for if_ed now.

Alex

-- 
This is a FreeBSD advocacy ~/.sig.


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?20000607152459.B9700>