[PATCH] m68k: convert mac irq code
Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
35353bb8b8
commit
9c5f4afdfb
@@ -43,9 +43,6 @@
|
||||
|
||||
/* #define DEBUG_MAC_ESP */
|
||||
|
||||
#define mac_turnon_irq(x) mac_enable_irq(x)
|
||||
#define mac_turnoff_irq(x) mac_disable_irq(x)
|
||||
|
||||
extern void esp_handle(struct NCR_ESP *esp);
|
||||
extern void mac_esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
|
||||
|
||||
@@ -639,13 +636,13 @@ static void dma_init_write(struct NCR_ESP * esp, char * vaddress, int length)
|
||||
|
||||
static void dma_ints_off(struct NCR_ESP * esp)
|
||||
{
|
||||
mac_turnoff_irq(esp->irq);
|
||||
disable_irq(esp->irq);
|
||||
}
|
||||
|
||||
|
||||
static void dma_ints_on(struct NCR_ESP * esp)
|
||||
{
|
||||
mac_turnon_irq(esp->irq);
|
||||
enable_irq(esp->irq);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user