Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/25/2000 19:42:11
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Jun 26 02:42:11 UTC 2000

Modified Files:
	syssrc/sys/arch/alpha/pci: irongate_bus_io.c irongate_bus_mem.c
	    irongatereg.h pci_bwx_bus_io_chipdep.c pci_bwx_bus_mem_chipdep.c
	    tsp_bus_io.c tsp_bus_mem.c tsreg.h

Log Message:
Because of the Cool sign-extension hack we use to access PCI space,
the `get window' method ends up with the wrong physical address to
pass onto userspace (which wants to mmap the space).

Compensate by adding a CHIP_PHYSADDR() macro which un-hacks the address
suitably for mapping with other-than-KSEG.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/alpha/pci/irongate_bus_io.c \
    syssrc/sys/arch/alpha/pci/irongate_bus_mem.c \
    syssrc/sys/arch/alpha/pci/irongatereg.h syssrc/sys/arch/alpha/pci/tsreg.h
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/alpha/pci/tsp_bus_io.c \
    syssrc/sys/arch/alpha/pci/tsp_bus_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.