Bug #13233: Chase move of agp headers on FreeBSD.
parent
a90510966e
commit
c12a3a3ce0
|
@ -76,7 +76,11 @@ typedef struct drm_file drm_file_t;
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__)
|
||||||
#include <sys/rman.h>
|
#include <sys/rman.h>
|
||||||
#include <sys/memrange.h>
|
#include <sys/memrange.h>
|
||||||
|
#if __FreeBSD_version >= 800004
|
||||||
|
#include <dev/agp/agpvar.h>
|
||||||
|
#else /* __FreeBSD_version >= 800004 */
|
||||||
#include <pci/agpvar.h>
|
#include <pci/agpvar.h>
|
||||||
|
#endif /* __FreeBSD_version >= 800004 */
|
||||||
#include <sys/agpio.h>
|
#include <sys/agpio.h>
|
||||||
#if __FreeBSD_version >= 500000
|
#if __FreeBSD_version >= 500000
|
||||||
#include <sys/mutex.h>
|
#include <sys/mutex.h>
|
||||||
|
|
|
@ -36,7 +36,11 @@
|
||||||
#include "drmP.h"
|
#include "drmP.h"
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
|
#if __FreeBSD_version >= 800004
|
||||||
|
#include <dev/agp/agpreg.h>
|
||||||
|
#else /* __FreeBSD_version >= 800004 */
|
||||||
#include <pci/agpreg.h>
|
#include <pci/agpreg.h>
|
||||||
|
#endif /* __FreeBSD_version >= 800004 */
|
||||||
#include <dev/pci/pcireg.h>
|
#include <dev/pci/pcireg.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue