Hi,

I wanted to use SR32, witch should reflect connected devices as stated in VIA's video bios interface specs.

Basically it should be OEM's independent. But I found some BIOS versions that doesn't handle it correctly.

Instead of correction (SR vs. CR), I redesigned this procedure to use int 0x10 Function 0x4f14  bx=4

(video bios interface specs).

 Mit freundlichen Grüssen / with best regards
Damian Gruszka


Kontron Embedded Modules GmbH
"We create digital brains for a more intelligent world"
Fon: +49 (0)40 20 00 90-0
Fax: +49 (0)40 20 00 90-10
email : [EMAIL PROTECTED]
www.kontron-emea.com www.kontron-hh.com



Luc Verhaegen <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

11.05.2005 03:23

Please respond to
devel@xfree86.org

To
[EMAIL PROTECTED]
cc
devel@xfree86.org
Subject
Re: Changes to via_drv.o solving problems of hardwired devices.





On Mon, May 09, 2005 at 02:51:59PM +0200, damian gruszka wrote:
> Hello,
> to support "hardwired" TV and LVDS devices, which doesn't apear on I2O
> bus I suggest following changes.
> The Option ConnectedDevice set the correesponding field in
> VIABIOSInfo.Since my routine and the the "switch" for ActiveDevice
> are quite similar, I also risked to replace  this code  by  new  
> visually shorter  code.
>
> via.patch  - contains combined changes done to  .c and .h files.
> via_driver.c.patch, via_bios.h.patch and via_bios.c.patch - patches in
> separate files.
>
> Pls. comment this changes.
>
> Best Regards
> Damian
>
You're grabbing a value from the CrtC registers [0x3d4/5] but your
comments state SR32. SR tends to imply Sequencer register [0x3c4/5].
Please at least adjust one or the other.

How global is this? I wouldn't be one bit surprised if this was all very
kontron specific. I've been bashed by igel over something their bios did
differently than the via bios (memory sizing), so this wouldn't exactly
be a first.

Also, from a quick review of the docs i scraped together, it seems that
CR3E is the BIOS initialised active device listing. At least it seems to
be that on the epia M. Then there's SR12, which (somewhat) outlines
which is connected where...

Luc Verhaegen.
http://unichrome.sf.net/
_______________________________________________
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

Attachment: via_driver.c.patch
Description: Binary data

Attachment: via.patch
Description: Binary data

Attachment: via_bios.c.patch
Description: Binary data

Attachment: via_bios.h.patch
Description: Binary data

Reply via email to