From 7d88040f523a1e82435a4bfae71d3b370d7a6a05 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Fri, 9 Jun 2000 15:14:51 +0000 Subject: [PATCH] Fix define of PCI_DEVICE_ID_3DLABS_GAMMA when not available in the kernel includes. --- linux/gamma_drv.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/linux/gamma_drv.c b/linux/gamma_drv.c index d42cf4ae..a90f09b7 100644 --- a/linux/gamma_drv.c +++ b/linux/gamma_drv.c @@ -36,9 +36,16 @@ EXPORT_SYMBOL(gamma_init); EXPORT_SYMBOL(gamma_cleanup); +#ifndef PCI_DEVICE_ID_3DLABS_GAMMA +#define PCI_DEVICE_ID_3DLABS_GAMMA 0x0008 +#endif +#ifndef PCI_DEVICE_ID_3DLABS_MX +#define PCI_DEVICE_ID_3DLABS_MX 0x0006 +#endif + #define GAMMA_NAME "gamma" #define GAMMA_DESC "3dlabs GMX 2000" -#define GAMMA_DATE "19990830" +#define GAMMA_DATE "20000606" #define GAMMA_MAJOR 1 #define GAMMA_MINOR 0 #define GAMMA_PATCHLEVEL 0