From owner-cvs-src@FreeBSD.ORG Fri Oct 13 07:39:26 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 A75F216A47B; Fri, 13 Oct 2006 07:39:26 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E4C343D94; Fri, 13 Oct 2006 07:39:26 +0000 (GMT) (envelope-from glebius@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 k9D7dQvK059360; Fri, 13 Oct 2006 07:39:26 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9D7dPYb059359; Fri, 13 Oct 2006 07:39:25 GMT (envelope-from glebius) Message-Id: <200610130739.k9D7dPYb059359@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 13 Oct 2006 07:39:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/pci if_rl.c 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: Fri, 13 Oct 2006 07:39:26 -0000 glebius 2006-10-13 07:39:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pci if_rl.c Log: MFC rev. 1.164: Consistently use if_printf() only in interface methods: if_start, if_ioctl, if_watchdog, etc, or in functions that are used by these methods only. In all other cases use device_printf(). This also fixes several panics, when if_printf() is called before softc->ifp was initialized. PR: kern/102974 Submitted by: Alex Lyashkov Approved by: re (hrs) Revision Changes Path 1.152.2.6 +5 -4 src/sys/pci/if_rl.c