summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/mach64.h23
-rw-r--r--shared/mga.h6
-rw-r--r--shared/r128.h40
-rw-r--r--shared/radeon.h61
-rw-r--r--shared/sis.h11
-rw-r--r--shared/tdfx.h8
-rw-r--r--shared/via.h7
7 files changed, 0 insertions, 156 deletions
diff --git a/shared/mach64.h b/shared/mach64.h
index d081e07a..f8be3937 100644
--- a/shared/mach64.h
+++ b/shared/mach64.h
@@ -71,29 +71,6 @@
[DRM_IOCTL_NR(DRM_IOCTL_MACH64_FLUSH)] = { mach64_dma_flush, 1, 0 }, \
[DRM_IOCTL_NR(DRM_IOCTL_MACH64_GETPARAM)] = { mach64_get_param, 1, 0 }
-#define DRIVER_PCI_IDS \
- {0x1002, 0x4749, 0, "3D Rage Pro"}, \
- {0x1002, 0x4750, 0, "3D Rage Pro 215GP"}, \
- {0x1002, 0x4751, 0, "3D Rage Pro 215GQ"}, \
- {0x1002, 0x4742, 0, "3D Rage Pro AGP 1X/2X"}, \
- {0x1002, 0x4744, 0, "3D Rage Pro AGP 1X"}, \
- {0x1002, 0x4c49, 0, "3D Rage LT Pro"}, \
- {0x1002, 0x4c50, 0, "3D Rage LT Pro"}, \
- {0x1002, 0x4c51, 0, "3D Rage LT Pro"}, \
- {0x1002, 0x4c42, 0, "3D Rage LT Pro AGP-133"}, \
- {0x1002, 0x4c44, 0, "3D Rage LT Pro AGP-66"}, \
- {0x1002, 0x474c, 0, "Rage XC"}, \
- {0x1002, 0x474f, 0, "Rage XL"}, \
- {0x1002, 0x4752, 0, "Rage XL"}, \
- {0x1002, 0x4753, 0, "Rage XC"}, \
- {0x1002, 0x474d, 0, "Rage XL AGP 2X"}, \
- {0x1002, 0x474e, 0, "Rage XC AGP"}, \
- {0x1002, 0x4c52, 0, "Rage Mobility P/M"}, \
- {0x1002, 0x4c53, 0, "Rage Mobility L"}, \
- {0x1002, 0x4c4d, 0, "Rage Mobility P/M AGP 2X"}, \
- {0x1002, 0x4c4e, 0, "Rage Mobility L AGP 2X"}, \
- {0, 0, 0, NULL}
-
/* Driver customization:
*/
#define DRIVER_PRETAKEDOWN() do { \
diff --git a/shared/mga.h b/shared/mga.h
index 05fa9eb7..702857a3 100644
--- a/shared/mga.h
+++ b/shared/mga.h
@@ -64,12 +64,6 @@
[DRM_IOCTL_NR(DRM_IOCTL_MGA_BLIT)] = { mga_dma_blit, 1, 0 }, \
[DRM_IOCTL_NR(DRM_IOCTL_MGA_GETPARAM)]= { mga_getparam, 1, 0 },
-#define DRIVER_PCI_IDS \
- {0x102b, 0x0521, 0, "Matrox G200 (AGP)"}, \
- {0x102b, 0x0525, 0, "Matrox G400/G450 (AGP)"}, \
- {0x102b, 0x2527, 0, "Matrox G550 (AGP)"}, \
- {0, 0, 0, NULL}
-
#define __HAVE_COUNTERS 3
#define __HAVE_COUNTER6 _DRM_STAT_IRQ
#define __HAVE_COUNTER7 _DRM_STAT_PRIMARY
diff --git a/shared/r128.h b/shared/r128.h
index ffbe3aa8..9dfe1897 100644
--- a/shared/r128.h
+++ b/shared/r128.h
@@ -79,46 +79,6 @@
[DRM_IOCTL_NR(DRM_IOCTL_R128_INDIRECT)] = { r128_cce_indirect, 1, 1 }, \
[DRM_IOCTL_NR(DRM_IOCTL_R128_GETPARAM)] = { r128_getparam, 1, 0 },
-#define DRIVER_PCI_IDS \
- {0x1002, 0x4c45, 0, "ATI Rage 128 Mobility LE (PCI)"}, \
- {0x1002, 0x4c46, 0, "ATI Rage 128 Mobility LF (AGP)"}, \
- {0x1002, 0x4d46, 0, "ATI Rage 128 Mobility MF (AGP)"}, \
- {0x1002, 0x4d4c, 0, "ATI Rage 128 Mobility ML (AGP)"}, \
- {0x1002, 0x5041, 0, "ATI Rage 128 Pro PA (PCI)"}, \
- {0x1002, 0x5042, 0, "ATI Rage 128 Pro PB (AGP)"}, \
- {0x1002, 0x5043, 0, "ATI Rage 128 Pro PC (AGP)"}, \
- {0x1002, 0x5044, 0, "ATI Rage 128 Pro PD (PCI)"}, \
- {0x1002, 0x5045, 0, "ATI Rage 128 Pro PE (AGP)"}, \
- {0x1002, 0x5046, 0, "ATI Rage 128 Pro PF (AGP)"}, \
- {0x1002, 0x5047, 0, "ATI Rage 128 Pro PG (PCI)"}, \
- {0x1002, 0x5048, 0, "ATI Rage 128 Pro PH (AGP)"}, \
- {0x1002, 0x5049, 0, "ATI Rage 128 Pro PI (AGP)"}, \
- {0x1002, 0x504A, 0, "ATI Rage 128 Pro PJ (PCI)"}, \
- {0x1002, 0x504B, 0, "ATI Rage 128 Pro PK (AGP)"}, \
- {0x1002, 0x504C, 0, "ATI Rage 128 Pro PL (AGP)"}, \
- {0x1002, 0x504D, 0, "ATI Rage 128 Pro PM (PCI)"}, \
- {0x1002, 0x504E, 0, "ATI Rage 128 Pro PN (AGP)"}, \
- {0x1002, 0x504F, 0, "ATI Rage 128 Pro PO (AGP)"}, \
- {0x1002, 0x5050, 0, "ATI Rage 128 Pro PP (PCI)"}, \
- {0x1002, 0x5051, 0, "ATI Rage 128 Pro PQ (AGP)"}, \
- {0x1002, 0x5052, 0, "ATI Rage 128 Pro PR (PCI)"}, \
- {0x1002, 0x5053, 0, "ATI Rage 128 Pro PS (PCI)"}, \
- {0x1002, 0x5054, 0, "ATI Rage 128 Pro PT (AGP)"}, \
- {0x1002, 0x5055, 0, "ATI Rage 128 Pro PU (AGP)"}, \
- {0x1002, 0x5056, 0, "ATI Rage 128 Pro PV (PCI)"}, \
- {0x1002, 0x5057, 0, "ATI Rage 128 Pro PW (AGP)"}, \
- {0x1002, 0x5058, 0, "ATI Rage 128 Pro PX (AGP)"}, \
- {0x1002, 0x5245, 0, "ATI Rage 128 RE (PCI)"}, \
- {0x1002, 0x5246, 0, "ATI Rage 128 RF (AGP)"}, \
- {0x1002, 0x5247, 0, "ATI Rage 128 RG (AGP)"}, \
- {0x1002, 0x524b, 0, "ATI Rage 128 RK (PCI)"}, \
- {0x1002, 0x524c, 0, "ATI Rage 128 RL (AGP)"}, \
- {0x1002, 0x534d, 0, "ATI Rage 128 SM (AGP)"}, \
- {0x1002, 0x5446, 0, "ATI Rage 128 Pro Ultra TF (AGP)"}, \
- {0x1002, 0x544C, 0, "ATI Rage 128 Pro Ultra TL (AGP)"}, \
- {0x1002, 0x5452, 0, "ATI Rage 128 Pro Ultra TR (AGP)"}, \
- {0, 0, 0, NULL}
-
/* Driver customization:
*/
#define DRIVER_PRERELEASE() do { \
diff --git a/shared/radeon.h b/shared/radeon.h
index fc392fa6..77e36efc 100644
--- a/shared/radeon.h
+++ b/shared/radeon.h
@@ -113,67 +113,6 @@
[DRM_IOCTL_NR(DRM_IOCTL_RADEON_IRQ_WAIT)] = { radeon_irq_wait, 1, 0 }, \
[DRM_IOCTL_NR(DRM_IOCTL_RADEON_SETPARAM)] = { radeon_cp_setparam, 1, 0 }, \
-#define DRIVER_PCI_IDS \
- {0x1002, 0x4136, 0, "ATI Radeon RS100 IGP 320M"}, \
- {0x1002, 0x4137, 0, "ATI Radeon RS200 IGP"}, \
- {0x1002, 0x4237, 0, "ATI Radeon RS250 IGP"}, \
- {0x1002, 0x4242, 0, "ATI Radeon BB R200 AIW 8500DV"}, \
- {0x1002, 0x4242, 0, "ATI Radeon BC R200"}, \
- {0x1002, 0x4336, 0, "ATI Radeon RS100 Mobility U1"}, \
- {0x1002, 0x4337, 0, "ATI Radeon RS200 Mobility IGP 340M"}, \
- {0x1002, 0x4437, 0, "ATI Radeon RS250 Mobility IGP"}, \
- {0x1002, 0x4964, 0, "ATI Radeon Id R250 9000"}, \
- {0x1002, 0x4965, 0, "ATI Radeon Ie R250 9000"}, \
- {0x1002, 0x4966, 0, "ATI Radeon If R250 9000"}, \
- {0x1002, 0x4967, 0, "ATI Radeon Ig R250 9000"}, \
- {0x1002, 0x4C57, 0, "ATI Radeon LW Mobility 7500 M7"}, \
- {0x1002, 0x4C58, 0, "ATI Radeon LX RV200 Mobility FireGL 7800 M7"}, \
- {0x1002, 0x4C59, 0, "ATI Radeon LY Mobility M6"}, \
- {0x1002, 0x4C5A, 0, "ATI Radeon LZ Mobility M6"}, \
- {0x1002, 0x4C64, 0, "ATI Radeon Ld R250 Mobility 9000 M9"}, \
- {0x1002, 0x4C65, 0, "ATI Radeon Le R250 Mobility 9000 M9"}, \
- {0x1002, 0x4C66, 0, "ATI Radeon Lf R250 Mobility 9000 M9"}, \
- {0x1002, 0x4C67, 0, "ATI Radeon Lg R250 Mobility 9000 M9"}, \
- {0x1002, 0x5144, 0, "ATI Radeon QD R100"}, \
- {0x1002, 0x5145, 0, "ATI Radeon QE R100"}, \
- {0x1002, 0x5146, 0, "ATI Radeon QF R100"}, \
- {0x1002, 0x5147, 0, "ATI Radeon QG R100"}, \
- {0x1002, 0x5148, 0, "ATI Radeon QH R200 8500"}, \
- {0x1002, 0x5149, 0, "ATI Radeon QI R200"}, \
- {0x1002, 0x514A, 0, "ATI Radeon QJ R200"}, \
- {0x1002, 0x514B, 0, "ATI Radeon QK R200"}, \
- {0x1002, 0x514C, 0, "ATI Radeon QL R200 8500 LE"}, \
- {0x1002, 0x514D, 0, "ATI Radeon QM R200 9100"}, \
- {0x1002, 0x514E, 0, "ATI Radeon QN R200 8500 LE"}, \
- {0x1002, 0x514F, 0, "ATI Radeon QO R200 8500 LE"}, \
- {0x1002, 0x5157, 0, "ATI Radeon QW RV200 7500"}, \
- {0x1002, 0x5158, 0, "ATI Radeon QX RV200 7500"}, \
- {0x1002, 0x5159, 0, "ATI Radeon QY RV100 7000/VE"}, \
- {0x1002, 0x515A, 0, "ATI Radeon QZ RV100 7000/VE"}, \
- {0x1002, 0x5168, 0, "ATI Radeon Qh R200"}, \
- {0x1002, 0x5169, 0, "ATI Radeon Qi R200"}, \
- {0x1002, 0x516A, 0, "ATI Radeon Qj R200"}, \
- {0x1002, 0x516B, 0, "ATI Radeon Qk R200"}, \
- {0x1002, 0x516C, 0, "ATI Radeon Ql R200"}, \
- {0x1002, 0x5834, 0, "ATI Radeon RS300 IGP"}, \
- {0x1002, 0x5835, 0, "ATI Radeon RS300 Mobility IGP"}, \
- {0x1002, 0x5836, 0, "ATI Radeon RS300 IGP"}, \
- {0x1002, 0x5837, 0, "ATI Radeon RS300 IGP"}, \
- {0x1002, 0x5960, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x5961, 0, "ATI Radeon RV280 9200 SE"}, \
- {0x1002, 0x5962, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x5963, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x5964, 0, "ATI Radeon RV280 9200 SE"}, \
- {0x1002, 0x5968, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x5969, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x596A, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x596B, 0, "ATI Radeon RV280 9200"}, \
- {0x1002, 0x5c61, 0, "ATI Radeon RV280 Mobility"}, \
- {0x1002, 0x5c62, 0, "ATI Radeon RV280"}, \
- {0x1002, 0x5c63, 0, "ATI Radeon RV280 Mobility"}, \
- {0x1002, 0x5c64, 0, "ATI Radeon RV280"}, \
- {0, 0, 0, NULL}
-
#define DRIVER_FILE_FIELDS \
int64_t radeon_fb_delta; \
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:
diff --git a/shared/tdfx.h b/shared/tdfx.h
index 642b08dc..6b067db7 100644
--- a/shared/tdfx.h
+++ b/shared/tdfx.h
@@ -49,12 +49,4 @@
#define DRIVER_MINOR 0
#define DRIVER_PATCHLEVEL 0
-#define DRIVER_PCI_IDS \
- {0x121a, 0x0003, 0, "3dfx Voodoo Banshee"}, \
- {0x121a, 0x0004, 0, "3dfx Voodoo3 2000"}, \
- {0x121a, 0x0005, 0, "3dfx Voodoo3 3000"}, \
- {0x121a, 0x0007, 0, "3dfx Voodoo4"}, \
- {0x121a, 0x0009, 0, "3dfx Voodoo5"}, \
- {0, 0, 0, NULL}
-
#endif
diff --git a/shared/via.h b/shared/via.h
index 7974dfbe..46ac6536 100644
--- a/shared/via.h
+++ b/shared/via.h
@@ -52,11 +52,4 @@ extern int via_final_context(int context);
#define DRIVER_CTX_CTOR via_init_context
#define DRIVER_CTX_DTOR via_final_context
-#define DRIVER_PCI_IDS \
- {0x1106, 0x3022, 0, "VIA CLE266 3022"}, \
- {0x1106, 0x3122, 0, "VIA CLE266"}, \
- {0x1106, 0x7205, 0, "VIA KM400"}, \
- {0x1106, 0x7204, 0, "VIA K8M800"}, \
- {0, 0, 0, NULL}
-
#endif