]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an example program (in Python) for the AMD Am79c900 (ILACC)
authormarcel <marcel@FreeBSD.org>
Sun, 2 Aug 2015 21:24:03 +0000 (21:24 +0000)
committermarcel <marcel@FreeBSD.org>
Sun, 2 Aug 2015 21:24:03 +0000 (21:24 +0000)
commit3e1c95104e63f08d7c46d1af23950782fda1ecc6
tree0e738b59c82ea5656049a602df719bd08bbc37eb
parent9a7989cc8d070902390d02dc79e67cfcffe82b4e
Add an example program (in Python) for the AMD Am79c900 (ILACC)
ethernet controller. The ethernet controller is emulated by VMware
Fusion (for example) and is a good device to demonstrate how to use
the bus space and busdma functions due to its simple programming.

The program sets up the DMA structures, sends a DHCP discover packet,
waits 2 seconds, and iterates over the receive ring for an offer.
tools/bus_space/examples/am79c900_diag.py [new file with mode: 0644]