summaryrefslogtreecommitdiff
path: root/src/mga_halmod.c
blob: a5bb425861c9d4c5e0c37e1a7cd3b25bcf3ddf79 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* $XFree86$ */
#include "xf86Module.h"

#ifdef XFree86LOADER

#define HAL_MAJOR_VERSION 1
#define HAL_MINOR_VERSION 0
#define HAL_PATCHLEVEL 0

static MODULESETUPPROTO(halSetup);

static XF86ModuleVersionInfo halVersRec =
{
	"mga_hal",
	MODULEVENDORSTRING,
	MODINFOSTRING1,
	MODINFOSTRING2,
	XF86_VERSION_CURRENT,
	HAL_MAJOR_VERSION, HAL_MINOR_VERSION, HAL_PATCHLEVEL,
	ABI_CLASS_VIDEODRV,			/* This is a video driver */
	ABI_VIDEODRV_VERSION,
	MOD_CLASS_NONE,
	{0,0,0,0}
};

/*
 * This is the module init data.
 * Its name has to be the driver name followed by ModuleData.
 */
XF86ModuleData mga_halModuleData = { &halVersRec, halSetup, NULL };

static pointer
halSetup(pointer module, pointer opts, int *errmaj, int *errmin)
{
	return (pointer)1;
}

#endif /* XFree86LOADER */