From 7c08c9ae0c145807c0dae4a55f240fa3d4fd5262 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 15 Oct 2008 22:03:43 -0700 Subject: efifb/imacfb consolidation + hardware support Remove imacfb entirely, merging its DMI table into the (otherwise very similar) efifb driver. This also adds hardware support for many of the newer Intel Apple hardware. This has been fairly well tested; we've been shipping it in Fedora for some time. Signed-off-by: Peter Jones Cc: Krzysztof Helt Cc: Geert Uytterhoeven Cc: Jaya Kumar Cc: Ralf Baechle Cc: Maciej W. Rozycki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/Kconfig | 15 +- drivers/video/Makefile | 1 - drivers/video/efifb.c | 191 +++++++++++++++++++++++-- drivers/video/imacfb.c | 376 ------------------------------------------------- 4 files changed, 184 insertions(+), 399 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index e63e5648e0a..3b296e410f9 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -689,23 +689,14 @@ config FB_VESA config FB_EFI bool "EFI-based Framebuffer Support" - depends on (FB = y) && X86 - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - help - This is the EFI frame buffer device driver. If the firmware on - your platform is UEFI2.0, select Y to add support for - Graphics Output Protocol for early console messages to appear. - -config FB_IMAC - bool "Intel-based Macintosh Framebuffer Support" depends on (FB = y) && X86 && EFI select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT help - This is the frame buffer device driver for the Intel-based Macintosh + This is the EFI frame buffer device driver. If the firmware on + your platform is EFI 1.10 or UEFI 2.0, select Y to add support for + using the EFI framebuffer as your console. config FB_N411 tristate "N411 Apollo/Hecuba devkit support" diff --git a/drivers/video/Makefile b/drivers/video/Makefile index dcae8d402fb..2bc94d8eb3c 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -125,7 +125,6 @@ obj-$(CONFIG_FB_CARMINE) += carminefb.o # Platform or fallback drivers go here obj-$(CONFIG_FB_UVESA) += uvesafb.o obj-$(CONFIG_FB_VESA) += vesafb.o -obj-$(CONFIG_FB_IMAC) += imacfb.o obj-$(CONFIG_FB_EFI) += efifb.o obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index bd779ae44b1..daf9b81878a 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -12,6 +12,7 @@ #include #include #include +#include #include