Received: by mail.netbsd.org (Postfix, from userid 0) id 8EC1D63B13E; Mon, 30 Nov 2009 05:01:00 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 6D58163B138 for ; Mon, 30 Nov 2009 05:00:59 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 2956B175DF; Mon, 30 Nov 2009 05:00:59 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Mon, 30 Nov 2009 05:00:59 +0000 From: matthew green Subject: CVS commit: src/sys/arch/sparc64 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20091130050059.2956B175DF@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Module Name: src Committed By: mrg Date: Mon Nov 30 05:00:58 UTC 2009 Modified Files: src/sys/arch/sparc64/dev: pci_machdep.c psycho.c schizo.c src/sys/arch/sparc64/include: pci_machdep.h Log Message: convert pci_intr_map() into a chipset tag function pointer, and implement the schizo version slightly differently. pull out the schizo's IGN from the upaid, not the apparently broken device ID register. from openbsd. with this i appear to have valid working interrupts on the SB2500. tested on U60 and SB2500. XXX: we can probably kill (*spc_find_ino)() now that pci_intr_map() itself XXX: is no longer a first class function. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/sparc64/dev/pci_machdep.c cvs rdiff -u -r1.96 -r1.97 src/sys/arch/sparc64/dev/psycho.c cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc64/dev/schizo.c cvs rdiff -u -r1.22 -r1.23 src/sys/arch/sparc64/include/pci_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.