sfc: Only bind to EF10 functions with the LinkCtrl and Trusted flags
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 7 Oct 2013 19:10:11 +0000 (20:10 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 7 Oct 2013 19:11:19 +0000 (20:11 +0100)
Although we do not yet enable multiple PFs per port, it is possible
that a board will be reconfigured to enable them while the driver has
not yet been updated to fully support this.

The most obvious problem is that multiple functions may try to set
conflicting link settings.  But we will also run into trouble if the
firmware doesn't consider us fully trusted.  So, abort probing unless
both the LinkCtrl and Trusted flags are set for this function.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found