summaryrefslogtreecommitdiff
path: root/hw/xfree86/exa/examodule.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-03-09 06:04:07 +0000
committerEric Anholt <anholt@freebsd.org>2006-03-09 06:04:07 +0000
commit2822cbc1fb2271844e7ae10c3629aaa940ae4042 (patch)
tree5ea4d9af188cf9a79e64ce3354574cdd717cea69 /hw/xfree86/exa/examodule.c
parent65aa33f9173b1554924437685698f7c5f645a3c4 (diff)
Rearrange EXA driver structures so that there's a hope of maintaining ABI
when extending the driver interface. The card and accel structures are merged into the ExaDriverRec, which is to be allocated using exaDriverAlloc(). The driver structure also grows exa_major and exa_minor, which drivers fill in and have checked by EXA (double-checking that the driver really did check that the EXA version was correct). Removes exaInitCard(), which is replaced by the driver filling in the rec by hand, and the exaGetVersion() and related EXA_*VERSION which are replaced by always using the XFree86 loadable module versioning.
Diffstat (limited to 'hw/xfree86/exa/examodule.c')
-rw-r--r--hw/xfree86/exa/examodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/exa/examodule.c b/hw/xfree86/exa/examodule.c
index 09b63d06f..8b48444f1 100644
--- a/hw/xfree86/exa/examodule.c
+++ b/hw/xfree86/exa/examodule.c
@@ -126,7 +126,7 @@ static XF86ModuleVersionInfo exaVersRec =
MODINFOSTRING1,
MODINFOSTRING2,
XORG_VERSION_CURRENT,
- 1, 2, 0,
+ EXA_VERSION_MAJOR, EXA_VERSION_MINOR, EXA_VERSION_RELEASE,
ABI_CLASS_VIDEODRV, /* requires the video driver ABI */
ABI_VIDEODRV_VERSION,
MOD_CLASS_NONE,