From owner-freebsd-hackers Wed Apr 4 8: 6:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 1B30637B71B for ; Wed, 4 Apr 2001 08:06:07 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id JAA19315; Wed, 4 Apr 2001 09:06:02 -0600 (MDT) (envelope-from ken) Date: Wed, 4 Apr 2001 09:06:02 -0600 From: "Kenneth D. Merry" To: Amy Fong Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Acenic driver questions Message-ID: <20010404090602.A19240@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from afong@furryterror.org on Wed, Apr 04, 2001 at 09:48:24AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 04, 2001 at 09:48:24 -0400, Amy Fong wrote: > Question about the acenic driver. In if_ti.c, there's ti_mem > which is currently used to load the firmware onto the card. What > I'm trying to do is to use take advantage of the window base/window > from the registers on the tigon and write to a particular segment of > the memory. From what I've seen so far, it looks like I should be > able to do this using ti_mem to do this but my experimentations > don't seem to be working. I know that Linux acenic driver has > patches available for using the window/winbase to read the nic's > tracing ring buffer so I'm thinking that I should be on the right > track. > > Does anyone have any experience/suggestions? Look at the Tigon driver diffs in this patch set: http://people.FreeBSD.org/~ken/zero_copy/zero_copy.diffs.20010124 In particular, look at the ti_copy_mem() function. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message