summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2007-08-01 21:46:10 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2007-08-01 22:11:08 +0200
commit71c5c6de8c1fa39cfd668348ad0c02b913eb205e (patch)
tree82de6f20467075f888d0251022f855d015d164c3 /src/mga.h
parent370c1d36f9e3025870f41e39c06b12689d51e688 (diff)
Added output detection based on PInS data.
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mga.h b/src/mga.h
index 8a3cf6b..43595a3 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -301,6 +301,14 @@ typedef enum {
MGA_HOST_AGP_4x = 7 /**< AGP 4x capable. */
} mga_host_t;
+typedef enum {
+ MGA_CONNECTOR_NONE = 0,
+ MGA_CONNECTOR_HD15,
+ MGA_CONNECTOR_DVI,
+ MGA_CONNECTOR_TV,
+ MGA_CONNECTOR_LAST = MGA_CONNECTOR_TV
+} mga_connector_t;
+
/**
* Card information derrived from BIOS PInS data.
*/
@@ -341,6 +349,11 @@ struct mga_bios_values {
* Type of physical interface used for the card.
*/
mga_host_t host_interface;
+
+ /**
+ * On G450 and G550 PInS lists the available connectors.
+ */
+ mga_connector_t connector[2];
};