Re: DRM() macro

2004-05-26 Thread Ian Romanick
lcome. Each DRM driver contains a slightly customized copy of some functions. The customzations are based on driver-specific #defines. The DRM macro is used to convert the generic name (i.e., addmap) to a device-specific name (i.e., radeon_addmap). This also makes it so that you can load multi

Re: DRM() macro

2004-05-26 Thread Tomas Carnecky
iver contains a slightly customized copy of some functions. The customzations are based on driver-specific #defines. The DRM macro is used to convert the generic name (i.e., addmap) to a device-specific name (i.e., radeon_addmap). This also makes it so that you can load multiple DRM modules into

Re: DRM() macro

2004-05-26 Thread Ian Romanick
htly customized copy of some functions. The customzations are based on driver-specific #defines. The DRM macro is used to convert the generic name (i.e., addmap) to a device-specific name (i.e., radeon_addmap). This also makes it so that you can load multiple DRM modules into your kernel at once

DRM() macro

2004-05-26 Thread Tomas Carnecky
Why are the DRM() macros used in the linux kernel drivers? I'm sure this has been discussed many times, but I can't find anything about it. Any explanations or pointers to webpages (archives) where it's explained are welcome. Thanks -- wereHamster a.k.a. Tom Carnecky Emmen, Switzerland (GC 3.1) G