Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218925
b: refs/heads/master
c: 8ed5c00
h: refs/heads/master
i:
  218923: a3628f9
v: v3
  • Loading branch information
Kyle McMartin committed Oct 14, 2010
1 parent e33a8f4 commit 43ca166
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7998b3bd156478c35de685f90d4d0dda57916c60
refs/heads/master: 8ed5c00d7c166f505eb2e8ff47748bfa73824130
23 changes: 7 additions & 16 deletions trunk/drivers/parisc/eisa.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static unsigned int eisa_irq_level __read_mostly; /* default to edge triggered *


/* called by free irq */
static void eisa_disable_irq(unsigned int irq)
static void eisa_mask_irq(unsigned int irq)
{
unsigned long flags;

Expand All @@ -164,7 +164,7 @@ static void eisa_disable_irq(unsigned int irq)
}

/* called by request irq */
static void eisa_enable_irq(unsigned int irq)
static void eisa_unmask_irq(unsigned int irq)
{
unsigned long flags;
EISA_DBG("enable irq %d\n", irq);
Expand All @@ -182,20 +182,11 @@ static void eisa_enable_irq(unsigned int irq)
EISA_DBG("pic1 mask %02x\n", eisa_in8(0xa1));
}

static unsigned int eisa_startup_irq(unsigned int irq)
{
eisa_enable_irq(irq);
return 0;
}

static struct irq_chip eisa_interrupt_type = {
.name = "EISA",
.startup = eisa_startup_irq,
.shutdown = eisa_disable_irq,
.enable = eisa_enable_irq,
.disable = eisa_disable_irq,
.ack = no_ack_irq,
.end = no_end_irq,
.name = "EISA",
.unmask = eisa_unmask_irq,
.mask = eisa_mask_irq,
.ack = no_ack_irq,
};

static irqreturn_t eisa_irq(int wax_irq, void *intr_dev)
Expand Down Expand Up @@ -349,7 +340,7 @@ static int __init eisa_probe(struct parisc_device *dev)
setup_irq(2, &irq2_action);
for (i = 0; i < 16; i++) {
set_irq_chip_and_handler(i, &eisa_interrupt_type,
parisc_do_IRQ);
handle_level_irq);
}

EISA_bus = 1;
Expand Down

0 comments on commit 43ca166

Please sign in to comment.