From owner-svn-src-head@FreeBSD.ORG Tue Aug 5 17:22:49 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3723D713 for ; Tue, 5 Aug 2014 17:22:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F5FE2B35 for ; Tue, 5 Aug 2014 17:22:49 +0000 (UTC) Received: from ian (uid 1311) (envelope-from ian@FreeBSD.org) id 5f53 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Tue, 05 Aug 2014 17:22:49 +0000 From: Ian Lepore Date: Tue, 5 Aug 2014 17:22:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269596 - head/sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e112e9.5f53.7b85315a@svn.freebsd.org> X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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: Tue, 05 Aug 2014 17:22:49 -0000 Author: ian Date: Tue Aug 5 17:22:48 2014 New Revision: 269596 URL: http://svnweb.freebsd.org/changeset/base/269596 Log: Define names that drivers can use to adjust their position relative to other drivers within a BUS_PASS. Reviewed by: imp Modified: head/sys/sys/bus.h Modified: head/sys/sys/bus.h ============================================================================== --- head/sys/sys/bus.h Tue Aug 5 16:44:27 2014 (r269595) +++ head/sys/sys/bus.h Tue Aug 5 17:22:48 2014 (r269596) @@ -568,6 +568,12 @@ void bus_data_generation_update(void); #define BUS_PASS_SCHEDULER 60 /* Start scheduler. */ #define BUS_PASS_DEFAULT __INT_MAX /* Everything else. */ +#define BUS_PASS_ORDER_FIRST 0 +#define BUS_PASS_ORDER_EARLY 2 +#define BUS_PASS_ORDER_MIDDLE 5 +#define BUS_PASS_ORDER_LATE 7 +#define BUS_PASS_ORDER_LAST 9 + extern int bus_current_pass; void bus_set_pass(int pass);