diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-26 22:52:39 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-26 22:52:39 +0000 |
commit | ce514e08aa8fdbdf52da2ac2cbdace68e0b25210 (patch) | |
tree | 4c7101a5f73d5fcface6aeee9b4f599d6a3be9ce /bsd-core/r128_drv.c | |
parent | f2a0c5438dc83171de1007a68e4f98e35b5a8fbe (diff) |
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.
Diffstat (limited to 'bsd-core/r128_drv.c')
-rw-r--r-- | bsd-core/r128_drv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bsd-core/r128_drv.c b/bsd-core/r128_drv.c index e7d18959..0aae76e8 100644 --- a/bsd-core/r128_drv.c +++ b/bsd-core/r128_drv.c @@ -75,11 +75,10 @@ drm_chipinfo_t DRM(devicelist)[] = { #include "drm_ioctl.h" #include "drm_lock.h" #include "drm_memory.h" +#include "drm_pci.h" #include "drm_sysctl.h" #include "drm_vm.h" -#if __HAVE_SG #include "drm_scatter.h" -#endif #ifdef __FreeBSD__ DRIVER_MODULE(r128, pci, r128_driver, r128_devclass, 0, 0); |