diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2012-05-27 10:31:48 +0000 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2012-05-27 16:10:33 +0200 |
commit | 17277699fcf4794a90dfd6b56de27107fef94854 (patch) | |
tree | 3ee25a3fffd6a5c09fd87055173f2fdabde1db82 | |
parent | 9eed26fd3b8f2d570dd2fa1df7ea60fad2035f83 (diff) |
Fix output detection on ProSavage
The registers were found by running "s3switch regdump" after
switching outputs on/off and changing TV format using s3switch.
It seems like the TV output status can not be read on ProSavage.
I have not checked whether it can be changed either.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
-rw-r--r-- | s3switch.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -181,6 +181,13 @@ fetch_bios_data() outb( 0x6b, 0x3d4 ); jDevices = inb( 0x3d5 ); } + else if( ChipClass == S3_PROSAVAGE ) + { + outb( 0x5f, 0x3c4 ); + jTvFormat = inb( 0x3c5 ); + outb( 0x6b, 0x3d4 ); + jDevices = inb( 0x3d5 ); + } else { outb( 0x6b, 0x3d4 ); |