From owner-freebsd-alpha Sat May 20 18: 3:13 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 6F29B37B7D0 for ; Sat, 20 May 2000 18:03:01 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id VAA10113; Sat, 20 May 2000 21:03:00 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id VAA21319; Sat, 20 May 2000 21:03:00 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 20 May 2000 21:03:00 -0400 (EDT) To: John Polstra Cc: alpha@FreeBSD.ORG Subject: Re: Trouble with dc driver and DE500-BA card In-Reply-To: References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14631.13043.515193.76057@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Polstra writes: > I tried backing up to revision 1.8 of if_dc.c to remove this commit: > > msmith 2000/03/10 21:20:58 PST > > Modified files: > sys/pci if_dc.c if_dcreg.h > Log: > Teach the 'dc' driver how to pick up settings left over by the > SRM on alpha systems. This is an expedient if not entirely > elegant solution to the problem. > > It didn't help. (BTW, what is "the problem" referred to in that log > message?) The problem is a POLA violation -- every other alpha OS obeys the SRM settings by default. With this patch, if you do: >>> set ewa0_mode FastFD The driver will choose 100baseTX when ifconfig'ed with no args. Without this patch, it attempts to autonegotiate. Given the demonstrated inability of the dc driver to autonegotiate its way out of a wet paper bag with a sharp knife, this causes problems. I've found that if I hardcode the switch port AND the adapter to 100baseTX , everything works just dandy. Well... except for the adapter's LEDs don't work, but I don't really care about that. Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message