cnic: Fine-tune ring init code.
authorMichael Chan <mchan@broadcom.com>
Wed, 6 Oct 2010 03:17:22 +0000 (03:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 21:09:24 +0000 (14:09 -0700)
Initialize the rings only during cnic_uio_open() and shut them down
during cnic_uio_close().  Check for the new bit CNIC_LCL_FL_RINGS_INITED
before checking for ring interrupt.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found