Subject: Re: CVS commit: syssrc
To: HAYAKAWA Koichi <haya@netbsd.org>
From: Charles M. Hannum <root@ihack.net>
List: source-changes
Date: 04/06/2000 08:52:34
> Add CardBus interrupt enable flag. When this flag is asserted, a
> CardBus interrupt is routed to the child devices and vice versa. This
> flag is negated when a pccbb receives a suspend or stanby event.
This change is simply wrong as implemented. You cannot just ignore a
level-triggered interrupt; you MUST either service it or cause it to
be masked permanently. Otherwise the machine will hang.
The correct action would be to add suspend/resume hooks to the drivers
to cause them to shut down and restart cleanly -- unregistering and
reregistering their interrupt handlers as appropriate.