Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58079
b: refs/heads/master
c: c0887ee
h: refs/heads/master
i:
  58077: ff4d1ac
  58075: 7933115
  58071: 43115fe
  58063: 0d6607f
  58047: de7fad4
v: v3
  • Loading branch information
Ville Syrjala authored and Linus Torvalds committed Jun 28, 2007
1 parent 9935b07 commit 249547a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4c5cdb3e099da7cc64df622b02ff7659babe16e
refs/heads/master: c0887eedb4498e20e7895508b7af8e419e397405
17 changes: 8 additions & 9 deletions trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2290,15 +2290,6 @@ static int __devinit aty_init(struct fb_info *info)
init_waitqueue_head(&par->vblank.wait);
spin_lock_init(&par->int_lock);

#ifdef CONFIG_PPC_PMAC
/* The Apple iBook1 uses non-standard memory frequencies. We detect it
* and set the frequency manually. */
if (machine_is_compatible("PowerBook2,1")) {
par->pll_limits.mclk = 70;
par->pll_limits.xclk = 53;
}
#endif

#ifdef CONFIG_FB_ATY_GX
if (!M64_HAS(INTEGRATED)) {
u32 stat0;
Expand Down Expand Up @@ -2383,6 +2374,14 @@ static int __devinit aty_init(struct fb_info *info)
par->pll_limits.xclk = (par->pll_limits.xclk + 1) >> 1;
}
#endif
#ifdef CONFIG_PPC_PMAC
/* The Apple iBook1 uses non-standard memory frequencies. We detect it
* and set the frequency manually. */
if (machine_is_compatible("PowerBook2,1")) {
par->pll_limits.mclk = 70;
par->pll_limits.xclk = 53;
}
#endif

/* Allow command line to override clocks. */
if (pll)
Expand Down

0 comments on commit 249547a

Please sign in to comment.