From owner-freebsd-current@FreeBSD.ORG Mon Jan 12 19:28:33 2015 Return-Path: Delivered-To: freebsd-current@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 10761F23 for ; Mon, 12 Jan 2015 19:28:33 +0000 (UTC) Received: from mail-yk0-f176.google.com (mail-yk0-f176.google.com [209.85.160.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBE5BF13 for ; Mon, 12 Jan 2015 19:28:32 +0000 (UTC) Received: by mail-yk0-f176.google.com with SMTP id 79so10081598ykr.7 for ; Mon, 12 Jan 2015 11:28:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Q2my3OeSS+Usl39E0Q+pG8LrFeid9wQx2xkr8AdACIw=; b=cLTPjVd6xq6yL4gWd6XEpQnaQFkedKn3XWJHr19bDhUHPXVwD1WUTt3b74AIL8D4dl Mn0Mbr9Ydtg6GpU75PfK/UDOsSU0noaff7UWS0/WwQiZf64vIeHt1AAmWPEsVqqYasAr vV9LdrdA+7hTwINuOZFlkdDz5VvT6Owl61zqF5v8AlRq0TexoC57sV7S9ACSxZhK+OEQ JTiB5PtaUkMOGrq+J/2neNp7ZpC0Rn59sR6Qal3XYu2PoasRtz0qOsE4NV6dbp6f7f7h sXo7D3ElGr/3zLOcZvuWMFhnJ7Y92fBaW8r4H1SRea5szn2MG0cDuHLjDeMVzJ2DZSFC oefg== X-Gm-Message-State: ALoCoQkbVyRoc1AXP4b5kIEVvl63Mx2c0jc8SdiqBL3VR5RrdqWvUBg47+23KdVPo9Qn21peq3lX MIME-Version: 1.0 X-Received: by 10.236.32.8 with SMTP id n8mr24206450yha.74.1421090905935; Mon, 12 Jan 2015 11:28:25 -0800 (PST) Received: by 10.170.35.20 with HTTP; Mon, 12 Jan 2015 11:28:25 -0800 (PST) Date: Mon, 12 Jan 2015 20:28:25 +0100 Message-ID: Subject: Patch to replace part of common bus code with one function. From: Zbigniew Bodek To: Nathan Whitehorn , Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2015 19:28:33 -0000 Hello all, I would like to share a patch that groups some portion of common bus code into one function that can be then reused. You can check it out in Phabricator https://reviews.freebsd.org/D1504 Feel free to test the patch and send your comments as well as remarks. Best regards zbb