Date: Fri, 1 Dec 2000 07:27:49 -0800 (PST) From: Andrew Gallatin <gallatin@FreeBSD.org> 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 Message-ID: <200012011527.eB1FRnR26438@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <ticso@cicely8.cicely.de>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012011527.eB1FRnR26438>
