summaryrefslogtreecommitdiff
path: root/src/atifillin.c
blob: f474a582683dff8cd1f23909795b09eae4d9844d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * atifillin.c: fill in a ScrnInfoPtr with the relevant information for
 * atimisc.
 *
 * (c) 2004 Adam Jackson.  Standard MIT license applies.
 */

#include "atifillin.h"

_X_EXPORT void ATIFillInScreenInfo(ScrnInfoPtr pScreenInfo)
{
    pScreenInfo->driverVersion = ATI_VERSION_CURRENT;
    pScreenInfo->driverName    = ATI_DRIVER_NAME;
    pScreenInfo->name          = ATI_NAME;
    pScreenInfo->Probe         = ATIProbe;
    pScreenInfo->PreInit       = ATIPreInit;
    pScreenInfo->ScreenInit    = ATIScreenInit;
    pScreenInfo->SwitchMode    = ATISwitchMode;
    pScreenInfo->AdjustFrame   = ATIAdjustFrame;
    pScreenInfo->EnterVT       = ATIEnterVT;
    pScreenInfo->LeaveVT       = ATILeaveVT;
    pScreenInfo->FreeScreen    = ATIFreeScreen;
    pScreenInfo->ValidMode     = ATIValidMode;
}