Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/ic



On Thu, Dec 13, 2007 at 09:55:46PM -0500, Jared D. McNeill wrote:
> On Fri, 14 Dec 2007, David Young wrote:
>> Modified Files:
>>      src/sys/dev/ic: ath.c
>>
>> Log Message:
>> Exit from ath_init() with EBUSY if the device does not have power.
>
> Is there a way that we can do this in if_ethersubr.c so we don't have to 
> fix every single driver?

I looked at what is needed for automatic handling of resume/suspend for
up/down and the main problems is that it can't be done from if_init and
if_stop due to the recursion. I would consider to split them into two
parts and call the inner hook from the class handler.

Joerg



Home | Main Index | Thread Index | Old Index