[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sun Leo (ZX)



Robert Reif wrote:
Robert Reif wrote:
I can duplicate your progress on my ss20. prom_printf still works and it appears that the driver is hanging in register_framebuffer. info or dp must not be right. I'll try some more tomorrow.


By looking at the code, it appears that leo has no property named "linebytes" which means that par->fbsize is probably 0. I will verify this tonight when I get a chance.

Bearing in mind that I am a long way down the ladder as far as understanding kernel driver modules and the Sun architecture goes, but adding more debugging code I see

[MarkMLl] In leo_fixup_var_rgb()
[MarkMLl] of_getintprop_default(linebytes, 1152) returned 1152
[MarkMLl] fbsize 1040384
[MarkMLl] In leo_init_wids()

i.e. I think it's being supplied with a plausible default. Can anybody say whether that result is sane?

I've been trying to compare 2.4 and 2.6 drivers but so far have not really found enough similarities to be able to work out the relevant differences.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


Reply to: