bnx2x: Fix compile errors if CONFIG_CNIC is not set
authorMichael Chan <mchan@broadcom.com>
Tue, 6 Dec 2011 10:58:08 +0000 (10:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 21:43:05 +0000 (16:43 -0500)
Don't provide FCoE and iSCSI statistics to management firmware if
CONFIG_CNIC is not set.  Some needed structure fields are not defined
without CONFIG_CNIC.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found