Thx for the info, in fact, I guessed that I used a wrong IO port address for sis on
Mips, but I don't know where can I find the correct IO address and video memory
mapping address.
Thanks
Harry
======= 2004-04-28 07:31:00 您在来信中写道:=======
>--- Thomas Winischhofer <[EMAIL PROTECTED]> wrote:
>> harry wrote:
>> > Hi,all
>> >
>> > I met a problem while porting xfree86 to mips, it seems that I
>> can't unlock the sis6326 registers. SR5 is used as password register
>> in sis6326, if 86h is written into this register, then A1h will be
>> read from this register, and unlock all the extension registers.If
>> the value other than 86h is written into this register, then 21h will
>> be read from this register,and lock all the extension registers.
>> > But now when I wrote 86h to this register, I always get ffh, so the
>> display can't be initialized.
>> > Is there anyone met this problem?
>>
>> You have more than this locking/unlocking problem. It seems that none
>> of
>> the registers can be written or read, or they are being read
>> from/written to wrong addresses. (For example, the memory clock is
>> never
>> 14 MHz, and there are no 2MB versions of the 6326.).
>>
>> Looks like a general register addressing problem. I have no
>> experience
>> whatsoever with mips hardware, so I can't help you further.
>>
>> You can, however, try the most recent driver from my website. It uses
>>
>> exclusivly relocated i/o ports, so perhaps this helps.
>
>You will need support for legacy IO in the kernel for using vgahw. I
>have no idea if the MIPS kernel supports this at the moment. See this
>thread for more info:
>http://marc.theaimsgroup.com/?t=99008958900001&r=1&w=2
>You may want to ask on the linux-mips ML.
>
>Alex
>
>>
>> Thomas
>>
>>
>> --
>> Thomas Winischhofer
>> Vienna/Austria
>> thomas AT winischhofer DOT net *** http://www.winischhofer.net
>> twini AT xfree86 DOT org
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>http://hotjobs.sweepstakes.yahoo.com/careermakeover
>_______________________________________________
>Devel mailing list
>[EMAIL PROTECTED]
>http://XFree86.Org/mailman/listinfo/devel
= = = = = = = = = = = = = = = = = = = =
致
礼!
harry
[EMAIL PROTECTED]
2004-05-11
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel