[PATCH] xfree86: print out which driver is about to be used.
Dan Nicholson
dbn.lists at gmail.com
Thu Mar 17 20:18:42 PDT 2011
On Thu, Mar 17, 2011 at 6:09 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Makes reading the log file a lot easier for those that don't magically
> recognise the log spew by the individual drivers.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> hw/xfree86/common/xf86Xinput.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
> index e3264e6..2bac33a 100644
> --- a/hw/xfree86/common/xf86Xinput.c
> +++ b/hw/xfree86/common/xf86Xinput.c
> @@ -775,6 +775,8 @@ xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL enable)
> goto unwind;
> }
>
> + xf86Msg(X_INFO, "Using input driver '%s' for '%s'\n", drv->driverName, pInfo->name);
> +
> if (!drv->PreInit) {
> xf86Msg(X_ERROR,
> "Input driver `%s' has no PreInit function (ignoring)\n",
Definitely.
Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
More information about the xorg-devel
mailing list