From owner-cvs-src@FreeBSD.ORG Mon Nov 13 17:33:18 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 AF6F216A407; Mon, 13 Nov 2006 17:33:18 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B478944161; Mon, 13 Nov 2006 17:24:59 +0000 (GMT) (envelope-from marius@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 kADHOO6S049708; Mon, 13 Nov 2006 17:24:24 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kADHOOrV049703; Mon, 13 Nov 2006 17:24:24 GMT (envelope-from marius) Message-Id: <200611131724.kADHOOrV049703@repoman.freebsd.org> From: Marius Strobl Date: Mon, 13 Nov 2006 17:24:24 +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_dc.c if_dcreg.h 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, 13 Nov 2006 17:33:18 -0000 marius 2006-11-13 17:24:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pci if_dc.c if_dcreg.h Log: MFC: sys/dev/dc/if_dc.c 1.185, 1.186 (partial); sys/dev/dc/if_dcreg.h 1.52 - Consistently use if_printf() only in interface methods: if_start(), if_watchdog, etc., or in functions used only in these methods. In all other functions in the driver use device_printf(). - Use __func__ instead of typing function name. - Wrap code optimized for architectures without alignment constraints in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This means that amd64 now also uses the optimized code. While at it, fix a nearby style(9) bug. - In dc_setcfg() suppress printing a warning when forcing the receiver and transceiver to idle state times out for chips where the status bits in question just never change (observed in detail with DM9102A) and therefore the warning would be highly likely false positive. - In dc_ifmedia_sts() add a missing DC_UNLOCK(). Approved by: re (kensmith) Revision Changes Path 1.160.2.12 +28 -16 src/sys/pci/if_dc.c 1.44.2.5 +1 -0 src/sys/pci/if_dcreg.h