diff options
author | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2007-02-02 11:33:46 +0800 |
---|---|---|
committer | Wang Zhenyu <zhenyu.z.wang@intel.com> | 2007-02-02 11:33:46 +0800 |
commit | 380129a17c61c783d77a87685ad5333e8b1c253c (patch) | |
tree | 47ac1ff106290ff861cc71404a54b32cd14fa6ca /src | |
parent | f7489bbec150349bf03bea8d9d55451dbc92bfc2 (diff) |
Revert original crestline pci id patch
Diffstat (limited to 'src')
-rw-r--r-- | src/common.h | 10 | ||||
-rw-r--r-- | src/i810_driver.c | 3 | ||||
-rw-r--r-- | src/i830_driver.c | 5 |
3 files changed, 2 insertions, 16 deletions
diff --git a/src/common.h b/src/common.h index 92dc2cff..91e31b5f 100644 --- a/src/common.h +++ b/src/common.h @@ -314,11 +314,6 @@ extern int I810_DEBUG; #define PCI_CHIP_I946_GZ_BRIDGE 0x2970 #endif -#ifndef PCI_CHIP_CRESTLINE //XXX: fix with official name -#define PCI_CHIP_CRESTLINE 0x2A02 -#define PCI_CHIP_CRESTLINE_BRIDGE 0x2A00 -#endif - #define IS_I810(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I810 || \ pI810->PciInfo->chipType == PCI_CHIP_I810_DC100 || \ pI810->PciInfo->chipType == PCI_CHIP_I810_E) @@ -334,11 +329,10 @@ extern int I810_DEBUG; #define IS_I915GM(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I915_GM) #define IS_I945G(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I945_G) #define IS_I945GM(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I945_GM) -#define IS_I965G(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I965_G || pI810->PciInfo->chipType == PCI_CHIP_I965_G_1 || pI810->PciInfo->chipType == PCI_CHIP_I965_Q || pI810->PciInfo->chipType == PCI_CHIP_I946_GZ || pI810->PciInfo->chipType == PCI_CHIP_CRESTLINE) +#define IS_I965G(pI810) (pI810->PciInfo->chipType == PCI_CHIP_I965_G || pI810->PciInfo->chipType == PCI_CHIP_I965_G_1 || pI810->PciInfo->chipType == PCI_CHIP_I965_Q || pI810->PciInfo->chipType == PCI_CHIP_I946_GZ) #define IS_I9XX(pI810) (IS_I915G(pI810) || IS_I915GM(pI810) || IS_I945G(pI810) || IS_I945GM(pI810) || IS_I965G(pI810)) -#define IS_CRESTLINE(pI810) (pI810->PciInfo->chipType == PCI_CHIP_CRESTLINE) // XXX: IS_965GM ? -#define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810) || IS_CRESTLINE(pI810)) +#define IS_MOBILE(pI810) (IS_I830(pI810) || IS_I85X(pI810) || IS_I915GM(pI810) || IS_I945GM(pI810)) #define GTT_PAGE_SIZE KB(4) #define ROUND_TO(x, y) (((x) + (y) - 1) / (y) * (y)) diff --git a/src/i810_driver.c b/src/i810_driver.c index 74100cd2..e7c85071 100644 --- a/src/i810_driver.c +++ b/src/i810_driver.c @@ -144,7 +144,6 @@ static SymTabRec I810Chipsets[] = { {PCI_CHIP_I965_G_1, "965G"}, {PCI_CHIP_I965_Q, "965Q"}, {PCI_CHIP_I946_GZ, "946GZ"}, - {PCI_CHIP_CRESTLINE, "Crestline"}, {-1, NULL} }; @@ -168,7 +167,6 @@ static PciChipsets I810PciChipsets[] = { {PCI_CHIP_I965_G_1, PCI_CHIP_I965_G_1, RES_SHARED_VGA}, {PCI_CHIP_I965_Q, PCI_CHIP_I965_Q, RES_SHARED_VGA}, {PCI_CHIP_I946_GZ, PCI_CHIP_I946_GZ, RES_SHARED_VGA}, - {PCI_CHIP_CRESTLINE, PCI_CHIP_CRESTLINE, RES_SHARED_VGA}, {-1, -1, RES_UNDEFINED } }; @@ -603,7 +601,6 @@ I810Probe(DriverPtr drv, int flags) case PCI_CHIP_I965_G_1: case PCI_CHIP_I965_Q: case PCI_CHIP_I946_GZ: - case PCI_CHIP_CRESTLINE: xf86SetEntitySharable(usedChips[i]); /* Allocate an entity private if necessary */ diff --git a/src/i830_driver.c b/src/i830_driver.c index 12b72ac5..0f663115 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -232,7 +232,6 @@ static SymTabRec I830Chipsets[] = { {PCI_CHIP_I965_G_1, "965G"}, {PCI_CHIP_I965_Q, "965Q"}, {PCI_CHIP_I946_GZ, "946GZ"}, - {PCI_CHIP_CRESTLINE, "Crestline"}, {-1, NULL} }; @@ -250,7 +249,6 @@ static PciChipsets I830PciChipsets[] = { {PCI_CHIP_I965_G_1, PCI_CHIP_I965_G_1, RES_SHARED_VGA}, {PCI_CHIP_I965_Q, PCI_CHIP_I965_Q, RES_SHARED_VGA}, {PCI_CHIP_I946_GZ, PCI_CHIP_I946_GZ, RES_SHARED_VGA}, - {PCI_CHIP_CRESTLINE, PCI_CHIP_CRESTLINE, RES_SHARED_VGA}, {-1, -1, RES_UNDEFINED} }; @@ -1047,9 +1045,6 @@ I830PreInit(ScrnInfoPtr pScrn, int flags) case PCI_CHIP_I946_GZ: chipname = "946GZ"; break; - case PCI_CHIP_CRESTLINE: - chipname = "Crestline"; - break; default: chipname = "unknown chipset"; break; |