From owner-cvs-all@FreeBSD.ORG Fri Sep 15 10:40:55 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B361516A403; Fri, 15 Sep 2006 10:40:55 +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 6E58F43D46; Fri, 15 Sep 2006 10:40:55 +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 k8FAet0H072305; Fri, 15 Sep 2006 10:40:55 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8FAettG072304; Fri, 15 Sep 2006 10:40:55 GMT (envelope-from glebius) Message-Id: <200609151040.k8FAettG072304@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 15 Sep 2006 10:40:55 +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/pci if_rl.c if_sf.c if_sfreg.h if_sis.c if_sisreg.h if_ste.c if_tl.c if_tlreg.h if_vr.c if_vrreg.h if_wb.c if_wbreg.h if_xl.c if_xlreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 10:40:55 -0000 glebius 2006-09-15 10:40:55 UTC FreeBSD src repository Modified files: sys/pci if_rl.c if_sf.c if_sfreg.h if_sis.c if_sisreg.h if_ste.c if_tl.c if_tlreg.h if_vr.c if_vrreg.h if_wb.c if_wbreg.h if_xl.c if_xlreg.h Log: 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. Submitted by: Alex Lyashkov Revision Changes Path 1.164 +5 -4 src/sys/pci/if_rl.c 1.94 +4 -3 src/sys/pci/if_sf.c 1.18 +1 -0 src/sys/pci/if_sfreg.h 1.146 +6 -6 src/sys/pci/if_sis.c 1.37 +1 -1 src/sys/pci/if_sisreg.h 1.96 +9 -7 src/sys/pci/if_ste.c 1.109 +12 -11 src/sys/pci/if_tl.c 1.24 +1 -0 src/sys/pci/if_tlreg.h 1.116 +11 -9 src/sys/pci/if_vr.c 1.26 +1 -0 src/sys/pci/if_vrreg.h 1.91 +7 -5 src/sys/pci/if_wb.c 1.16 +1 -0 src/sys/pci/if_wbreg.h 1.206 +30 -31 src/sys/pci/if_xl.c 1.57 +1 -0 src/sys/pci/if_xlreg.h