Deleted Added
full compact
30c30
< * $FreeBSD: head/sys/dev/drm/ati_pcigart.c 145132 2005-04-16 03:44:47Z anholt $
---
> * $FreeBSD: head/sys/dev/drm/ati_pcigart.c 148211 2005-07-20 21:10:57Z anholt $
49c49
< dma_addr_t *bus_addr)
---
> dma_addr_t *bus_addr, int is_pcie)
84c84,91
< *pci_gart++ = cpu_to_le32( page_base );
---
> if (is_pcie) {
> *pci_gart = (cpu_to_le32(page_base)>>8) | 0xc;
> DRM_DEBUG("PCIE: %d %08X %08X to %p\n", i,
> page_base, (cpu_to_le32(page_base)>>8)|0xc,
> pci_gart);
> } else
> *pci_gart = cpu_to_le32(page_base);
> pci_gart++;