Re: [PATCH 3/4] fbdev: uvesafb driver
flat view
From: Michal Januszewski <spock@gentoo.org>
Date: 2007-06-24 11:15:41
Also in:
lkml
On Sat, Jun 23, 2007 at 04:36:39PM -0700, Andrew Morton wrote:
On Sun, 24 Jun 2007 01:20:33 +0200 Michal Januszewski [off-list ref] wrote:quoted
quoted
quoted
+config FB_UVESA + tristate "Userspace VESA VGA graphics support" + depends on FB && CONNECTORThese dependencies are insufficient.What exactly is missing here? A dep on X86?Yes. From your other comments it appears that a dependency on X86_32 is needed.
X86_32 is only needed for a bunch of specific operations that make use of the PMI. The driver can work without those (it has already been tested on X86_64, where PMI cannot be used).
quoted
This would indicate the arches on which the driver has actually been tested. But which arches are supported and which aren't is, in the end, up to the userspace helper.The other architectures won't compile: they don't have mtrr.h
That was my mistake of not putting the mtrr.h include inside a #ifdef CONFIG_MTRR. After fixing that and a few other things you pointed out in your previous message, I was able to successfully compile uvesafb for PPC (using a cross-compiler). Best regards, Michal ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/