if (bus_dmamap_create(sc->sc_dmatag, MCLBYTES, TI_NTXSEG, MCLBYTES, 0, BUS_DMA_NOWAIT, &dmamap))
if (bus_dmamap_create(sc->sc_dmatag, TI_JUMBO_FRAMELEN, TI_NTXSEG, MCLBYTES, 0, BUS_DMA_NOWAIT, &dmamap))
int ti_init_tx_ring(sc)	struct ti_softc		*sc;{	int i;	bus_dmamap_t dmamap;	struct ti_txmap_entry *entry;	sc->ti_txcnt = 0;	sc->ti_tx_saved_considx = 0;	CSR_WRITE_4(sc, TI_MB_SENDPROD_IDX, 0);	SLIST_INIT(&sc->ti_tx_map_listhead);	for (i = 0; i < TI_TX_RING_CNT; i++) {		if (bus_dmamap_create(sc->sc_dmatag, MCLBYTES, TI_NTXSEG,		    MCLBYTES, 0, BUS_DMA_NOWAIT, &dmamap))			return(ENOBUFS);		entry = malloc(sizeof(*entry), M_DEVBUF, M_NOWAIT);		if (!entry) {			bus_dmamap_destroy(sc->sc_dmatag, dmamap);			return (ENOBUFS);		}		entry->dmamap = dmamap;		SLIST_INSERT_HEAD(&sc->ti_tx_map_listhead, entry, link);	}	return(0);}