1 #ifdef HAVE_XORG_CONFIG_H
2 #include <xorg-config.h>
9 #include <sys/linker.h>
11 #include "xf86_OSproc.h"
14 * Load a FreeBSD kernel module.
15 * This is used by the DRI/DRM to load a DRM kernel module when
16 * the X server starts. It could be used for other purposes in the future.
18 * modName - name of the kernel module (Ex: "tdfx")
20 * 0 for failure, 1 for success
22 _X_EXPORT
int xf86LoadKernelModule(const char *modName
)
24 if (kldload(modName
) != -1)