aboutsummaryrefslogtreecommitdiff
path: root/shared/sis.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-04-21 12:13:31 +0000
committerDave Airlie <airlied@linux.ie>2004-04-21 12:13:31 +0000
commit93bd67ef62e95a32f8b7e2fd7d9dadee52664160 (patch)
tree529b54bcdcfd364d6bc25cabf38999b465dadd80 /shared/sis.h
parent0f32a8852712e405f64c5917bcebefc441aa1ba3 (diff)
centralise pci ids into one place and use scripts to generate files for
kernel
Diffstat (limited to 'shared/sis.h')
-rw-r--r--shared/sis.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/shared/sis.h b/shared/sis.h
index d29ed0dc..c6315d72 100644
--- a/shared/sis.h
+++ b/shared/sis.h
@@ -33,11 +33,7 @@
* Name it sisdrv_##x as there's a conflict with sis_free/malloc in the kernel
* that's used for fb devices
*/
-#ifdef __linux__
#define DRM(x) sisdrv_##x
-#else
-#define DRM(x) sis_##x
-#endif
/* General customization:
*/
@@ -62,13 +58,6 @@
[DRM_IOCTL_NR(DRM_IOCTL_SIS_AGP_FREE)] = { sis_ioctl_agp_free, 1, 0 }, \
[DRM_IOCTL_NR(DRM_IOCTL_SIS_FB_INIT)] = { sis_fb_init, 1, 1 }
-#define DRIVER_PCI_IDS \
- {0x1039, 0x0300, 0, "SiS 300/305"}, \
- {0x1039, 0x5300, 0, "SiS 540"}, \
- {0x1039, 0x6300, 0, "SiS 630"}, \
- {0x1039, 0x7300, 0, "SiS 730"}, \
- {0, 0, 0, NULL}
-
#define __HAVE_COUNTERS 5
/* Buffer customization: