[rtems-libbsd commit] if_dwc: Typo

Sebastian Huber sebh at rtems.org
Wed Apr 8 05:59:23 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    fb7a5329b031d384681c11fac82916a021fbc565
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=fb7a5329b031d384681c11fac82916a021fbc565

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr  7 13:00:20 2015 +0200

if_dwc: Typo

---

 freebsd/sys/dev/dwc/if_dwc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c
index 27f6fcf..3caff4a 100644
--- a/freebsd/sys/dev/dwc/if_dwc.c
+++ b/freebsd/sys/dev/dwc/if_dwc.c
@@ -213,7 +213,7 @@ struct dwc_softc {
 	bus_addr_t		txdesc_ring_paddr;
 	bus_dma_tag_t		txbuf_tag;
 #endif /* __rtems__ */
-	struct dwc_bufmap	txbuf_map[RX_DESC_COUNT];
+	struct dwc_bufmap	txbuf_map[TX_DESC_COUNT];
 	uint32_t		tx_idx_head;
 	uint32_t		tx_idx_tail;
 	int			txcount;



More information about the vc mailing list