bnx2x: Segregate SR-IOV code
authorAriel Elior <ariele@broadcom.com>
Mon, 7 Jan 2013 00:50:23 +0000 (00:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jan 2013 03:49:14 +0000 (19:49 -0800)
In this patch the SR-IOV code is segregated from the main bulk of
the bnx2x code. The CONFIG_BNX2X_SRIOV define is added to Broadcom's
Kconfig, and allows the elision of the building of all the SR-IOV
support code in the driver.
The define is dependant on the kernel CONFIG_PCI_IOV configuration
define.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found