summaryrefslogtreecommitdiff
path: root/hw/kdrive/trident/tridentstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/trident/tridentstub.c')
-rw-r--r--hw/kdrive/trident/tridentstub.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/hw/kdrive/trident/tridentstub.c b/hw/kdrive/trident/tridentstub.c
index 42b905e42..0b31bdfc6 100644
--- a/hw/kdrive/trident/tridentstub.c
+++ b/hw/kdrive/trident/tridentstub.c
@@ -22,10 +22,12 @@
*
* Author: Keith Packard, SuSE, Inc.
*/
-/* $XFree86: xc/programs/Xserver/hw/kdrive/trident/tridentstub.c,v 1.2 1999/12/30 03:03:18 robin Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/kdrive/trident/tridentstub.c,v 1.4 2000/08/29 17:20:15 keithp Exp $ */
#include "trident.h"
+extern int trident_clk, trident_mclk;
+
void
InitCard (char *name)
{
@@ -52,6 +54,23 @@ ddxProcessArgument (int argc, char **argv, int i)
{
int ret;
+ if (!strcmp (argv[i], "-clk"))
+ {
+ if (i+1 < argc)
+ trident_clk = atoi (argv[i+1]);
+ else
+ UseMsg ();
+ return 2;
+ }
+ if (!strcmp (argv[i], "-mclk"))
+ {
+ if (i+1 < argc)
+ trident_mclk = atoi (argv[i+1]);
+ else
+ UseMsg ();
+ return 2;
+ }
+
#ifdef VESA
if (!(ret = vesaProcessArgument (argc, argv, i)))
#endif