]> err.no Git - linux-2.6/blobdiff - drivers/char/agp/agp.h
Merge with /home/shaggy/git/linus-clean/
[linux-2.6] / drivers / char / agp / agp.h
index ad9c11391d81112409b2aaf27549cb5d766e2219..b4af87c6f9c80fbf30e6adf574c8a34af11f4588 100644 (file)
@@ -143,6 +143,7 @@ struct agp_bridge_data {
        char major_version;
        char minor_version;
        struct list_head list;
+       u32 apbase_config;
 };
 
 #define KB(x)  ((x) * 1024)
@@ -278,6 +279,8 @@ void agp3_generic_cleanup(void);
 #define AGP_GENERIC_SIZES_ENTRIES 11
 extern struct aper_size_info_16 agp3_generic_sizes[];
 
+#define virt_to_gart(x) (phys_to_gart(virt_to_phys(x)))
+#define gart_to_virt(x) (phys_to_virt(gart_to_phys(x)))
 
 extern int agp_off;
 extern int agp_try_unsupported_boot;