diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-09 14:45:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-09 14:45:18 -0400 |
commit | 90f30eccf41302a2542f5d374af243061902bd98 (patch) | |
tree | 0cd12b5fd0cb7665e165eabbc0b460dbd6765acd | |
parent | c2481cc4a8727141474472cb1301fce989ce0865 (diff) | |
parent | 4598af33d9143942f00cf7692b247027aba35316 (diff) |
Merge branch 'for-2.6.21' of master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart
* 'for-2.6.21' of master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
[AGPGART] intel_agp: PCI id update for Intel 965GM
-rw-r--r-- | drivers/char/agp/intel-agp.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index e542a628f1c7..a9fdbf9126ca 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -18,11 +18,14 @@ | |||
18 | #define PCI_DEVICE_ID_INTEL_82965Q_IG 0x2992 | 18 | #define PCI_DEVICE_ID_INTEL_82965Q_IG 0x2992 |
19 | #define PCI_DEVICE_ID_INTEL_82965G_HB 0x29A0 | 19 | #define PCI_DEVICE_ID_INTEL_82965G_HB 0x29A0 |
20 | #define PCI_DEVICE_ID_INTEL_82965G_IG 0x29A2 | 20 | #define PCI_DEVICE_ID_INTEL_82965G_IG 0x29A2 |
21 | #define PCI_DEVICE_ID_INTEL_82965GM_HB 0x2A00 | ||
22 | #define PCI_DEVICE_ID_INTEL_82965GM_IG 0x2A02 | ||
21 | 23 | ||
22 | #define IS_I965 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82946GZ_HB || \ | 24 | #define IS_I965 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82946GZ_HB || \ |
23 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_1_HB || \ | 25 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_1_HB || \ |
24 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965Q_HB || \ | 26 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965Q_HB || \ |
25 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_HB) | 27 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_HB || \ |
28 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GM_HB) | ||
26 | 29 | ||
27 | 30 | ||
28 | extern int agp_memory_reserved; | 31 | extern int agp_memory_reserved; |
@@ -1921,7 +1924,13 @@ static int __devinit agp_intel_probe(struct pci_dev *pdev, | |||
1921 | bridge->driver = &intel_845_driver; | 1924 | bridge->driver = &intel_845_driver; |
1922 | name = "965G"; | 1925 | name = "965G"; |
1923 | break; | 1926 | break; |
1924 | 1927 | case PCI_DEVICE_ID_INTEL_82965GM_HB: | |
1928 | if (find_i830(PCI_DEVICE_ID_INTEL_82965GM_IG)) | ||
1929 | bridge->driver = &intel_i965_driver; | ||
1930 | else | ||
1931 | bridge->driver = &intel_845_driver; | ||
1932 | name = "965GM"; | ||
1933 | break; | ||
1925 | case PCI_DEVICE_ID_INTEL_7505_0: | 1934 | case PCI_DEVICE_ID_INTEL_7505_0: |
1926 | bridge->driver = &intel_7505_driver; | 1935 | bridge->driver = &intel_7505_driver; |
1927 | name = "E7505"; | 1936 | name = "E7505"; |
@@ -2080,6 +2089,7 @@ static struct pci_device_id agp_intel_pci_table[] = { | |||
2080 | ID(PCI_DEVICE_ID_INTEL_82965G_1_HB), | 2089 | ID(PCI_DEVICE_ID_INTEL_82965G_1_HB), |
2081 | ID(PCI_DEVICE_ID_INTEL_82965Q_HB), | 2090 | ID(PCI_DEVICE_ID_INTEL_82965Q_HB), |
2082 | ID(PCI_DEVICE_ID_INTEL_82965G_HB), | 2091 | ID(PCI_DEVICE_ID_INTEL_82965G_HB), |
2092 | ID(PCI_DEVICE_ID_INTEL_82965GM_HB), | ||
2083 | { } | 2093 | { } |
2084 | }; | 2094 | }; |
2085 | 2095 | ||