Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 09:06:02 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Amy Fong <afong@furryterror.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Acenic driver questions
Message-ID:  <20010404090602.A19240@panzer.kdm.org>
In-Reply-To: <E14kne4-00035Z-00@mokona.furryterror.org>; from afong@furryterror.org on Wed, Apr 04, 2001 at 09:48:24AM -0400
References:  <E14kne4-00035Z-00@mokona.furryterror.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010404090602.A19240>