I am having a hard time making the SiS driver run on a MIPS machine. It's some Thoshiba system, with a little-endian CPU. (Under Debian, this goes by the name "Mipsel" as opposed by the big-endian "Mips"). The user is running Debian's extremely patched almost-4.4.

Current situation: Whenever an i/o register is accessed via inb/outb macros, the X server exits with a signal 11.

I checked compiler.h and figured that i/o access (as done via ports on x86), it like MMIO access on MIPS, ie simply writing to memory. So I tried mapping my register area into virtual space (like I do with the mmio area), to no avail. Same result, sig 11.

Background info: SiS hardware has a "relocated" i/o ports area which allows access to i/o ports not only at 0x3xx etc, but also at some other address. In order to make the vgahw module work with these ports instead of the normal ones at 0x3xx, I "abuse" PIOOffset by adding the correct offset. But no matter whether the vgahw module or my own code accesses the registers, the sig 11 happens anyway.

The Linux framebuffer driver works well without mapping this register area (which is at physical 0x4000, FYI).

Is there anything special about MIPS that I missed?

Anyway,

--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          http://www.winischhofer.net/
twini AT xfree86 DOT org
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to