diff options
author | Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> | 2014-04-26 01:44:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-28 07:20:53 +0400 |
commit | aaecf51cf31160262b29a6d50f364f4a76c7ed1e (patch) | |
tree | 06479eec7d9e0dbcde8007a2e1bf653039fc5249 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | |
parent | c65762fc2fc8a85c3d8a2024c17815e1a0f5dff0 (diff) | |
download | linux-aaecf51cf31160262b29a6d50f364f4a76c7ed1e.tar.xz |
qlcnic: Limit vNIC support in legacy interrupt mode
o When the driver loads in legacy interrupt mode, only vNICs
with PCI function number 0-7 are supported.
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c index f2c9a199295d..7023d358baa9 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c @@ -2532,6 +2532,9 @@ qlcnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent) case -ENOMEM: dev_err(&pdev->dev, "Adapter initialization failed. Please reboot\n"); goto err_out_free_hw; + case -EOPNOTSUPP: + dev_err(&pdev->dev, "Adapter initialization failed\n"); + goto err_out_free_hw; default: dev_err(&pdev->dev, "Adapter initialization failed. Driver will load in maintenance mode to recover the adapter using the application\n"); goto err_out_maintenance_mode; |