Skip to content

Commit 53371ed

Browse files
ossilatorickle
authored andcommitted
agp/intel: Fix device names of i845 and 845G
They got mixed up when the switch was converted to a table in 2007. Signed-off-by: Oswald Buddenhagen <ossi@kde.org> [ickle: minor changes for 2.6.37+] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
1 parent 1591192 commit 53371ed

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,8 @@ static const struct intel_agp_driver_description {
717717
{ PCI_DEVICE_ID_INTEL_82820_UP_HB, "i820", &intel_820_driver },
718718
{ PCI_DEVICE_ID_INTEL_82830_HB, "830M", &intel_830mp_driver },
719719
{ PCI_DEVICE_ID_INTEL_82840_HB, "i840", &intel_840_driver },
720-
{ PCI_DEVICE_ID_INTEL_82845_HB, "845G", &intel_845_driver },
721-
{ PCI_DEVICE_ID_INTEL_82845G_HB, "830M", &intel_845_driver },
720+
{ PCI_DEVICE_ID_INTEL_82845_HB, "i845", &intel_845_driver },
721+
{ PCI_DEVICE_ID_INTEL_82845G_HB, "845G", &intel_845_driver },
722722
{ PCI_DEVICE_ID_INTEL_82850_HB, "i850", &intel_850_driver },
723723
{ PCI_DEVICE_ID_INTEL_82854_HB, "854", &intel_845_driver },
724724
{ PCI_DEVICE_ID_INTEL_82855PM_HB, "855PM", &intel_845_driver },

‎drivers/char/agp/intel-gtt.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ static const struct intel_gtt_driver_description {
13611361
&i81x_gtt_driver},
13621362
{ PCI_DEVICE_ID_INTEL_82830_CGC, "830M",
13631363
&i8xx_gtt_driver},
1364-
{ PCI_DEVICE_ID_INTEL_82845G_IG, "830M",
1364+
{ PCI_DEVICE_ID_INTEL_82845G_IG, "845G",
13651365
&i8xx_gtt_driver},
13661366
{ PCI_DEVICE_ID_INTEL_82854_IG, "854",
13671367
&i8xx_gtt_driver},

0 commit comments

Comments
 (0)