mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![]() 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 |