NetBSD/sys/arch/mac68k
scottr 73a00edbd6 PR 4078: Enabling the SCSI IRQ interrupt to allow reselects to work
causes the MI interrupt handler to barf when we get a 5380 RST interrupt
while probing.  Worse, the VIA latches the interrupt, so simply having
all interrupts disabled during autoconfig doesn't resolve the problem.
[I demonstrated the latter on a IIci, which erroneously reports a
reselection attempt(!) after autoconfig is complete.  The latched
interrupt results from the SCSI bus reset we do when initializing the
bus.]

Since interrupts must be enabled during autoconfig anyway (sigh), test
to see if autoconfig has completed in sbc_irq_intr().  If not, we don't
pass the interrupt up to the MI interrupt handler.  Also, make sure to
clear the VIA interrupt if we're servicing an unclaimed 5380 RST
interrupt.

Thanks to Bill Studenmund for providing the key insight needed to unlock
this problem.
1997-12-06 18:53:30 +00:00
..
compile new RCS ID format. 1994-10-26 08:45:48 +00:00
conf Add COMPAT_13. 1997-12-01 14:52:51 +00:00
dev PR 4078: Enabling the SCSI IRQ interrupt to allow reselects to work 1997-12-06 18:53:30 +00:00
include NetBSD RCSIds. 1997-11-07 13:31:15 +00:00
mac68k Standardize COMPAT_SUNOS -- remove all references to 1997-12-04 15:33:17 +00:00
nubus Thanks to Paul Goyette <paul@whooppee.com> for a patch to clear the 1997-12-03 03:05:02 +00:00
obio Forgot a declaration in last change to esp.c. 1997-11-25 03:54:56 +00:00
Makefile Make these closer to working. 1997-10-11 09:10:25 +00:00