From 0316fe8319ff62e527d0d91a3bc7df1c59eafae8 Mon Sep 17 00:00:00 2001 From: Zwane Mwaikambo Date: Mon, 29 Jan 2007 21:20:31 -0800 Subject: [AGPGART] compat ioctl The following video card requires the agpgart driver ioctl interface in order to detect video memory. 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) Tested on a Thinkpad Z61t, Xorg.0.log from a 32bit debian Xorg is at; http://montezuma.homeunix.net/Xorg.0.log Signed-off-by: Zwane Mwaikambo Signed-off-by: Dave Jones --- drivers/char/agp/agp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/char/agp/agp.h') diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 1d59e2a5b9a..7fc72d12e7b 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h @@ -288,6 +288,8 @@ extern struct aper_size_info_16 agp3_generic_sizes[]; extern int agp_off; extern int agp_try_unsupported_boot; +long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg); + /* Chipset independant registers (from AGP Spec) */ #define AGP_APBASE 0x10 -- cgit v1.2.3