On Thu, Dec 27, 2001 at 03:27:07AM -0800, Philip Brown wrote:
> I'm finally looking at xf86drm.c again. The first routine that looked
> interesting was  
>   drmGetEntry(int fd)
>     The second call in that function is drmHashCreate()
> 
> and it was not picked up with ctags, so I was wondering where the heck it
> was.
> 
> I did a whole lot of global grepping through files.
> FINALLY, I figured out that it was in xf86drmHash.c, hidden from the ctags
> program because of the funky
> #define N(x)  drm##x
> 
> 
> WHY is that there? I can find no reason for it, and it greatly hinders
> peole's understanding of the code, since it breaks both greps and ctags.
> How about getting rid of that dumb #define hack in the next release?

If you can think of a way of including the common files in each driver,
and building some drivers into the kernel and some as modules and having
it all Just Work, please feel free to share your ideas with the list.

-- Gareth

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to