Date: Fri, 6 Nov 2015 14:40:51 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290448 - head/sys/dev/vnic Message-ID: <201511061440.tA6EepHs037342@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511061440.tA6EepHs037342>