From owner-cvs-all Fri Jun 1 10:39:20 2001 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 C884F37B422; Fri, 1 Jun 2001 10:39:12 -0700 (PDT) (envelope-from gallatin@FreeBSD.org) Received: (from gallatin@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f51HdCq75094; Fri, 1 Jun 2001 10:39:12 -0700 (PDT) (envelope-from gallatin) Message-Id: <200106011739.f51HdCq75094@freefall.freebsd.org> From: Andrew Gallatin Date: Fri, 1 Jun 2001 10:39:12 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha dec_1000a.c dec_2100_a50.c dec_2100_a500.c dec_axppci_33.c dec_eb164.c dec_eb64plus.c dec_kn20aa.c dec_st550.c dec_st6600.c src/sys/alpha/include cpuconf.h src/sys/alpha/pci apecs_pci.c cia_pci.c lca_pci.c t2.c ... 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 gallatin 2001/06/01 10:39:12 PDT Modified files: sys/alpha/alpha dec_1000a.c dec_2100_a50.c dec_2100_a500.c dec_axppci_33.c dec_eb164.c dec_eb64plus.c dec_kn20aa.c dec_st550.c dec_st6600.c sys/alpha/include cpuconf.h sys/alpha/pci apecs_pci.c cia_pci.c lca_pci.c t2.c t2var.h Log: Resurrect platform.pci_intr_map() and essentially undo the effects of the interface conversion to platform.pci_intr_route(). I've left the platform.pci_intr_route() function pointer in place, as well as alpha_pci_route_interrupt(), but no platform currently implements it. To work around the removal of alpha_platform_assign_pciintr(cfg); from the pci probe code, I've hooked in calls to platform.pci_intr_map() in pcib_read_config (similar to the x86 APIC_IO ifdef in pci_cfgregread) for every chipset that has a platform which needs it. While here, I've removed the interupt mapping/routing code from the AS2x00 platform because its not required (it has never been present in -stable). Tested on: UP1000, Miata(GL), XP1000, AS2100, AS500 Revision Changes Path 1.11 +45 -30 src/sys/alpha/alpha/dec_1000a.c 1.11 +27 -16 src/sys/alpha/alpha/dec_2100_a50.c 1.9 +1 -2 src/sys/alpha/alpha/dec_2100_a500.c 1.12 +50 -14 src/sys/alpha/alpha/dec_axppci_33.c 1.14 +2 -2 src/sys/alpha/alpha/dec_eb164.c 1.9 +2 -2 src/sys/alpha/alpha/dec_eb64plus.c 1.12 +22 -22 src/sys/alpha/alpha/dec_kn20aa.c 1.10 +18 -18 src/sys/alpha/alpha/dec_st550.c 1.11 +1 -9 src/sys/alpha/alpha/dec_st6600.c 1.10 +3 -2 src/sys/alpha/include/cpuconf.h 1.11 +16 -1 src/sys/alpha/pci/apecs_pci.c 1.13 +16 -1 src/sys/alpha/pci/cia_pci.c 1.11 +16 -1 src/sys/alpha/pci/lca_pci.c 1.10 +1 -106 src/sys/alpha/pci/t2.c 1.5 +1 -2 src/sys/alpha/pci/t2var.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message