if_mxge.c (69e6d7b75e96c406d072cb83ffc9b26fbf1a86fb) if_mxge.c (b78540b1c760bfe90782ae8f92498119c0631283)
1/******************************************************************************
2
3Copyright (c) 2006-2013, Myricom Inc.
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8

--- 3404 unchanged lines hidden (view full) ---

3413 err = bus_dmamap_create(ss->rx_big.dmat, 0,
3414 &ss->rx_big.extra_map);
3415 if (err != 0) {
3416 device_printf(sc->dev, "Err %d extra rx_big dmamap\n",
3417 err);
3418 return err;
3419 }
3420
1/******************************************************************************
2
3Copyright (c) 2006-2013, Myricom Inc.
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8

--- 3404 unchanged lines hidden (view full) ---

3413 err = bus_dmamap_create(ss->rx_big.dmat, 0,
3414 &ss->rx_big.extra_map);
3415 if (err != 0) {
3416 device_printf(sc->dev, "Err %d extra rx_big dmamap\n",
3417 err);
3418 return err;
3419 }
3420
3421 /* now allocate TX resouces */
3421 /* now allocate TX resources */
3422
3423#ifndef IFNET_BUF_RING
3424 /* only use a single TX ring for now */
3425 if (ss != ss->sc->ss)
3426 return 0;
3427#endif
3428
3429 ss->tx.mask = tx_ring_entries - 1;

--- 1606 unchanged lines hidden ---
3422
3423#ifndef IFNET_BUF_RING
3424 /* only use a single TX ring for now */
3425 if (ss != ss->sc->ss)
3426 return 0;
3427#endif
3428
3429 ss->tx.mask = tx_ring_entries - 1;

--- 1606 unchanged lines hidden ---