sfc: Add permissions to MCDI commands
authorShradha Shah <sshah@solarflare.com>
Wed, 20 May 2015 10:08:23 +0000 (11:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:52 +0000 (18:43 -0400)
commit75122ec8ffd498caddac0771a1446ac3b84b7897
tree09ddec30d5a12ef8f73dea046fe153bd0cb1cf93
parent4ec49a372c2e732975be57987f695b89b930f20a
sfc: Add permissions to MCDI commands

There is one primary function per adaptor, one link control function
per port and the rest as categorised as general.

This patch adds privileges to the MCDI commands based on which
functions are allowed to call them.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi_pcol.h