Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284821
b: refs/heads/master
c: e78bb88
h: refs/heads/master
i:
  284819: 5cd9e4e
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Florian Tobias Schandinat committed Nov 11, 2011
1 parent 2d21a6e commit b54d685
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 17bdf48952d3f5c0be8137058f81d398d4606820
refs/heads/master: e78bb882bf318bb41e17b33729cca3bdd26b42a0
6 changes: 5 additions & 1 deletion trunk/drivers/video/cirrusfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static const struct zorrocl zcl_picasso4_z3 __devinitconst = {
.type = BT_PICASSO4,
.regoffset = 0x00600000,
.ramsize = 4 * MB_,
.ramoffset = 0x01000000,
.ramoffset = 0x01000000, /* 0x02000000 for 64 MiB boards */
};

static const struct zorrocl zcl_picasso4_z2 __devinitconst = {
Expand Down Expand Up @@ -2259,6 +2259,10 @@ static int __devinit cirrusfb_zorro_register(struct zorro_dev *z,
ramsize = zcl->ramsize;
if (ramsize) {
rambase = zorro_resource_start(z) + zcl->ramoffset;
if (zorro_resource_len(z) == 64 * MB_) {
/* Quirk for 64 MiB Picasso IV */
rambase += zcl->ramoffset;
}
} else {
struct zorro_dev *ram = zorro_find_device(zcl->ramid, NULL);
if (!ram || !zorro_resource_len(ram)) {
Expand Down

0 comments on commit b54d685

Please sign in to comment.