From ce514e08aa8fdbdf52da2ac2cbdace68e0b25210 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 26 Apr 2003 22:52:39 +0000 Subject: Add PCI DMA memory functions and make addbufs_pci and associated code use it. To do this we need to save the bus address along with the virtual address in the seglist. Also fix some error handling and a few bits of whitespace. --- bsd/radeon_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bsd/radeon_drv.c') diff --git a/bsd/radeon_drv.c b/bsd/radeon_drv.c index badd7081..5ad5d4b0 100644 --- a/bsd/radeon_drv.c +++ b/bsd/radeon_drv.c @@ -88,11 +88,10 @@ drm_chipinfo_t DRM(devicelist)[] = { #include "drm_ioctl.h" #include "drm_lock.h" #include "drm_memory.h" +#include "drm_pci.h" #include "drm_vm.h" #include "drm_sysctl.h" -#if __HAVE_SG #include "drm_scatter.h" -#endif #ifdef __FreeBSD__ DRIVER_MODULE(DRIVER_NAME, pci, DRM(driver), DRM(devclass), 0, 0); -- cgit v1.2.3