diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2008-01-12 16:18:34 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2008-01-16 16:15:57 +0200 |
commit | c2caeb11a97dad5379d70881c5c0fd834a8c3d54 (patch) | |
tree | 00718c716fa2ddebe3f27cb0a62fa5f997c3bc90 /src/atimach64probe.c | |
parent | 19e1b180fec6f83a474e125465bc60111c0f43e0 (diff) |
ati wrapper: add DriverRec's and use them
Diffstat (limited to 'src/atimach64probe.c')
-rw-r--r-- | src/atimach64probe.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/atimach64probe.c b/src/atimach64probe.c index 5227775..ffab153 100644 --- a/src/atimach64probe.c +++ b/src/atimach64probe.c @@ -107,7 +107,7 @@ Mach64PciChipsets[] = { {-1, -1, RES_UNDEFINED} }; -_X_EXPORT const OptionInfoRec * +static const OptionInfoRec * Mach64AvailableOptions(int chipid, int busid) { /* @@ -122,7 +122,7 @@ Mach64AvailableOptions(int chipid, int busid) * * Print the driver's list of chipset names. */ -_X_EXPORT void +static void Mach64Identify ( int flags @@ -138,7 +138,7 @@ Mach64Identify * This function is called once, at the start of the first server generation to * do a minimal probe for supported hardware. */ -_X_EXPORT Bool +static Bool Mach64Probe(DriverPtr pDriver, int flags) { GDevPtr *devSections, *ATIGDevs, *Mach64GDevs; @@ -221,3 +221,14 @@ Mach64Probe(DriverPtr pDriver, int flags) return ProbeSuccess; } + +_X_EXPORT DriverRec MACH64 = +{ + MACH64_VERSION_CURRENT, + MACH64_DRIVER_NAME, + Mach64Identify, + Mach64Probe, + Mach64AvailableOptions, + NULL, + 0 +}; |