From owner-cvs-all@FreeBSD.ORG Wed Jun 2 14:34:15 2004 Return-Path: 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 0ADB516A4CF; Wed, 2 Jun 2004 14:34:15 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF40743D58; Wed, 2 Jun 2004 14:34:14 -0700 (PDT) (envelope-from naddy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i52LYEk4076617; Wed, 2 Jun 2004 14:34:14 -0700 (PDT) (envelope-from naddy@repoman.freebsd.org) Received: (from naddy@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i52LYEEI076616; Wed, 2 Jun 2004 14:34:14 -0700 (PDT) (envelope-from naddy) Message-Id: <200406022134.i52LYEEI076616@repoman.freebsd.org> From: Christian Weisgerber Date: Wed, 2 Jun 2004 14:34:14 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net ethernet.h if_ethersubr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 02 Jun 2004 21:34:15 -0000 naddy 2004/06/02 14:34:14 PDT FreeBSD src repository (ports committer) Modified files: sys/net ethernet.h if_ethersubr.c Log: Add helper functions to calculate the standard ethernet CRC in little/big endian fashion, so that network drivers can just reference the standard implementation and don't have to bring their own. As discussed on arch@. Obtained from: NetBSD Revision Changes Path 1.23 +2 -0 src/sys/net/ethernet.h 1.171 +73 -0 src/sys/net/if_ethersubr.c