From owner-freebsd-alpha Tue Dec 5 17:10:25 2000 From owner-freebsd-alpha@FreeBSD.ORG Tue Dec 5 17:10:20 2000 Return-Path: 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 2B77C37B400 for ; Tue, 5 Dec 2000 17:10:20 -0800 (PST) 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 UAA08116; Tue, 5 Dec 2000 20:10:17 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.1/8.9.1) id eB61AGb18741; Tue, 5 Dec 2000 20:10:16 -0500 (EST) (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: Tue, 5 Dec 2000 20:10:16 -0500 (EST) To: Wilko Bulte Cc: Daniel Nilsson , freebsd-alpha@freebsd.org Subject: Re: Mikasa boot problems In-Reply-To: <20001205204431.C346@freebie.demon.nl> References: <976022855.158daniel.n.nilsson@home.se> <14893.194.420965.77884@grasshopper.cs.duke.edu> <20001205204431.C346@freebie.demon.nl> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14893.37128.710735.340327@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Wilko Bulte writes: > > I ported the AS1000/AS1000A support from NetBSD. I don't think the > > 1000A support has been tested yet. > > Go and washed thou mouth with soap..! > > I have 4.2-something running on a AS1000A at work. Actually I use it as my > FreeBSD-builder. Mine is a EV5/400 BTW. > > So, I don't understand why mine has worked for a long time now.. Actually, the problem is worse than I thought. I think your machine works only because we've been lucky. As things stand now, I think only ev4 1000's and ev5 1000a's will work, because I misread the NetBSD source code. It turns out the chipset is dependant on the CPU and the interrupt hardware is dependant on the systype. See the appended patch to see what I mean. Drew Index: alpha/alpha/dec_1000a.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/dec_1000a.c,v retrieving revision 1.2.2.2 diff -u -r1.2.2.2 dec_1000a.c --- alpha/alpha/dec_1000a.c 2000/07/20 06:12:12 1.2.2.2 +++ alpha/alpha/dec_1000a.c 2000/12/06 00:55:11 @@ -146,6 +146,15 @@ case PCS_PROC_EV4: case PCS_PROC_EV45: platform.iobus = "apecs"; + break; + + default: + platform.iobus = "cia"; + break; + } + platform.cons_init = dec_1000a_cons_init; + switch (cputype) { + case ST_DEC_1000: platform.pci_intr_map = dec_1000_intr_map; platform.pci_intr_disable = dec_1000_intr_disable; platform.pci_intr_enable = dec_1000_intr_enable; @@ -153,14 +162,13 @@ break; default: - platform.iobus = "cia"; platform.pci_intr_map = dec_1000a_intr_map; platform.pci_intr_disable = dec_1000a_intr_disable; platform.pci_intr_enable = dec_1000a_intr_enable; platform.pci_intr_init = dec_1000a_intr_init; break; } - platform.cons_init = dec_1000a_cons_init; + } /* XXX for forcing comconsole when srm serial console is used */ @@ -401,5 +409,5 @@ /* * Enable cascade interrupt. */ - dec_1000_intr_enable(2); + dec_1000a_intr_enable(2); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message