diff options
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r-- | sys/dev/hatm/if_hatm_intr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hatm/if_hatm_intr.c b/sys/dev/hatm/if_hatm_intr.c index 4e9582a69e58..2dbfc693e038 100644 --- a/sys/dev/hatm/if_hatm_intr.c +++ b/sys/dev/hatm/if_hatm_intr.c @@ -342,7 +342,7 @@ he_intr_rbp(struct hatm_softc *sc, struct herbp *rbp, u_int large, if ((error = bus_dmamap_load(sc->mbuf_tag, sc->rmaps[sc->lbufs_next], m->m_data, rbp->bsize, hatm_mbuf_helper, - &rbp->rbp[rbp->tail].phys, BUS_DMA_NOWAIT)) != NULL) + &rbp->rbp[rbp->tail].phys, BUS_DMA_NOWAIT)) != 0) panic("hatm: mbuf mapping failed %d", error); bus_dmamap_sync(sc->mbuf_tag, |