Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 May 2010 12:13:20 -0700
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        freebsd-hackers@freebsd.org
Cc:        Sam Leffler <sam@freebsd.org>
Subject:   hifn(4) DMA fix for review
Message-ID:  <4BE46650.7010008@bluezbox.com>

next in thread | raw e-mail | index | archive | help
     Proposed patch addresses hifn(4) problems on FreeBSD/mips. Current
implementation keeps some of the state information (indexes in
buffers, etc) in DMA-mapped memory and bus_dma code invalidates them
during sync operations. This fix moves data that doesn't belong to DMA
ring to softc structure.

Patch: http://people.freebsd.org/~gonzo/hifn.diff
Stats for original driver:
     http://people.freebsd.org/~gonzo/hifn.stats.orig.txt
Stats for patched version:
     http://people.freebsd.org/~gonzo/hifn.stats.patched.txt



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