diff options
| author | David S. Miller <davem@davemloft.net> | 2005-11-07 17:09:44 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2005-11-07 17:09:44 -0500 |
| commit | 4c85ce522fc4bf1b8fcd6255fadc11cfb75773df (patch) | |
| tree | 31871f37712ef4a7b8034b492ee2b3545710ebb7 | |
| parent | b128254fdb172eaa3273de24fa6ce405a1f534c9 (diff) | |
[SPARC]: Remove bogus register programming in cg6 driver.
Don't write garbage into the overlay plane.
Noted by Bob Breuer.
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | drivers/video/cg6.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 3280bb9560e2..414c4409e924 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c | |||
| @@ -653,12 +653,6 @@ static void cg6_chip_init(struct fb_info *info) | |||
| 653 | sbus_writel(0, &fbc->clipminy); | 653 | sbus_writel(0, &fbc->clipminy); |
| 654 | sbus_writel(info->var.xres - 1, &fbc->clipmaxx); | 654 | sbus_writel(info->var.xres - 1, &fbc->clipmaxx); |
| 655 | sbus_writel(info->var.yres - 1, &fbc->clipmaxy); | 655 | sbus_writel(info->var.yres - 1, &fbc->clipmaxy); |
| 656 | |||
| 657 | /* Disable cursor in Brooktree DAC. */ | ||
| 658 | sbus_writel(0x06 << 24, &par->bt->addr); | ||
| 659 | tmp = sbus_readl(&par->bt->control); | ||
| 660 | tmp &= ~(0x03 << 24); | ||
| 661 | sbus_writel(tmp, &par->bt->control); | ||
| 662 | } | 656 | } |
| 663 | 657 | ||
| 664 | struct all_info { | 658 | struct all_info { |
