On Fri, Jun 22, 2012 at 08:44:25PM +0400, Ruslan Bukin wrote:
> On Fri, Jun 22, 2012 at 10:23:46AM -0400, John Baldwin wrote:
> > On Friday, June 22, 2012 5:11:46 am Ruslan Bukin wrote:
> > > On Thu, Jun 21, 2012 at 08:12:41AM -0400, John Baldwin wrote:
> > > > On Wednesday, June 20, 2012 4:44:41 pm Ruslan Bukin wrote:
> > > > > Hi.
> > > > > 
> > > > > I have the problem with different behavior of snd_hdspe(4) sound card 
> > > > > driver initialization.
[..]
> > > > > 
> > > > The snd_hdspe driver probably needs to use DRIVER_MODULE_ORDERED() to 
> > > > ensure 
> > > > the other modules in its kld are registered with new-bus before it 
> > > > tries to 
> > > > attach to devices.
> > > 
> > > I have changed, but no success.
> > > 
> > > hdspe.c:
> > > DRIVER_MODULE_ORDERED(snd_hdspe, pci, hdspe_driver, pcm_devclass, 0, 0, 
> > > SI_ORDER_SECOND);
> > 
> > Try making this one use SI_ORDER_ANY.
> 
> Also no success.

I have added bus_generic_attach(dev) call, and now works fine.
the problem is resolved

> 
> -Ruslan
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to