diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1998-08-07 08:20:36 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1998-08-07 08:20:36 +0000 |
commit | 8b761c80042b73c3729e362b45195d1e385fd056 (patch) | |
tree | c948353457642a09ddeb504b075dabce3466d421 /sys/pci | |
parent | 6aa91d039a7ea5dc24e0ed7836eb586372977a3c (diff) | |
download | src-8b761c80042b73c3729e362b45195d1e385fd056.tar.gz src-8b761c80042b73c3729e362b45195d1e385fd056.zip |
Remove a stupid hack of mine which prevented PCI io memory access on the alpha.
Notes
Notes:
svn path=/head/; revision=38159
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/pci_compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c index 9fbf3ee8fdd8..51e450e9651c 100644 --- a/sys/pci/pci_compat.c +++ b/sys/pci/pci_compat.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pci_compat.c,v 1.7 1998/04/01 21:07:37 tegge Exp $ + * $Id: pci_compat.c,v 1.8 1998/07/22 08:39:08 dfr Exp $ * */ @@ -152,10 +152,7 @@ int pci_map_mem(pcici_t cfg, u_long reg, vm_offset_t* va, vm_offset_t* pa) vaddr = (vm_offset_t)pmap_mapdev(paddr-poffs, psize+poffs); #endif #ifdef __alpha__ - /* XXX should talk to chipset. - Hardwire pyxis for now */ - vaddr = ALPHA_PHYS_TO_K0SEG(0x8600000000L - + paddr-poffs); + vaddr = paddr-poffs; #endif if (vaddr != NULL) { vaddr += poffs; |