From owner-svn-src-all@FreeBSD.ORG Mon Sep 21 09:09:55 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9465F1065670; Mon, 21 Sep 2009 09:09:55 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 836648FC15; Mon, 21 Sep 2009 09:09:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n8L99tUQ083088; Mon, 21 Sep 2009 09:09:55 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n8L99tXG083086; Mon, 21 Sep 2009 09:09:55 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <200909210909.n8L99tXG083086@svn.freebsd.org> From: Xin LI Date: Mon, 21 Sep 2009 09:09:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r197388 - head/sys/dev/x86bios X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 09:09:55 -0000 Author: delphij Date: Mon Sep 21 09:09:55 2009 New Revision: 197388 URL: http://svn.freebsd.org/changeset/base/197388 Log: To be safe, make this module initialize earlier by specifying SI_SUB_CPU instead of SI_SUB_KLD. Note that we don't believe that there is any consumers of x86bios that would be triggered in the early stage of boot, so this is more or less just a safebelt. Submitted by: swell.k at gmail.com Modified: head/sys/dev/x86bios/x86bios.c Modified: head/sys/dev/x86bios/x86bios.c ============================================================================== --- head/sys/dev/x86bios/x86bios.c Mon Sep 21 08:53:26 2009 (r197387) +++ head/sys/dev/x86bios/x86bios.c Mon Sep 21 09:09:55 2009 (r197388) @@ -213,6 +213,6 @@ static moduledata_t x86bios_mod = { NULL, }; -DECLARE_MODULE(x86bios, x86bios_mod, SI_SUB_KLD, SI_ORDER_ANY); +DECLARE_MODULE(x86bios, x86bios_mod, SI_SUB_CPU, SI_ORDER_ANY); MODULE_VERSION(x86bios, 1);