Fixed S3 linear mapping on Vision964 and earlier.
This commit is contained in:
@@ -2679,7 +2679,7 @@ s3_updatemapping(s3_t *s3)
|
|||||||
} else {
|
} else {
|
||||||
if (s3->chip >= S3_TRIO64V)
|
if (s3->chip >= S3_TRIO64V)
|
||||||
s3->linear_base &= 0xfc000000;
|
s3->linear_base &= 0xfc000000;
|
||||||
else
|
else if (s3->chip == S3_VISION968)
|
||||||
s3->linear_base &= 0xfe000000;
|
s3->linear_base &= 0xfe000000;
|
||||||
pclog("Linear mapping enabled at %08x, size = %08x\n", s3->linear_base, s3->linear_size);
|
pclog("Linear mapping enabled at %08x, size = %08x\n", s3->linear_base, s3->linear_size);
|
||||||
mem_mapping_set_addr(&s3->linear_mapping, s3->linear_base, s3->linear_size);
|
mem_mapping_set_addr(&s3->linear_mapping, s3->linear_base, s3->linear_size);
|
||||||
|
Reference in New Issue
Block a user