Subject: Re: config_attach_pseudo(cfdata, aux)
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 03/20/2006 22:32:26
On Mon, Mar 20, 2006 at 18:24:24 +0000, Iain Hibbert wrote:

> Am creating pseudo device instances and have some attach arguments
> that the device would like to see, but config_attach_pseudo() does
> not pass aux arguments through to the device attach routine as
> config_found() would.
> 
> I can configure the device externally (I get the softc back and can
> twiddle it directly) but it seems cleaner for the device attach()
> routine to handle that. Would this patch be ok to enable that?

Can you provide usage example?

Thanks.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen