From owner-cvs-all@FreeBSD.ORG Fri Dec 2 01:23:21 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 69F4416A41F; Fri, 2 Dec 2005 01:23:21 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB9C243D64; Fri, 2 Dec 2005 01:23:20 +0000 (GMT) (envelope-from marcel@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 jB21NKcU002066; Fri, 2 Dec 2005 01:23:20 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB21NKVD002065; Fri, 2 Dec 2005 01:23:20 GMT (envelope-from marcel) Message-Id: <200512020123.jB21NKVD002065@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 2 Dec 2005 01:23:20 +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/dev/dc if_dc.c if_dcreg.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, 02 Dec 2005 01:23:21 -0000 marcel 2005-12-02 01:23:20 UTC FreeBSD src repository Modified files: sys/dev/dc if_dc.c if_dcreg.h Log: Fix the misalignment bugs differently than was done in the previous commit. Copy the ethernet address into a local buffer, which we know is sufficiently aligned for the width of the memory accesses that we do. This also eliminates all suspicious and potentionally harmful casts. In collaboration with: ru Revision Changes Path 1.174 +31 -21 src/sys/dev/dc/if_dc.c 1.47 +2 -2 src/sys/dev/dc/if_dcreg.h