diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-04-10 16:57:34 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 03:04:54 -0400 |
commit | cc406341d26381bf27329704360dfecd547b4fc0 (patch) | |
tree | df34f9ca43d420b37c2d65b7d326739a9811b5fd /drivers/video/savage/savagefb.h | |
parent | 1db41e032d563eb47deab40dc5595be306b143ba (diff) |
savagefb: New S3_TWISTER and S3_PROSAVAGEDDR chip families
Realign the chip families with the Xorg DDX
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/savage/savagefb.h')
-rw-r--r-- | drivers/video/savage/savagefb.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/savage/savagefb.h b/drivers/video/savage/savagefb.h index 4e9490c19d7d..32549d177b19 100644 --- a/drivers/video/savage/savagefb.h +++ b/drivers/video/savage/savagefb.h | |||
@@ -36,7 +36,6 @@ | |||
36 | #define PCI_CHIP_SAVAGE_IX 0x8c13 | 36 | #define PCI_CHIP_SAVAGE_IX 0x8c13 |
37 | #define PCI_CHIP_PROSAVAGE_PM 0x8a25 | 37 | #define PCI_CHIP_PROSAVAGE_PM 0x8a25 |
38 | #define PCI_CHIP_PROSAVAGE_KM 0x8a26 | 38 | #define PCI_CHIP_PROSAVAGE_KM 0x8a26 |
39 | /* Twister is a code name; hope I get the real name soon. */ | ||
40 | #define PCI_CHIP_S3TWISTER_P 0x8d01 | 39 | #define PCI_CHIP_S3TWISTER_P 0x8d01 |
41 | #define PCI_CHIP_S3TWISTER_K 0x8d02 | 40 | #define PCI_CHIP_S3TWISTER_K 0x8d02 |
42 | #define PCI_CHIP_PROSAVAGE_DDR 0x8d03 | 41 | #define PCI_CHIP_PROSAVAGE_DDR 0x8d03 |
@@ -52,14 +51,15 @@ | |||
52 | #define PCI_CHIP_SUPSAV_IXCDDR 0x8c2f | 51 | #define PCI_CHIP_SUPSAV_IXCDDR 0x8c2f |
53 | 52 | ||
54 | 53 | ||
54 | #define S3_SAVAGE_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE2000)) | ||
55 | 55 | ||
56 | #define S3_SAVAGE3D_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE_MX)) | 56 | #define S3_SAVAGE3D_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE_MX)) |
57 | 57 | ||
58 | #define S3_SAVAGE4_SERIES(chip) ((chip==S3_SAVAGE4) || (chip==S3_PROSAVAGE)) | 58 | #define S3_SAVAGE4_SERIES(chip) ((chip>=S3_SAVAGE4) || (chip<=S3_PROSAVAGEDDR)) |
59 | 59 | ||
60 | #define S3_SAVAGE_MOBILE_SERIES(chip) ((chip==S3_SAVAGE_MX) || (chip==S3_SUPERSAVAGE)) | 60 | #define S3_SAVAGE_MOBILE_SERIES(chip) ((chip==S3_SAVAGE_MX) || (chip==S3_SUPERSAVAGE)) |
61 | 61 | ||
62 | #define S3_SAVAGE_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE2000)) | 62 | #define S3_MOBILE_TWISTER_SERIES(chip) ((chip==S3_TWISTER) || (chip==S3_PROSAVAGEDDR)) |
63 | 63 | ||
64 | /* Chip tags. These are used to group the adapters into | 64 | /* Chip tags. These are used to group the adapters into |
65 | * related families. | 65 | * related families. |
@@ -71,6 +71,8 @@ typedef enum { | |||
71 | S3_SAVAGE_MX, | 71 | S3_SAVAGE_MX, |
72 | S3_SAVAGE4, | 72 | S3_SAVAGE4, |
73 | S3_PROSAVAGE, | 73 | S3_PROSAVAGE, |
74 | S3_TWISTER, | ||
75 | S3_PROSAVAGEDDR, | ||
74 | S3_SUPERSAVAGE, | 76 | S3_SUPERSAVAGE, |
75 | S3_SAVAGE2000, | 77 | S3_SAVAGE2000, |
76 | S3_LAST | 78 | S3_LAST |