From: Peter Jones 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. Cc: Krzysztof Helt Cc: Geert Uytterhoeven Cc: Jaya Kumar Cc: Ralf Baechle Cc: Maciej W. Rozycki Signed-off-by: Andrew Morton --- 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 -puN drivers/video/Kconfig~efifb-imacfb-consolidation-hardware-support drivers/video/Kconfig --- a/drivers/video/Kconfig~efifb-imacfb-consolidation-hardware-support +++ a/drivers/video/Kconfig @@ -690,23 +690,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 -puN drivers/video/Makefile~efifb-imacfb-consolidation-hardware-support drivers/video/Makefile --- a/drivers/video/Makefile~efifb-imacfb-consolidation-hardware-support +++ a/drivers/video/Makefile @@ -125,7 +125,6 @@ obj-$(CONFIG_FB_CARMINE) += car # 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 -puN drivers/video/efifb.c~efifb-imacfb-consolidation-hardware-support drivers/video/efifb.c --- a/drivers/video/efifb.c~efifb-imacfb-consolidation-hardware-support +++ a/drivers/video/efifb.c @@ -12,6 +12,7 @@ #include #include #include +#include #include