diff options
Diffstat (limited to 'freebsd/sys/dev/dwc/if_dwcvar.h')
-rw-r--r-- | freebsd/sys/dev/dwc/if_dwcvar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/sys/dev/dwc/if_dwcvar.h b/freebsd/sys/dev/dwc/if_dwcvar.h index 2c485dc8..b33fe2bf 100644 --- a/freebsd/sys/dev/dwc/if_dwcvar.h +++ b/freebsd/sys/dev/dwc/if_dwcvar.h @@ -60,7 +60,9 @@ #define TX_MAX_DMA_SEGS 8 /* maximum segs in a tx mbuf dma */ struct dwc_bufmap { +#ifndef __rtems__ bus_dmamap_t map; +#endif /* __rtems__ */ struct mbuf *mbuf; }; @@ -88,8 +90,10 @@ struct dwc_softc { bus_dma_tag_t rxdesc_tag; bus_dmamap_t rxdesc_map; struct dwc_hwdesc *rxdesc_ring; +#ifndef __rtems__ bus_addr_t rxdesc_ring_paddr; bus_dma_tag_t rxbuf_tag; +#endif /* __rtems__ */ struct dwc_bufmap rxbuf_map[RX_DESC_COUNT]; uint32_t rx_idx; @@ -97,8 +101,10 @@ struct dwc_softc { bus_dma_tag_t txdesc_tag; bus_dmamap_t txdesc_map; struct dwc_hwdesc *txdesc_ring; +#ifndef __rtems__ bus_addr_t txdesc_ring_paddr; bus_dma_tag_t txbuf_tag; +#endif /* __rtems__ */ struct dwc_bufmap txbuf_map[TX_DESC_COUNT]; uint32_t tx_idx_head; uint32_t tx_idx_tail; |