From 40c6c57a58aa661ff47e35735c6d6e352371c6f8 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Fri, 21 Apr 2006 19:41:47 +0000 Subject: [PATCH] updated matrox and nvidia driver to export lower case kerneldriver names for the /dev/ hierarchy. It turns out R5 and dano convert upper case to lower case names, while Haiku just literally uses them... Now fixed inside these drivers by using lowercase instead of uppercase. 'Bug' reported by John Drinkwater. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17191 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/matrox/DriverInterface.h | 4 ++-- headers/private/graphics/nvidia/DriverInterface.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/private/graphics/matrox/DriverInterface.h b/headers/private/graphics/matrox/DriverInterface.h index 89647ac792..8989d2fcc1 100644 --- a/headers/private/graphics/matrox/DriverInterface.h +++ b/headers/private/graphics/matrox/DriverInterface.h @@ -5,7 +5,7 @@ Other authors: Mark Watson; Apsed; - Rudolf Cornelissen 10/2002-1/2006. + Rudolf Cornelissen 10/2002-4/2006. */ #ifndef DRIVERINTERFACE_H @@ -18,7 +18,7 @@ #include #define DRIVER_PREFIX "mga" // apsed -#define DEVICE_FORMAT "%04X_%04X_%02X%02X%02X" // apsed +#define DEVICE_FORMAT "%04x_%04x_%02x%02x%02x" // apsed /* Internal driver state (also for sharing info between driver and accelerant) diff --git a/headers/private/graphics/nvidia/DriverInterface.h b/headers/private/graphics/nvidia/DriverInterface.h index e19835545a..273cca6509 100644 --- a/headers/private/graphics/nvidia/DriverInterface.h +++ b/headers/private/graphics/nvidia/DriverInterface.h @@ -19,7 +19,7 @@ #include "AGP.h" #define DRIVER_PREFIX "nv" // apsed -#define DEVICE_FORMAT "%04X_%04X_%02X%02X%02X" // apsed +#define DEVICE_FORMAT "%04x_%04x_%02x%02x%02x" // apsed /* Internal driver state (also for sharing info between driver and accelerant)