[PATCH 3/3] Maple bus support for the Sega Dreamcast - consequential change to pvr2 driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Antonino A. Daplas <adaplas@...>
Cc: Paul Mundt <lethal@...>, <linux-kernel@...>
Date: Sunday, September 9, 2007 - 1:06 pm

Make the VBLANK interrupt shareable.

This is the third time I have posted this patch. This is required to
allow the Maple bus driver to work (Maple hardware is synced with the
VBLANK interrupt).

Signed off: Adrian McMenamin <adrian@mcmen.demon.co.uk>

diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c
index 7d6c298..13de07f 100644
--- a/drivers/video/pvr2fb.c
+++ b/drivers/video/pvr2fb.c
@@ -890,7 +890,7 @@ static int __init pvr2fb_dc_init(void)
 	pvr2_fix.mmio_start	= 0xa05f8000;	/* registers start here */
 	pvr2_fix.mmio_len	= 0x2000;

-	if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, 0,
+	if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, IRQF_SHARED,
 	                "pvr2 VBL handler", fb_info)) {
 		return -EBUSY;
 	}
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/3] Maple bus support for the Sega Dreamcast - conse..., Adrian McMenamin, (Sun Sep 9, 1:06 pm)