From owner-cvs-all@FreeBSD.ORG Thu Oct 27 21:18:38 2005 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 085D216A41F; Thu, 27 Oct 2005 21:18:38 +0000 (GMT) (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 AE26843D48; Thu, 27 Oct 2005 21:18:37 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9RLIbpg035885; Thu, 27 Oct 2005 21:18:37 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9RLIbv0035884; Thu, 27 Oct 2005 21:18:37 GMT (envelope-from jhb) Message-Id: <200510272118.j9RLIbv0035884@repoman.freebsd.org> From: John Baldwin Date: Thu, 27 Oct 2005 21:18: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/pci if_vr.c if_vrreg.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: Thu, 27 Oct 2005 21:18:38 -0000 jhb 2005-10-27 21:18:37 UTC FreeBSD src repository Modified files: sys/pci if_vr.c if_vrreg.h Log: - Use if_printf() and device_printf() and remove vr_unit from the softc. I had to initialize the ifnet a bit earlier in attach so that the if_printf()'s in vr_reset() didn't explode with a page fault. - Use M_ZERO with contigmalloc() rather than an explicit bzero. Revision Changes Path 1.112 +44 -52 src/sys/pci/if_vr.c 1.23 +0 -1 src/sys/pci/if_vrreg.h