From owner-cvs-all Fri Dec 1 7:27:54 2000 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 0095F37B400; Fri, 1 Dec 2000 07:27:50 -0800 (PST) Received: (from gallatin@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB1FRnR26438; Fri, 1 Dec 2000 07:27:49 -0800 (PST) (envelope-from gallatin) Message-Id: <200012011527.eB1FRnR26438@freefall.freebsd.org> From: Andrew Gallatin Date: Fri, 1 Dec 2000 07:27:49 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci pcib_if.m src/sys/alpha/pci apecs_pci.c apecsvar.h cia_pci.c irongate_pci.c lca_pci.c lcavar.h t2_pci.c tsunami_pci.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gallatin 2000/12/01 07:27:49 PST Modified files: sys/pci pcib_if.m sys/alpha/pci apecs_pci.c apecsvar.h cia_pci.c irongate_pci.c lca_pci.c lcavar.h t2_pci.c tsunami_pci.c Log: Convert the pcib_{read,write}_config args from signed to unsigned, like the args to the config space accessors these functions replaced. This reduces the likelyhood of overflow when the args are used in macros on the alpha. This prevents memory management faults when probing the pci bus on sables, multias and nonames. Approved by: dfr Tested by: Bernd Walter Revision Changes Path 1.3 +9 -9 src/sys/pci/pcib_if.m 1.8 +5 -5 src/sys/alpha/pci/apecs_pci.c 1.4 +3 -3 src/sys/alpha/pci/apecsvar.h 1.10 +6 -6 src/sys/alpha/pci/cia_pci.c 1.4 +5 -5 src/sys/alpha/pci/irongate_pci.c 1.8 +5 -5 src/sys/alpha/pci/lca_pci.c 1.4 +3 -3 src/sys/alpha/pci/lcavar.h 1.4 +5 -5 src/sys/alpha/pci/t2_pci.c 1.10 +5 -5 src/sys/alpha/pci/tsunami_pci.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message