commit | f2fd5c3458ffcf4f9b4fbfa64980dffe1850f7de | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Tue Dec 06 10:58:08 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 06 16:43:05 2011 -0500 |
tree | 63ca253a0905896fe7f718c73d8c6cf440c4e260 | |
parent | 8ef874bfc7296fa206eea2ad1e8a426f576bf6f6 [diff] |
bnx2x: Fix compile errors if CONFIG_CNIC is not set 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>