]> 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)
commit22ed033cabb96e4feb2a4ba093ca317d9da273c4
tree09ddec30d5a12ef8f73dea046fe153bd0cb1cf93
parent1aec29ab049f6de7d858701fcee9850b7a906022
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