Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 07/31/1997 18:20:05
thorpej
Thu Jul 31 11:12:25 PDT 1997
Update of /cvsroot/src/sys/dev/isa
In directory netbsd1:/var/slash-tmp/cvs-serv24411

Modified Files:
      Tag: marc-pcmcia
	i82365.c 
Log Message:
In pcic_chip_intr_establish():
- Update for additional "irqmask" argument.
- Don't attempt to allocate IRQs that are not in the PCIC's list of
  valid IRQs.
- Clear the IRQ bits in the PCIC_INTR register value before OR'ing in
  the new value, to avoid accidentally setting a bogus IRQ.

In pcic_chip_intr_disestablish():
- Before removing the interrupt handler, clear the IRQ and "enable" bits
  in the PCIC_INTR register so that we don't get spurious interrupts
  later.