From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 1 16:34:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B5581065673; Sun, 1 Jul 2012 16:34:03 +0000 (UTC) (envelope-from br@jail.io) Received: from mx.bsdpad.com (mx.bsdpad.com [46.4.68.80]) by mx1.freebsd.org (Postfix) with ESMTP id CDA328FC0C; Sun, 1 Jul 2012 16:34:02 +0000 (UTC) Received: from mx.bsdpad.com ([46.4.68.80] helo=jail.io) by mx.bsdpad.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SlN5j-000LE8-VJ; Sun, 01 Jul 2012 20:33:44 +0400 Received: (from br@localhost) by jail.io (8.14.5/8.14.5/Submit) id q61GXhEc081599; Sun, 1 Jul 2012 16:33:43 GMT (envelope-from br) Date: Sun, 1 Jul 2012 20:33:43 +0400 From: Ruslan Bukin To: John Baldwin Message-ID: <20120701163343.GA81569@jail.io> References: <20120620204441.GA63638@jail.io> <201206210812.41137.jhb@freebsd.org> <20120622091146.GA5305@jail.io> <201206221023.46697.jhb@freebsd.org> <20120622164425.GA13364@jail.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120622164425.GA13364@jail.io> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org Subject: Re: newbus / snd_hdspe(4) trouble X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 16:34:03 -0000 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-unsubscribe@freebsd.org"