diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2000-06-09 15:14:51 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2000-06-09 15:14:51 +0000 |
commit | 7d88040f523a1e82435a4bfae71d3b370d7a6a05 (patch) | |
tree | a80ab6b09c1419fb1802185495df9c5f12935241 | |
parent | 0dc99dc4b941ca5b47ebbf7c7f03cb16b296f87c (diff) |
Fix define of PCI_DEVICE_ID_3DLABS_GAMMA when not available in the kernel
includes.
-rw-r--r-- | linux/gamma_drv.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 |