From owner-freebsd-alpha Sat Jun 9 13:28:17 2001 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 0847737B403 for ; Sat, 9 Jun 2001 13:28:10 -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 QAA07785; Sat, 9 Jun 2001 16:28:08 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f59KRcA07536; Sat, 9 Jun 2001 16:27:38 -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 Message-ID: <15138.34490.249163.348223@grasshopper.cs.duke.edu> Date: Sat, 9 Jun 2001 16:27:38 -0400 (EDT) To: "Martijn Pronk" Cc: "Martijn Pronk" , freebsd-alpha@freebsd.org Subject: Re: ofehr@www.ofehr.com recipient unknown " Re: de network card not working on -current" In-Reply-To: References: <200106082123.XAA06798@webmail1.xs4all.nl> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Martijn Pronk writes: > > I hope you meant the following part of dec_axppci_33.c at line 273: Yes, those printfs haven't changed since we took the code from NetBSD, that's why you get the compile error. Don't worry about it.. I think I see the problem. Please try the appended patch & let me know if it works. The AS200 (apecs) code will need it too, assuming it works. Thanks! Drew Index: lca_pci.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/pci/lca_pci.c,v retrieving revision 1.11 diff -u -r1.11 lca_pci.c --- lca_pci.c 2001/06/01 17:39:11 1.11 +++ lca_pci.c 2001/06/09 20:22:22 @@ -169,6 +169,8 @@ cfg.slot = s; cfg.func = f; cfg.intline = 255; + cfg.intpin = + lca_pcib_read_config(dev, b, s, f, PCIR_INTPIN, 1); platform.pci_intr_map((void *)&cfg); if (cfg.intline != 255) return cfg.intline; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message