From owner-cvs-src@FreeBSD.ORG Mon Sep 11 22:20:45 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F8B416A417; Mon, 11 Sep 2006 22:20:45 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EC1B43D96; Mon, 11 Sep 2006 22:20:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8BMKbxN009491; Mon, 11 Sep 2006 22:20:38 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8BMKbfG009489; Mon, 11 Sep 2006 22:20:37 GMT (envelope-from jhb) Message-Id: <200609112220.k8BMKbfG009489@repoman.freebsd.org> From: John Baldwin Date: Mon, 11 Sep 2006 22:20:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/smbus smbus.c src/sys/kern bus_if.m X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 22:20:45 -0000 jhb 2006-09-11 22:20:37 UTC FreeBSD src repository Modified files: sys/dev/smbus smbus.c sys/kern bus_if.m Log: - Revert making bus_generic_add_child() the default for BUS_ADD_CHILD(). Instead, we want busses to explicitly specify an add_child routine if they want to support identify routines, but by default disallow having outside drivers add devices. - Give smbus(4) an explicit bus_add_child() method. Requested by: imp Revision Changes Path 1.23 +1 -0 src/sys/dev/smbus/smbus.c 1.33 +1 -1 src/sys/kern/bus_if.m