From owner-cvs-src@FreeBSD.ORG Wed Apr 2 08:47:17 2003 Return-Path: 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 0E20F37B401; Wed, 2 Apr 2003 08:47:17 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B45E543FAF; Wed, 2 Apr 2003 08:47:16 -0800 (PST) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h32GlG0U002337; Wed, 2 Apr 2003 08:47:16 -0800 (PST) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h32GlGVU002336; Wed, 2 Apr 2003 08:47:16 -0800 (PST) Message-Id: <200304021647.h32GlGVU002336@repoman.freebsd.org> From: Maxime Henrion Date: Wed, 2 Apr 2003 08:47:16 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/fxp if_fxp.c if_fxpreg.h if_fxpvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 02 Apr 2003 16:47:17 -0000 mux 2003/04/02 08:47:16 PST FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c if_fxpreg.h if_fxpvar.h Log: Convert the fxp(4) driver to the busdma API. This patch is rather big because I had to significantly redesign the driver to make the busdma conversion possible. Most notably, hardware and software structures were carefully splitted to get rid of all the structs overlapping evilness. Special thanks to phk and Richard Puga for providing me with fxp(4) hardware to do this work. Thanks to marcel for testing this on ia64, and to Fred Clift for testing this on alpha. Tested on: i386, ia64, alpha Revision Changes Path 1.152 +396 -206 src/sys/dev/fxp/if_fxp.c 1.28 +2 -14 src/sys/dev/fxp/if_fxpreg.h 1.24 +54 -9 src/sys/dev/fxp/if_fxpvar.h