enic: Check firmware capability before issuing firmware commands
authorNeel Patel <neepatel@cisco.com>
Fri, 3 Feb 2012 08:25:19 +0000 (08:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Feb 2012 21:01:03 +0000 (16:01 -0500)
Check if firmware supports a particular command by first checking capability
using devcmd CMD_CAPABILITY.

Signed-off-by: Neel Patel <neepatel@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Nishank Trivedi <nistrive@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found