rt2661.c.diff

herrgard, 07/25/2010 03:03 PM

Download (1.49 KB)

View differences:

sys/dev/netif/ral/rt2661.c
1335 1335
	}
1336 1336

  
1337 1337
	error = bus_dmamap_load_mbuf_segment(sc->mgtq.data_dmat, data->map, m0,
1338
	    segs, 1, &nsegs, 0);
1338
	    segs, 1, &nsegs, BUS_DMA_NOWAIT);
1339 1339
	if (error != 0) {
1340 1340
		device_printf(sc->sc_dev, "could not map mbuf (error %d)\n",
1341 1341
		    error);
......
1436 1436
	desc = &txq->desc[txq->cur];
1437 1437

  
1438 1438
	error = bus_dmamap_load_mbuf_segment(txq->data_dmat, data->map, mprot, segs,
1439
	    1, &nsegs, 0);
1439
	    1, &nsegs, BUS_DMA_NOWAIT);
1440 1440
	if (error != 0) {
1441 1441
		device_printf(sc->sc_dev,
1442 1442
		    "could not map mbuf (error %d)\n", error);
......
1534 1534
	desc = &txq->desc[txq->cur];
1535 1535

  
1536 1536
	error = bus_dmamap_load_mbuf_segment(txq->data_dmat, data->map, m0, segs,
1537
	    1, &nsegs, 0);
1537
	    1, &nsegs, BUS_DMA_NOWAIT);
1538 1538
	if (error != 0 && error != EFBIG) {
1539 1539
		device_printf(sc->sc_dev, "could not map mbuf (error %d)\n",
1540 1540
		    error);
......
1552 1552
		m0 = mnew;
1553 1553

  
1554 1554
		error = bus_dmamap_load_mbuf_segment(txq->data_dmat, data->map, m0,
1555
		    segs, 1, &nsegs, 0);
1555
		    segs, 1, &nsegs, BUS_DMA_NOWAIT);
1556 1556
		if (error != 0) {
1557 1557
			device_printf(sc->sc_dev,
1558 1558
			    "could not map mbuf (error %d)\n", error);