Date: Fri, 13 Oct 2006 07:39:25 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_rl.c Message-ID: <200610130739.k9D7dPYb059359@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <umka sevcity.net>
Approved by: re (hrs)
Revision Changes Path
1.152.2.6 +5 -4 src/sys/pci/if_rl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610130739.k9D7dPYb059359>
