]> err.no Git - linux-2.6/commit
S2io: Fixes to enable multiple transmit fifo support
authorSurjit Reang <surjit.reang@neterion.com>
Thu, 24 Jan 2008 10:08:59 +0000 (02:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:23 +0000 (15:07 -0800)
commit2fda096d188ddae51a0fe8cd5b13cf9c84b03c1e
tree6655b7f5292345109156930d54489e0d94b2f168
parentbc4b6b52691bae42b1eec3eb86ab4c718387d9f0
S2io: Fixes to enable multiple transmit fifo support

Fixes to enable multiple transmit fifos (upto a maximum of eight).
  - Moved single tx_lock from struct s2io_nic to struct fifo_info.
  - Moved single ufo_in_band_v structure from struct s2io_nic to struct
    fifo_info.
  - Assign the respective interrupt number for the transmitting fifo in the
    transmit descriptor (TXD).
- Added boundary checks for number of FIFOs enabled and FIFO length.

Signed-off-by: Surjit Reang <surjit.reang@neterion.com>
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c
drivers/net/s2io.h