Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 11:43:58 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        <audit@freebsd.org>
Cc:        Bill Paul <wpaul@freebsd.org>
Subject:   Need reviewers for busdma changes to ethernet driver (fwd)
Message-ID:  <20010809114348.F69994-100000@wonky.feral.com>

next in thread | raw e-mail | index | archive | help


---------- Forwarded message ----------
Date: Thu, 9 Aug 2001 11:41:52 -0700 (PDT)
From: Bill Paul <wpaul@FreeBSD.ORG>
To: hackers@FreeBSD.ORG, current@FreeBSD.ORG
Subject: Need reviewers for busdma changes to ethernet driver

Hi folks:

Well, after threatening to do it for a long time, I finally sat down and
converted one of my ethernet drivers to use the bus_dma API so that I
no longer have to do things like call contigmalloc() and/or vtophys()
directly. The changes I made are to the driver in -current, and the
new code is at:

	http://www.freebsd.org/~wpaul/SiS/busdma

I have tested this driver on FreeBSD/x86 using a NatSemi DP83815
card (the Netgear FA312TX) and it seems to work fine for me. However,
I'm not 100% certain I used the busdma API properly in all cases.
If anyone with a busdma clue would care to look over the code and
see everything looks more or less legal, I would appreciate it. My
main concern is that I'm using bus_dma_load() and bus_dma_unload()
correctly (i.e. such that I'm not leaking any resources).

Unless anyone raises serious objections, I would like to commit this
code ASAP (the last test I really need to do is make sure it works
correctly on an alpha).

-Bill

=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul@windriver.com | Wind River Systems
=============================================================================
"I like zees guys. Zey are fonny guys. Just keel one of zem." -- The 3 Amigos
=============================================================================

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




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