Accidently disabled the fake interrupt cleanup, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16555 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -320,20 +320,20 @@ Radeon_CleanupIRQ(device_info *di)
|
||||
|
||||
Radeon_DisableIRQ(di);
|
||||
|
||||
#if 0
|
||||
/* if we were faking the interrupts */
|
||||
if ((di->pcii.u.h0.interrupt_pin == 0x00) || (di->pcii.u.h0.interrupt_line == 0xff)){
|
||||
if (di->pcii.u.h0.interrupt_pin == 0x00 || di->pcii.u.h0.interrupt_line == 0xff) {
|
||||
/* stop our interrupt faking thread */
|
||||
di->shutdown_virtual_irq = true;
|
||||
/* cancel the timer */
|
||||
/* we don't know which one is current, so cancel them both and ignore any error */
|
||||
cancel_timer((timer *)&(di->ti_a));
|
||||
cancel_timer((timer *)&(di->ti_b));
|
||||
cancel_timer((timer *)&di->ti_a);
|
||||
cancel_timer((timer *)&di->ti_b);
|
||||
} else {
|
||||
#if 0
|
||||
/* remove interrupt handler */
|
||||
remove_io_interrupt_handler(di->pcii.u.h0.interrupt_line, Radeon_Interrupt, di);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
delete_sem(si->crtc[0].vblank);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user