Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54921
b: refs/heads/master
c: 75814d8
h: refs/heads/master
i:
  54919: 28edf0f
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 8, 2007
1 parent a94b813 commit 95e72d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d2e8d369cd92a8bb856ff530fa1e4c03b0e0ff55
refs/heads/master: 75814d87a976cc12675024c0a03e3ac3369465a0
6 changes: 3 additions & 3 deletions trunk/drivers/video/s3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ MODULE_PARM_DESC(fasttext, "Enable S3 fast text mode (1=enable, 0=disable, defau
static void s3fb_settile_fast(struct fb_info *info, struct fb_tilemap *map)
{
const u8 *font = map->data;
u8* fb = (u8 *) info->screen_base;
u8 __iomem *fb = (u8 __iomem *) info->screen_base;
int i, c;

if ((map->width != 8) || (map->height != 16) ||
Expand All @@ -177,7 +177,7 @@ static void s3fb_settile_fast(struct fb_info *info, struct fb_tilemap *map)
fb += 2;
for (i = 0; i < map->height; i++) {
for (c = 0; c < map->length; c++) {
fb[c * 4] = font[c * map->height + i];
fb_writeb(font[c * map->height + i], fb + c * 4);
}
fb += 1024;
}
Expand Down Expand Up @@ -656,7 +656,7 @@ static int s3fb_set_par(struct fb_info *info)
value = ((value * hmul) / 8) - 5;
vga_wcrt(NULL, 0x3C, (value + 1) / 2);

memset((u8*)info->screen_base, 0x00, screen_size);
memset_io(info->screen_base, 0x00, screen_size);
/* Device and screen back on */
svga_wcrt_mask(0x17, 0x80, 0x80);
svga_wseq_mask(0x01, 0x00, 0x20);
Expand Down

0 comments on commit 95e72d2

Please sign in to comment.