From: Jon Smirl <jonsmirl@gmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-fbdev-devel@lists.sourceforge.net,
Mikael Pettersson <mikpe@csd.uu.se>
Subject: Re: Fw: [PATCH][2.6.11-mm3] CONFIG_FB_ATY linkage error on PPC32
Date: Sun, 13 Mar 2005 17:08:03 -0500 [thread overview]
Message-ID: <9e4733910503131408cd57b01@mail.gmail.com> (raw)
In-Reply-To: <9e47339105031313553994f15a@mail.gmail.com>
This should be a more general fix. Mikael can you give it a try on ppc
since I don't have one?
If you have time it would also be helpful if you could try building
all of the ppc drivers both as modules and built-in just to make sure
they build.
There are 77 framebuffer drivers on eight platforms that need to be
checked. I tried to get them all right but I don't own all of the
needed hardware.
--
Jon Smirl
jonsmirl@gmail.com
===== drivers/video/Makefile 1.120 vs edited =====
--- 1.120/drivers/video/Makefile 2005-03-10 03:39:10 -05:00
+++ edited/drivers/video/Makefile 2005-03-13 16:56:53 -05:00
@@ -10,6 +10,9 @@
obj-$(CONFIG_FB) += fb.o
fb-y := fbmem.o fbmon.o fbcmap.o
fbsysfs.o modedb.o
+ifdef $(CONFIG-PPC)
+fb-y += macmodes.o
+endif
fb-objs := $(fb-y)
obj-$(CONFIG_FB_CFB_FILLRECT) += cfbfillrect.o
@@ -41,9 +44,9 @@
obj-$(CONFIG_FB_NEOMAGIC) += neofb.o vgastate.o
obj-$(CONFIG_FB_VIRGE) += virgefb.o
obj-$(CONFIG_FB_3DFX) += tdfxfb.o
-obj-$(CONFIG_FB_CONTROL) += controlfb.o macmodes.o
-obj-$(CONFIG_FB_PLATINUM) += platinumfb.o macmodes.o
-obj-$(CONFIG_FB_VALKYRIE) += valkyriefb.o macmodes.o
+obj-$(CONFIG_FB_CONTROL) += controlfb.o
+obj-$(CONFIG_FB_PLATINUM) += platinumfb.o
+obj-$(CONFIG_FB_VALKYRIE) += valkyriefb.o
obj-$(CONFIG_FB_CT65550) += chipsfb.o
obj-$(CONFIG_FB_IMSTT) += imsttfb.o
obj-$(CONFIG_FB_S3TRIO) += S3triofb.o
@@ -61,7 +64,7 @@
obj-$(CONFIG_FB_SGIVW) += sgivwfb.o
obj-$(CONFIG_FB_ACORN) += acornfb.o
obj-$(CONFIG_FB_ATARI) += atafb.o
-obj-$(CONFIG_FB_MAC) += macfb.o macmodes.o
+obj-$(CONFIG_FB_MAC) += macfb.o
obj-$(CONFIG_FB_HGA) += hgafb.o
obj-$(CONFIG_FB_IGA) += igafb.o
obj-$(CONFIG_FB_APOLLO) += dnfb.o
===== drivers/video/macmodes.c 1.6 vs edited =====
--- 1.6/drivers/video/macmodes.c 2002-10-29 15:05:45 -05:00
+++ edited/drivers/video/macmodes.c 2005-03-13 17:01:03 -05:00
@@ -281,6 +281,7 @@
var->vmode = mode->vmode;
return 0;
}
+EXPORT_SYMBOL(mac_vmode_to_var)
/**
@@ -326,6 +327,7 @@
}
return -EINVAL;
}
+EXPORT_SYMBOL(mac_var_to_vmode)
/**
@@ -348,6 +350,7 @@
break;
return map->vmode;
}
+EXPORT_SYMBOL(mac_map_monitor_sense)
/**
@@ -370,7 +373,7 @@
*
*/
-int __init mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info,
+int mac_find_mode(struct fb_var_screeninfo *var, struct fb_info *info,
const char *mode_option, unsigned int default_bpp)
{
const struct fb_videomode *db = NULL;
@@ -384,3 +387,4 @@
return fb_find_mode(var, info, mode_option, db, dbsize,
&mac_modedb[DEFAULT_MODEDB_INDEX], default_bpp);
}
+EXPORT_SYMBOL(mac_find_mode)
===== drivers/video/macmodes.h 1.3 vs edited =====
--- 1.3/drivers/video/macmodes.h 2002-10-29 14:41:43 -05:00
+++ edited/drivers/video/macmodes.h 2005-03-13 17:01:32 -05:00
@@ -55,7 +55,7 @@
extern int mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode,
int *cmode);
extern int mac_map_monitor_sense(int sense);
-extern int __init mac_find_mode(struct fb_var_screeninfo *var,
+extern int mac_find_mode(struct fb_var_screeninfo *var,
struct fb_info *info, const char *mode_option,
unsigned int default_bpp);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-03-13 23:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-13 21:28 Fw: [PATCH][2.6.11-mm3] CONFIG_FB_ATY linkage error on PPC32 Andrew Morton
2005-03-13 21:55 ` Jon Smirl
2005-03-13 22:08 ` Jon Smirl [this message]
2005-03-13 23:14 ` Andrew Morton
2005-03-13 23:47 ` Antonino A. Daplas
2005-03-14 0:33 ` Jon Smirl
2005-03-13 22:57 ` Antonino A. Daplas
2005-03-13 23:06 ` Jon Smirl
2005-03-13 23:09 ` Antonino A. Daplas
2005-03-14 1:49 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e4733910503131408cd57b01@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=mikpe@csd.uu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.