diff options
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r-- | drivers/parisc/dino.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c index 3013c57f121..d9f51485bee 100644 --- a/drivers/parisc/dino.c +++ b/drivers/parisc/dino.c | |||
@@ -296,7 +296,7 @@ static struct pci_port_ops dino_port_ops = { | |||
296 | .outl = dino_out32 | 296 | .outl = dino_out32 |
297 | }; | 297 | }; |
298 | 298 | ||
299 | static void dino_disable_irq(unsigned int irq) | 299 | static void dino_mask_irq(unsigned int irq) |
300 | { | 300 | { |
301 | struct dino_device *dino_dev = get_irq_chip_data(irq); | 301 | struct dino_device *dino_dev = get_irq_chip_data(irq); |
302 | int local_irq = gsc_find_local_irq(irq, dino_dev->global_irq, DINO_LOCAL_IRQS); | 302 | int local_irq = gsc_find_local_irq(irq, dino_dev->global_irq, DINO_LOCAL_IRQS); |
@@ -308,7 +308,7 @@ static void dino_disable_irq(unsigned int irq) | |||
308 | __raw_writel(dino_dev->imr, dino_dev->hba.base_addr+DINO_IMR); | 308 | __raw_writel(dino_dev->imr, dino_dev->hba.base_addr+DINO_IMR); |
309 | } | 309 | } |
310 | 310 | ||
311 | static void dino_enable_irq(unsigned int irq) | 311 | static void dino_unmask_irq(unsigned int irq) |
312 | { | 312 | { |
313 | struct dino_device *dino_dev = get_irq_chip_data(irq); | 313 | struct dino_device *dino_dev = get_irq_chip_data(irq); |
314 | int local_irq = gsc_find_local_irq(irq, dino_dev->global_irq, DINO_LOCAL_IRQS); | 314 | int local_irq = gsc_find_local_irq(irq, dino_dev->global_irq, DINO_LOCAL_IRQS); |
@@ -345,20 +345,11 @@ static void dino_enable_irq(unsigned int irq) | |||
345 | } | 345 | } |
346 | } | 346 | } |
347 | 347 | ||
348 | static unsigned int dino_startup_irq(unsigned int irq) | ||
349 | { | ||
350 | dino_enable_irq(irq); | ||
351 | return 0; | ||
352 | } | ||
353 | |||
354 | static struct irq_chip dino_interrupt_type = { | 348 | static struct irq_chip dino_interrupt_type = { |
355 | .name = "GSC-PCI", | 349 | .name = "GSC-PCI", |
356 | .startup = dino_startup_irq, | 350 | .unmask = dino_unmask_irq, |
357 | .shutdown = dino_disable_irq, | 351 | .mask = dino_mask_irq, |
358 | .enable = dino_enable_irq, | 352 | .ack = no_ack_irq, |
359 | .disable = dino_disable_irq, | ||
360 | .ack = no_ack_irq, | ||
361 | .end = no_end_irq, | ||
362 | }; | 353 | }; |
363 | 354 | ||
364 | 355 | ||