From owner-cvs-src@FreeBSD.ORG Mon Mar 24 17:38:24 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B494E1065671; Mon, 24 Mar 2008 17:38:24 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF5D8FC2A; Mon, 24 Mar 2008 17:38:24 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2OHcOhA064533; Mon, 24 Mar 2008 17:38:24 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2OHcOOk064532; Mon, 24 Mar 2008 17:38:24 GMT (envelope-from marius) Message-Id: <200803241738.m2OHcOOk064532@repoman.freebsd.org> From: Marius Strobl Date: Mon, 24 Mar 2008 17:38:24 +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-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, 24 Mar 2008 17:38:24 -0000 marius 2008-03-24 17:38:24 UTC FreeBSD src repository Modified files: sys/dev/dc if_dc.c if_dcreg.h Log: - Const'ify the dc_devs array. - Correct the maxsize parameter when creating the mbufs busdma tag to reflect the actual requirement of dc(4). - Move the KASSERT in dc_newbuf() to the right spot. - Also convert the TX side to take advantage of bus_dmamap_load_mbuf_sg(9). - Move the comment regarding dc_start_locked() to the right spot. MFC after: 2 weeks Revision Changes Path 1.194 +83 -82 src/sys/dev/dc/if_dc.c 1.55 +1 -3 src/sys/dev/dc/if_dcreg.h