From owner-p4-projects@FreeBSD.ORG Fri Oct 10 19:31:25 2014 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F15EBE8C; Fri, 10 Oct 2014 19:31:24 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2EBDE8A for ; Fri, 10 Oct 2014 19:31:24 +0000 (UTC) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:1900:2254:2068::682: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 9FA418D7 for ; Fri, 10 Oct 2014 19:31:24 +0000 (UTC) Received: from skunkworks.freebsd.org ([127.0.1.74]) by skunkworks.freebsd.org (8.14.9/8.14.9) with ESMTP id s9AJVOJf037840 for ; Fri, 10 Oct 2014 19:31:24 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.9/8.14.9/Submit) id s9AJVO8U037837 for perforce@freebsd.org; Fri, 10 Oct 2014 19:31:24 GMT (envelope-from jhb@freebsd.org) Date: Fri, 10 Oct 2014 19:31:24 GMT Message-Id: <201410101931.s9AJVO8U037837@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin Subject: PERFORCE change 1201459 for review To: Perforce Change Reviews Precedence: bulk X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.18-1 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2014 19:31:25 -0000 http://p4web.freebsd.org/@@1201459?ac=10 Change 1201459 by jhb@jhb_pippin on 2014/10/10 19:30:38 These should be BUS_PASS_RESOURCE I think because they are akin to system resources. Affected files ... .. //depot/projects/multipass/sys/x86/bios/smbios.c#4 edit .. //depot/projects/multipass/sys/x86/bios/vpd.c#4 edit Differences ... ==== //depot/projects/multipass/sys/x86/bios/smbios.c#4 (text+ko) ==== @@ -229,7 +229,8 @@ sizeof(struct smbios_softc), }; -DRIVER_MODULE(smbios, nexus, smbios_driver, smbios_devclass, smbios_modevent, 0); +EARLY_DRIVER_MODULE(smbios, nexus, smbios_driver, smbios_devclass, + smbios_modevent, BUS_PASS_RESOURCE); MODULE_VERSION(smbios, 1); static int ==== //depot/projects/multipass/sys/x86/bios/vpd.c#4 (text+ko) ==== @@ -275,7 +275,8 @@ sizeof(struct vpd_softc), }; -DRIVER_MODULE(vpd, nexus, vpd_driver, vpd_devclass, vpd_modevent, 0); +EARLY_DRIVER_MODULE(vpd, nexus, vpd_driver, vpd_devclass, vpd_modevent, 0, + BUS_PASS_RESOURCE); MODULE_VERSION(vpd, 1); /*