]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a433441cfa3f0a4377e4e61c63dacf1ffffa633
tree09ddec30d5a12ef8f73dea046fe153bd0cb1cf93
parentbe11a2df8b650c8ed7e59498fb2746c35c449a56
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