diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-07-11 02:29:45 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-07-11 02:29:45 +0000 |
commit | d715561d28d82591adf5c7504068c1818eb2245c (patch) | |
tree | 46b25020e4174f252e153f8e7855fb8ef8b5a1f9 /src/atidsp.c | |
parent | 5b37b695019b7a4522a96a63f1f6b035160e6a25 (diff) |
Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_16XORG-6_8_99_15
Diffstat (limited to 'src/atidsp.c')
-rw-r--r-- | src/atidsp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/atidsp.c b/src/atidsp.c index 4cc2a053..d7a3b4b7 100644 --- a/src/atidsp.c +++ b/src/atidsp.c @@ -1,6 +1,6 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atidsp.c,v 1.20 2003/04/23 21:51:28 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atidsp.c,v 1.21 2003/09/24 02:43:18 dawes Exp $ */ /* - * Copyright 1997 through 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org + * Copyright 1997 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -21,6 +21,9 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "ati.h" #include "atichip.h" #include "aticrtc.h" @@ -74,7 +77,7 @@ ATIDSPPreInit pATI->XCLKFeedbackDivider = ATIMach64GetPLLReg(PLL_MCLK_FB_DIV); xf86DrvMsgVerb(iScreen, X_INFO, 2, - "Engine XCLK %.3f MHz; Refresh rate code %d.\n", + "Engine XCLK %.3f MHz; Refresh rate code %ld.\n", ATIDivide(pATI->XCLKFeedbackDivider * pATI->ReferenceNumerator, pATI->XCLKReferenceDivider * pATI->ClockDescriptor.MaxM * pATI->ReferenceDenominator, 1 - pATI->XCLKPostDivider, 0) / |