Skip to content

Commit dcd981a

Browse files
gregkhairlied
authored andcommitted
agp/via: fixup pci ids
add a new PCI ID and remove an old dodgy one, include the explaination in the commented code so nobody readds later. (davej also sent the pci id addition). Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 952f4a0 commit dcd981a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎drivers/char/agp/via-agp.c‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,20 @@ static struct agp_device_ids via_agp_device_ids[] __devinitdata =
389389
.device_id = PCI_DEVICE_ID_VIA_VT3324,
390390
.chipset_name = "CX700",
391391
},
392-
/* VT3336 */
392+
/* VT3336 - this is a chipset for AMD Athlon/K8 CPU. Due to K8's unique
393+
* architecture, the AGP resource and behavior are different from
394+
* the traditional AGP which resides only in chipset. AGP is used
395+
* by 3D driver which wasn't available for the VT3336 and VT3364
396+
* generation until now. Unfortunately, by testing, VT3364 works
397+
* but VT3336 doesn't. - explaination from via, just leave this as
398+
* as a placeholder to avoid future patches adding it back in.
399+
*/
400+
#if 0
393401
{
394402
.device_id = PCI_DEVICE_ID_VIA_VT3336,
395403
.chipset_name = "VT3336",
396404
},
405+
#endif
397406
/* P4M890 */
398407
{
399408
.device_id = PCI_DEVICE_ID_VIA_P4M890,
@@ -546,8 +555,8 @@ static const struct pci_device_id agp_via_pci_table[] = {
546555
ID(PCI_DEVICE_ID_VIA_3296_0),
547556
ID(PCI_DEVICE_ID_VIA_P4M800CE),
548557
ID(PCI_DEVICE_ID_VIA_VT3324),
549-
ID(PCI_DEVICE_ID_VIA_VT3336),
550558
ID(PCI_DEVICE_ID_VIA_P4M890),
559+
ID(PCI_DEVICE_ID_VIA_VT3364),
551560
{ }
552561
};
553562

0 commit comments

Comments
 (0)