diff options
author | dfr <dfr@FreeBSD.org> | 1998-08-07 08:20:36 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-08-07 08:20:36 +0000 |
commit | 27d404a37fa63c66027c87356c2e5e8481568d85 (patch) | |
tree | 23b1abece94024f49b0728bfdeacc67d0d9b6a0c /sys/pci | |
parent | 2882dcd255c975d2aea5a4cfd194b611fb8bb2c5 (diff) | |
download | FreeBSD-src-27d404a37fa63c66027c87356c2e5e8481568d85.zip FreeBSD-src-27d404a37fa63c66027c87356c2e5e8481568d85.tar.gz |
Remove a stupid hack of mine which prevented PCI io memory access on the alpha.
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 9fbf3ee..51e450e 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; |