aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/aty')
-rw-r--r--drivers/video/aty/radeon_base.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
index 4f01ccc02aa4..156db84cb363 100644
--- a/drivers/video/aty/radeon_base.c
+++ b/drivers/video/aty/radeon_base.c
@@ -594,7 +594,7 @@ static int __devinit radeon_probe_pll_params(struct radeonfb_info *rinfo)
594} 594}
595 595
596/* 596/*
597 * Retreive PLL infos by different means (BIOS, Open Firmware, register probing...) 597 * Retrieve PLL infos by different means (BIOS, Open Firmware, register probing...)
598 */ 598 */
599static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo) 599static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo)
600{ 600{
@@ -660,17 +660,17 @@ static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo)
660 660
661#ifdef CONFIG_PPC_OF 661#ifdef CONFIG_PPC_OF
662 /* 662 /*
663 * Retreive PLL infos from Open Firmware first 663 * Retrieve PLL infos from Open Firmware first
664 */ 664 */
665 if (!force_measure_pll && radeon_read_xtal_OF(rinfo) == 0) { 665 if (!force_measure_pll && radeon_read_xtal_OF(rinfo) == 0) {
666 printk(KERN_INFO "radeonfb: Retreived PLL infos from Open Firmware\n"); 666 printk(KERN_INFO "radeonfb: Retrieved PLL infos from Open Firmware\n");
667 goto found; 667 goto found;
668 } 668 }
669#endif /* CONFIG_PPC_OF */ 669#endif /* CONFIG_PPC_OF */
670 670
671 /* 671 /*
672 * Check out if we have an X86 which gave us some PLL informations 672 * Check out if we have an X86 which gave us some PLL informations
673 * and if yes, retreive them 673 * and if yes, retrieve them
674 */ 674 */
675 if (!force_measure_pll && rinfo->bios_seg) { 675 if (!force_measure_pll && rinfo->bios_seg) {
676 u16 pll_info_block = BIOS_IN16(rinfo->fp_bios_start + 0x30); 676 u16 pll_info_block = BIOS_IN16(rinfo->fp_bios_start + 0x30);
@@ -682,7 +682,7 @@ static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo)
682 rinfo->pll.ppll_min = BIOS_IN32(pll_info_block + 0x12); 682 rinfo->pll.ppll_min = BIOS_IN32(pll_info_block + 0x12);
683 rinfo->pll.ppll_max = BIOS_IN32(pll_info_block + 0x16); 683 rinfo->pll.ppll_max = BIOS_IN32(pll_info_block + 0x16);
684 684
685 printk(KERN_INFO "radeonfb: Retreived PLL infos from BIOS\n"); 685 printk(KERN_INFO "radeonfb: Retrieved PLL infos from BIOS\n");
686 goto found; 686 goto found;
687 } 687 }
688 688
@@ -691,7 +691,7 @@ static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo)
691 * probe them 691 * probe them
692 */ 692 */
693 if (radeon_probe_pll_params(rinfo) == 0) { 693 if (radeon_probe_pll_params(rinfo) == 0) {
694 printk(KERN_INFO "radeonfb: Retreived PLL infos from registers\n"); 694 printk(KERN_INFO "radeonfb: Retrieved PLL infos from registers\n");
695 goto found; 695 goto found;
696 } 696 }
697 697
@@ -702,7 +702,7 @@ static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo)
702 702
703found: 703found:
704 /* 704 /*
705 * Some methods fail to retreive SCLK and MCLK values, we apply default 705 * Some methods fail to retrieve SCLK and MCLK values, we apply default
706 * settings in this case (200Mhz). If that really happne often, we could 706 * settings in this case (200Mhz). If that really happne often, we could
707 * fetch from registers instead... 707 * fetch from registers instead...
708 */ 708 */
@@ -2393,7 +2393,7 @@ static int radeonfb_pci_register (struct pci_dev *pdev,
2393 rinfo->mapped_vram/1024); 2393 rinfo->mapped_vram/1024);
2394 2394
2395 /* 2395 /*
2396 * Map the BIOS ROM if any and retreive PLL parameters from 2396 * Map the BIOS ROM if any and retrieve PLL parameters from
2397 * the BIOS. We skip that on mobility chips as the real panel 2397 * the BIOS. We skip that on mobility chips as the real panel
2398 * values we need aren't in the ROM but in the BIOS image in 2398 * values we need aren't in the ROM but in the BIOS image in
2399 * memory. This is definitely not the best meacnism though, 2399 * memory. This is definitely not the best meacnism though,