commit | 402b764533e9d973952573df7ff96c41189e1a14 | [log] [tgz] |
---|---|---|
author | Hariprasad Shenai <hariprasad@chelsio.com> | Wed Jul 22 22:54:50 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 26 16:37:41 2015 -0700 |
tree | f636e7e4421b70da55990ceb594ac1408c9215b2 | |
parent | 6b6948dda798637aea237df0d0c8bcba8fa653bc [diff] |
cxgb4: Allow firmware flash, only if cxgb4 is the master driver Adapter can go for a toss, if cxgb4 is loaded as slave and we try to upgrade the firmware. So add a check for the same before flashing firmware using ethtool. Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>