From owner-freebsd-alpha Wed Jun 7 6:25: 9 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.surf1.de (mail.surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 92BCC37B57C for ; Wed, 7 Jun 2000 06:25:06 -0700 (PDT) (envelope-from alex@big.endian.de) Received: from neutron.cichlids.com (p3E9D38C7.dip0.t-ipconnect.de [62.157.56.199]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id PAA07042; Wed, 7 Jun 2000 15:25:11 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id 43705AC30; Wed, 7 Jun 2000 15:26:01 +0200 (CEST) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id 70BC814AA8; Wed, 7 Jun 2000 15:24:59 +0200 (CEST) Date: Wed, 7 Jun 2000 15:24:59 +0200 From: Alexander Langer To: Doug Rabson Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: device ed (PCI) on alphas Message-ID: <20000607152459.B9700@cichlids.cichlids.com> References: <20000523091416.B608@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dfr@nlsystems.com on Tue, May 23, 2000 at 09:10:51AM +0100 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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