From owner-svn-src-all@FreeBSD.ORG Sun Dec 18 23:01:58 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0334106566C; Sun, 18 Dec 2011 23:01:58 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id A71288FC12; Sun, 18 Dec 2011 23:01:58 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id CE53C25D386D; Sun, 18 Dec 2011 23:01:57 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id E950CBD74AA; Sun, 18 Dec 2011 23:01:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id ydnjl4rtzKnt; Sun, 18 Dec 2011 23:01:54 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id D7D54BD74A9; Sun, 18 Dec 2011 23:01:54 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <201112181748.pBIHms2f019304@svn.freebsd.org> Date: Sun, 18 Dec 2011 23:01:54 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <51224283-3DEE-489B-B7AC-61C46FA1CD5F@lists.zabbadoz.net> References: <201112181748.pBIHms2f019304@svn.freebsd.org> To: Marius Strobl X-Mailer: Apple Mail (2.1084) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r228694 - head/sys/dev/netmap X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 23:01:59 -0000 On 18. Dec 2011, at 17:48 , Marius Strobl wrote: > Author: marius > Date: Sun Dec 18 17:48:54 2011 > New Revision: 228694 > URL: http://svn.freebsd.org/changeset/base/228694 >=20 > Log: > Fix compilation on sparc64 by actually supplying the bus_dma_tag_t = member > of the rx_ring to bus_dmamap_sync(9). Thanks! > Given that netmap code tries to > obtain the bus addresses of netmap buffers via vtophys(9) instead of = using > bus_dma(9) it currently has zero chance of actually working on = sparc64 > though (and for that matter f.e. also not with MACs limited to 32-bit = DMA > on x86 machines with more than 4GB of RAM). >=20 > Modified: > head/sys/dev/netmap/if_em_netmap.h >=20 > Modified: head/sys/dev/netmap/if_em_netmap.h > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/dev/netmap/if_em_netmap.h Sun Dec 18 17:42:26 2011 = (r228693) > +++ head/sys/dev/netmap/if_em_netmap.h Sun Dec 18 17:48:54 2011 = (r228694) > @@ -329,7 +329,7 @@ em_netmap_rxsync(void *a, u_int ring_nr, > if ((curr->status & E1000_RXD_STAT_DD) =3D=3D 0) > break; > ring->slot[j].len =3D le16toh(curr->length); > - bus_dmamap_sync(rxr->tag, rxr->rx_buffers[l].map, > + bus_dmamap_sync(rxr->rxtag, rxr->rx_buffers[l].map, > BUS_DMASYNC_POSTREAD); > j =3D (j =3D=3D lim) ? 0 : j + 1; > /* make sure next_to_refresh follows next_to_check */ --=20 Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.