mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
8743ddd850
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. |
||
---|---|---|
.. | ||
C | ||
examples | ||
Python | ||
bus.c | ||
bus.h | ||
busdma.c | ||
busdma.h | ||
Makefile | ||
Makefile.inc |