From d559e70b1ab908c2c86321b2242c0b8f011c875d Mon Sep 17 00:00:00 2001 From: "Christian T. Steigies" Date: Thu, 28 Sep 2006 18:43:28 +0000 Subject: [PATCH] more m68k update svn path=/dists/trunk/linux-2.6/; revision=7546 --- debian/arch/m68k/defines | 2 +- debian/changelog | 3 +-- debian/patches/m68k-fbcon.patch | 35 ++++++++++++++++++++++++++ debian/patches/m68k-no-backlight.patch | 31 ++++++++++++++++++----- debian/patches/series/2-extra | 1 + 5 files changed, 63 insertions(+), 9 deletions(-) create mode 100644 debian/patches/m68k-fbcon.patch diff --git a/debian/arch/m68k/defines b/debian/arch/m68k/defines index 770a8f219..56cea5c1e 100644 --- a/debian/arch/m68k/defines +++ b/debian/arch/m68k/defines @@ -5,7 +5,7 @@ flavours: # atari # bvme6000 # hp -# mac + mac # mvme147 # mvme16x # q40 diff --git a/debian/changelog b/debian/changelog index b1c727a78..40b6ebf30 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,9 +17,8 @@ linux-2.6 (2.6.18-2) UNRELEASED; urgency=low * m68k: Update patches for 2.6.18. * m68k: Re-Add m68k-as and m68k-macro patch which allow building with current binutils. * m68k: disable CONFIG_AUDIT for m68k. - * m68k/mac: add m68k-no-backlight patch. + * m68k/mac: add m68k-no-backlight and m68k-fbcon patch. * m68k/mac: enable SONIC, disable all ADB but CUDA. - * m68k/mac: disable mac, until fbcon.c can be compiled. [ Jurij Smakov ] * Add bugfix/proc-fb-reading.patch to fix the inconsistent behaviour diff --git a/debian/patches/m68k-fbcon.patch b/debian/patches/m68k-fbcon.patch new file mode 100644 index 000000000..88bbe46a3 --- /dev/null +++ b/debian/patches/m68k-fbcon.patch @@ -0,0 +1,35 @@ +Log message: +fix the survivors of fbcon_vbl_handler() renaming + +Signed-off-by: Al Viro + +Modified files: + linux/drivers/video/console: + fbcon.c + + +Index: linux/drivers/video/console/fbcon.c +Stats: 4 modifications +http://linux-m68k-cvs.ubb.ca/c/cvsweb/linux/drivers/video/console/fbcon%2ec.diff?r1=1.1.1.23&r2=1.4 +======================================================================== +--- linux/drivers/video/console/fbcon.c 23 Sep 2006 17:01:53 -0000 1.1.1.23 ++++ linux/drivers/video/console/fbcon.c 27 Sep 2006 23:15:51 -0000 1.4 +@@ -3197,11 +3197,11 @@ + return; + + #ifdef CONFIG_ATARI +- free_irq(IRQ_AUTO_4, fbcon_vbl_handler); ++ free_irq(IRQ_AUTO_4, fb_vbl_handler); + #endif + #ifdef CONFIG_MAC + if (MACH_IS_MAC && vbl_detected) +- free_irq(IRQ_MAC_VBL, fbcon_vbl_handler); ++ free_irq(IRQ_MAC_VBL, fb_vbl_handler); + #endif + + kfree((void *)softback_buf); +- +To unsubscribe from this list: send the line "unsubscribe linux-m68k-cvscommit" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html + diff --git a/debian/patches/m68k-no-backlight.patch b/debian/patches/m68k-no-backlight.patch index b1d3af47b..264289e6e 100644 --- a/debian/patches/m68k-no-backlight.patch +++ b/debian/patches/m68k-no-backlight.patch @@ -1,12 +1,31 @@ ---- linux-2.6-2.6.18/drivers/macintosh/adbhid.c.orig 2006-09-20 05:42:06.000000000 +0200 -+++ linux-2.6-2.6.18/drivers/macintosh/adbhid.c 2006-09-27 22:06:55.000000000 +0200 -@@ -45,7 +45,9 @@ +Log message: +asm/backlight.h is ppc-only + +Signed-off-by: Al Viro + +Modified files: + linux/drivers/macintosh: + adbhid.c + + +Index: linux/drivers/macintosh/adbhid.c +Stats: 1 insertion, 1 deletion +http://linux-m68k-cvs.ubb.ca/c/cvsweb/linux/drivers/macintosh/adbhid%2ec.diff?r1=1.1.1.23&r2=1.9 +======================================================================== +--- linux/drivers/macintosh/adbhid.c 23 Sep 2006 16:43:55 -0000 1.1.1.23 ++++ linux/drivers/macintosh/adbhid.c 27 Sep 2006 23:14:35 -0000 1.9 +@@ -45,8 +45,8 @@ #include #include -+#ifdef CONFIG_PMAC_BACKLIGHT - #include -+#endif +-#include #ifdef CONFIG_PPC_PMAC ++#include #include #endif + +- +To unsubscribe from this list: send the line "unsubscribe linux-m68k-cvscommit" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html + diff --git a/debian/patches/series/2-extra b/debian/patches/series/2-extra index a0680be3b..7526861ca 100644 --- a/debian/patches/series/2-extra +++ b/debian/patches/series/2-extra @@ -5,3 +5,4 @@ + m68k-as.patch m68k + m68k-macro.patch m68k + m68k-no-backlight.patch m68k ++ m68k-fbcon.patch m68k