Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 19:31:39 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Alexander Langer <alex@big.endian.de>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: device ed (PCI) on alphas
Message-ID:  <Pine.BSF.4.21.0006071931010.37053-100000@salmon.nlsystems.com>
In-Reply-To: <20000607152459.B9700@cichlids.cichlids.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Jun 2000, Alexander Langer wrote:

> 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.

Good. You should run your changes past Warner Losh and/or Matt Dodd to
make sure it doesn't break anything on i386.

-- 
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 20 8442 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.21.0006071931010.37053-100000>