diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-07 09:40:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-07 09:40:05 -0500 |
commit | 123656d4cc8c946f578ebd18c2050f5251720428 (patch) | |
tree | 3d5432eff034a3b9cfdc98b37e245abe5695342d /drivers/video | |
parent | a62c80e559809e6c7851ec04d30575e85ad6f6ed (diff) | |
parent | 0aec63e67c69545ca757a73a66f5dcf05fa484bf (diff) |
Merge with Linus' kernel.
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 2 | ||||
-rw-r--r-- | drivers/video/aty/radeon_base.c | 16 | ||||
-rw-r--r-- | drivers/video/matrox/matroxfb_maven.c | 11 |
3 files changed, 12 insertions, 17 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 08edbfcfca58..3fefdb0cbf07 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -403,7 +403,7 @@ static struct { | |||
403 | { PCI_CHIP_MACH64GM, "3D RAGE XL (Mach64 GM, AGP)", 230, 83, 63, ATI_CHIP_264XL }, | 403 | { PCI_CHIP_MACH64GM, "3D RAGE XL (Mach64 GM, AGP)", 230, 83, 63, ATI_CHIP_264XL }, |
404 | { PCI_CHIP_MACH64GN, "3D RAGE XL (Mach64 GN, AGP)", 230, 83, 63, ATI_CHIP_264XL }, | 404 | { PCI_CHIP_MACH64GN, "3D RAGE XL (Mach64 GN, AGP)", 230, 83, 63, ATI_CHIP_264XL }, |
405 | { PCI_CHIP_MACH64GO, "3D RAGE XL (Mach64 GO, PCI-66/BGA)", 230, 83, 63, ATI_CHIP_264XL }, | 405 | { PCI_CHIP_MACH64GO, "3D RAGE XL (Mach64 GO, PCI-66/BGA)", 230, 83, 63, ATI_CHIP_264XL }, |
406 | { PCI_CHIP_MACH64GR, "3D RAGE XL (Mach64 GR, PCI-33MHz)", 230, 83, 63, ATI_CHIP_264XL }, | 406 | { PCI_CHIP_MACH64GR, "3D RAGE XL (Mach64 GR, PCI-33MHz)", 235, 83, 63, ATI_CHIP_264XL | M64F_SDRAM_MAGIC_PLL }, |
407 | { PCI_CHIP_MACH64GL, "3D RAGE XL (Mach64 GL, PCI)", 230, 83, 63, ATI_CHIP_264XL }, | 407 | { PCI_CHIP_MACH64GL, "3D RAGE XL (Mach64 GL, PCI)", 230, 83, 63, ATI_CHIP_264XL }, |
408 | { PCI_CHIP_MACH64GS, "3D RAGE XL (Mach64 GS, PCI)", 230, 83, 63, ATI_CHIP_264XL }, | 408 | { PCI_CHIP_MACH64GS, "3D RAGE XL (Mach64 GS, PCI)", 230, 83, 63, ATI_CHIP_264XL }, |
409 | 409 | ||
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 | */ |
599 | static void __devinit radeon_get_pllinfo(struct radeonfb_info *rinfo) | 599 | static 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 | ||
703 | found: | 703 | found: |
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, |
diff --git a/drivers/video/matrox/matroxfb_maven.c b/drivers/video/matrox/matroxfb_maven.c index ad60bbb16cdf..a1f2c5e8fc88 100644 --- a/drivers/video/matrox/matroxfb_maven.c +++ b/drivers/video/matrox/matroxfb_maven.c | |||
@@ -1288,18 +1288,13 @@ static int maven_detach_client(struct i2c_client* client) { | |||
1288 | return 0; | 1288 | return 0; |
1289 | } | 1289 | } |
1290 | 1290 | ||
1291 | static int maven_command(struct i2c_client* client, unsigned int cmd, void* arg) { | ||
1292 | return -ENOIOCTLCMD; /* or -EINVAL, depends on who will call this */ | ||
1293 | } | ||
1294 | |||
1295 | static struct i2c_driver maven_driver={ | 1291 | static struct i2c_driver maven_driver={ |
1296 | .owner = THIS_MODULE, | 1292 | .driver = { |
1297 | .name = "maven", | 1293 | .name = "maven", |
1294 | }, | ||
1298 | .id = I2C_DRIVERID_MGATVO, | 1295 | .id = I2C_DRIVERID_MGATVO, |
1299 | .flags = I2C_DF_NOTIFY, | ||
1300 | .attach_adapter = maven_attach_adapter, | 1296 | .attach_adapter = maven_attach_adapter, |
1301 | .detach_client = maven_detach_client, | 1297 | .detach_client = maven_detach_client, |
1302 | .command = maven_command, | ||
1303 | }; | 1298 | }; |
1304 | 1299 | ||
1305 | /* ************************** */ | 1300 | /* ************************** */ |