Dan Mick wrote:
> Juergen Keil wrote:
>
>
>> How is a driver supposed to behave in such a case, when it has sucessfully
>> suspended the device but the interrupt handler is still invoked because it
>> is sharing the interrupt with some other device that is not yet suspended?
>>
>> Shouldn't ohci set some flag in its softstate when ohci_detach(DDI_SUSPEND)
>> has run, and just return with DDI_INTR_UNCLAIMED from ohci_intr() when
>> ohci_intr is invoked for such a suspended device?
>>
>
> Certainly return without doing damage, yes, and DDI_INTR_UNCLAIMED seems
> like the best possible way...
>
> I'm surprised suspendable drivers don't do this as a matter of course.
>
Most of them do, I think.
-- Garrett
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss