From owner-cvs-all Sat Mar 23 18:11:11 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3D22D37B404; Sat, 23 Mar 2002 18:11:07 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2O2B7i52851; Sat, 23 Mar 2002 18:11:07 -0800 (PST) (envelope-from tmm) Message-Id: <200203240211.g2O2B7i52851@freefall.freebsd.org> From: Thomas Moestl Date: Sat, 23 Mar 2002 18:11:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/pci apb.c ofw_pci.c ofw_pci.h psycho.c psychovar.h src/sys/sparc64/include ofw_bus.h src/sys/sparc64/isa isa.c ofw_isa.c src/sys/sparc64/sparc64 ofw_bus.c src/sys/sparc64/ebus ebus.c ebusvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2002/03/23 18:11:07 PST Modified files: sys/sparc64/pci psycho.c apb.c ofw_pci.c ofw_pci.h psychovar.h sys/sparc64/include ofw_bus.h sys/sparc64/isa isa.c ofw_isa.c sys/sparc64/sparc64 ofw_bus.c sys/sparc64/ebus ebus.c ebusvar.h Log: Make the OpenFirmware interrupt mapping code more generic, to reduce the bus-dependent code and to be able to support more systems. The core of the new code is mostly obtained from NetBSD. Kluge the interrupt routing methods of the psycho and apb drivers so that an intline of 0 can be handled for now; real routing is still not possible (all intline registers are preinitialized instead); this will require a sparc64-specific adaption of the driver for generic PCI-PCI bridges with a custom routing method to work right. Revision Changes Path 1.4 +10 -70 src/sys/sparc64/ebus/ebus.c 1.2 +0 -11 src/sys/sparc64/ebus/ebusvar.h 1.2 +4 -2 src/sys/sparc64/include/ofw_bus.h 1.3 +20 -21 src/sys/sparc64/isa/isa.c 1.3 +0 -13 src/sys/sparc64/isa/ofw_isa.c 1.4 +23 -3 src/sys/sparc64/pci/apb.c 1.3 +24 -92 src/sys/sparc64/pci/ofw_pci.c 1.2 +3 -12 src/sys/sparc64/pci/ofw_pci.h 1.9 +16 -17 src/sys/sparc64/pci/psycho.c 1.4 +0 -3 src/sys/sparc64/pci/psychovar.h 1.2 +188 -38 src/sys/sparc64/sparc64/ofw_bus.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message