diff options
author | Dai Haruki <dai.haruki@freescale.com> | 2008-12-17 16:51:04 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-17 16:51:04 -0800 |
commit | 4669bc907488f5a3ee399ced132deb6165e489a3 (patch) | |
tree | 916d6d5ecca6f989aa02791fbbcb224e0c6c7ecd /drivers/net/gianfar.h | |
parent | 8882d9a60028a9937e9c5652cfb80d4399ce5242 (diff) | |
download | talos-op-linux-4669bc907488f5a3ee399ced132deb6165e489a3.tar.gz talos-op-linux-4669bc907488f5a3ee399ced132deb6165e489a3.zip |
gianfar: Add Scatter Gather support
Scatter Gather support in gianfar driver to handle fragmented frames on
the transmit side.
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.h')
-rw-r--r-- | drivers/net/gianfar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h index 9c8974dc8dd5..7ef3cc5cabe9 100644 --- a/drivers/net/gianfar.h +++ b/drivers/net/gianfar.h @@ -728,6 +728,7 @@ struct gfar_private { struct txbd8 *dirty_tx; /* First buffer in line to be transmitted */ unsigned int tx_ring_size; + unsigned int num_txbdfree; /* number of TxBDs free */ /* RX Locked fields */ spinlock_t rxlock; |