aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorFabian Henze <hoacha@quantentunnel.de>2009-09-07 12:59:58 -0400
committerEric Anholt <eric@anholt.net>2009-09-09 02:33:21 -0400
commit38d8a95621b20ed7868e232a35a26ee61bdcae6f (patch)
treedefe147543a934efc503305436bf6fbc38fe619a /drivers/char
parentcecc6b63a5de547a345c491bb4c18c01a15984a4 (diff)
agp/intel: Add B43 chipset support
Signed-off-by: Fabian Henze <hoacha@quantentunnel.de> [Fix reversed HB & IG ids for B43] Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/agp/intel-agp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index c58557790585..c17291715031 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -36,6 +36,8 @@
36#define PCI_DEVICE_ID_INTEL_Q35_IG 0x29B2 36#define PCI_DEVICE_ID_INTEL_Q35_IG 0x29B2
37#define PCI_DEVICE_ID_INTEL_Q33_HB 0x29D0 37#define PCI_DEVICE_ID_INTEL_Q33_HB 0x29D0
38#define PCI_DEVICE_ID_INTEL_Q33_IG 0x29D2 38#define PCI_DEVICE_ID_INTEL_Q33_IG 0x29D2
39#define PCI_DEVICE_ID_INTEL_B43_HB 0x2E40
40#define PCI_DEVICE_ID_INTEL_B43_IG 0x2E42
39#define PCI_DEVICE_ID_INTEL_GM45_HB 0x2A40 41#define PCI_DEVICE_ID_INTEL_GM45_HB 0x2A40
40#define PCI_DEVICE_ID_INTEL_GM45_IG 0x2A42 42#define PCI_DEVICE_ID_INTEL_GM45_IG 0x2A42
41#define PCI_DEVICE_ID_INTEL_IGD_E_HB 0x2E00 43#define PCI_DEVICE_ID_INTEL_IGD_E_HB 0x2E00
@@ -81,6 +83,7 @@
81 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB || \ 83 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB || \
82 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB || \ 84 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB || \
83 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G41_HB || \ 85 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G41_HB || \
86 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_B43_HB || \
84 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGDNG_D_HB || \ 87 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGDNG_D_HB || \
85 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGDNG_M_HB || \ 88 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGDNG_M_HB || \
86 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGDNG_MA_HB) 89 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGDNG_MA_HB)
@@ -1216,6 +1219,7 @@ static void intel_i965_get_gtt_range(int *gtt_offset, int *gtt_size)
1216 case PCI_DEVICE_ID_INTEL_Q45_HB: 1219 case PCI_DEVICE_ID_INTEL_Q45_HB:
1217 case PCI_DEVICE_ID_INTEL_G45_HB: 1220 case PCI_DEVICE_ID_INTEL_G45_HB:
1218 case PCI_DEVICE_ID_INTEL_G41_HB: 1221 case PCI_DEVICE_ID_INTEL_G41_HB:
1222 case PCI_DEVICE_ID_INTEL_B43_HB:
1219 case PCI_DEVICE_ID_INTEL_IGDNG_D_HB: 1223 case PCI_DEVICE_ID_INTEL_IGDNG_D_HB:
1220 case PCI_DEVICE_ID_INTEL_IGDNG_M_HB: 1224 case PCI_DEVICE_ID_INTEL_IGDNG_M_HB:
1221 case PCI_DEVICE_ID_INTEL_IGDNG_MA_HB: 1225 case PCI_DEVICE_ID_INTEL_IGDNG_MA_HB:
@@ -2192,6 +2196,8 @@ static const struct intel_driver_description {
2192 "Q45/Q43", NULL, &intel_i965_driver }, 2196 "Q45/Q43", NULL, &intel_i965_driver },
2193 { PCI_DEVICE_ID_INTEL_G45_HB, PCI_DEVICE_ID_INTEL_G45_IG, 0, 2197 { PCI_DEVICE_ID_INTEL_G45_HB, PCI_DEVICE_ID_INTEL_G45_IG, 0,
2194 "G45/G43", NULL, &intel_i965_driver }, 2198 "G45/G43", NULL, &intel_i965_driver },
2199 { PCI_DEVICE_ID_INTEL_B43_HB, PCI_DEVICE_ID_INTEL_B43_IG, 0,
2200 "B43", NULL, &intel_i965_driver },
2195 { PCI_DEVICE_ID_INTEL_G41_HB, PCI_DEVICE_ID_INTEL_G41_IG, 0, 2201 { PCI_DEVICE_ID_INTEL_G41_HB, PCI_DEVICE_ID_INTEL_G41_IG, 0,
2196 "G41", NULL, &intel_i965_driver }, 2202 "G41", NULL, &intel_i965_driver },
2197 { PCI_DEVICE_ID_INTEL_IGDNG_D_HB, PCI_DEVICE_ID_INTEL_IGDNG_D_IG, 0, 2203 { PCI_DEVICE_ID_INTEL_IGDNG_D_HB, PCI_DEVICE_ID_INTEL_IGDNG_D_IG, 0,
@@ -2401,6 +2407,7 @@ static struct pci_device_id agp_intel_pci_table[] = {
2401 ID(PCI_DEVICE_ID_INTEL_Q45_HB), 2407 ID(PCI_DEVICE_ID_INTEL_Q45_HB),
2402 ID(PCI_DEVICE_ID_INTEL_G45_HB), 2408 ID(PCI_DEVICE_ID_INTEL_G45_HB),
2403 ID(PCI_DEVICE_ID_INTEL_G41_HB), 2409 ID(PCI_DEVICE_ID_INTEL_G41_HB),
2410 ID(PCI_DEVICE_ID_INTEL_B43_HB),
2404 ID(PCI_DEVICE_ID_INTEL_IGDNG_D_HB), 2411 ID(PCI_DEVICE_ID_INTEL_IGDNG_D_HB),
2405 ID(PCI_DEVICE_ID_INTEL_IGDNG_M_HB), 2412 ID(PCI_DEVICE_ID_INTEL_IGDNG_M_HB),
2406 ID(PCI_DEVICE_ID_INTEL_IGDNG_MA_HB), 2413 ID(PCI_DEVICE_ID_INTEL_IGDNG_MA_HB),