/shark/trunk/drivers/bttv/bttv-driver.c |
---|
1120,6 → 1120,8 |
{ |
int need_wait; |
handler_remove(btv->dev->irq); |
vfree_32(btv->fbuffer); |
btv->fbuffer = NULL; |
1133,8 → 1135,6 |
btv->risc_cap_odd = 0; |
btv->risc_cap_even = 0; |
handler_remove(btv->dev->irq); |
pci_write_config_dword(btv->dev,PCI_COMMAND,oldpci_command); |
} |
1876,6 → 1876,8 |
int count; |
struct bttv *btv = btvirq; |
cli(); |
in_irq = 1; |
count=0; |
while (1) |
1885,6 → 1887,7 |
astat=stat&btread(BT848_INT_MASK); |
if (!astat) { |
in_irq = 0; |
sti(); |
return; |
} |
btwrite(stat,BT848_INT_STAT); |
2005,6 → 2008,8 |
} |
in_irq = 0; |
sti(); |
} |