em(4) assumes that bus_dmamap_destroy of bus_dmamap_load_mbuf maps
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 5 Jun 2004 13:52:29 +0000 (13:52 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 5 Jun 2004 13:52:29 +0000 (13:52 +0000)
commitb57fba4dacf2b9830dd830904964f58ad51dfda4
tree8c3fa1b0ecd0113f9e6b9d7988ae29575d2b9281
parent38ede80317b0f151e1ecbfea2a4ef8763552bb14
em(4) assumes that bus_dmamap_destroy of bus_dmamap_load_mbuf maps
unconditionally succeds w/o previous bus_dmamap_unload. This assumption
is currently true because bus_dmamap_load_mbuf doesn't support bounce
pages. Nevertheless is that an implementation detail which em(4) should
not depend on.

Discussed-with: Hiten Pandya <hmp@backplane.com>
sys/dev/netif/em/if_em.c