From owner-svn-src-head@freebsd.org Fri Nov 6 14:40:52 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EF43A28ABA; Fri, 6 Nov 2015 14:40:52 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44D5615BA; Fri, 6 Nov 2015 14:40:52 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA6EepaF037343; Fri, 6 Nov 2015 14:40:51 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA6EepHs037342; Fri, 6 Nov 2015 14:40:51 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201511061440.tA6EepHs037342@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Fri, 6 Nov 2015 14:40:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290448 - head/sys/dev/vnic X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 14:40:52 -0000 Author: andrew Date: Fri Nov 6 14:40:51 2015 New Revision: 290448 URL: https://svnweb.freebsd.org/changeset/base/290448 Log: Mark the thunder_mdio_fdt driver as early, the bgx needs it to exist so it can find the network phy. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/vnic/thunder_mdio_fdt.c Modified: head/sys/dev/vnic/thunder_mdio_fdt.c ============================================================================== --- head/sys/dev/vnic/thunder_mdio_fdt.c Fri Nov 6 14:36:21 2015 (r290447) +++ head/sys/dev/vnic/thunder_mdio_fdt.c Fri Nov 6 14:40:51 2015 (r290448) @@ -58,8 +58,8 @@ DEFINE_CLASS_1(thunder_mdio, thunder_mdi static devclass_t thunder_mdio_fdt_devclass; -DRIVER_MODULE(thunder_mdio, ofwbus, thunder_mdio_fdt_driver, - thunder_mdio_fdt_devclass, 0, 0); +EARLY_DRIVER_MODULE(thunder_mdio, ofwbus, thunder_mdio_fdt_driver, + thunder_mdio_fdt_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE); static int thunder_mdio_fdt_probe(device_t dev)