qlcnic: validate eswitch config values for PF
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 2 Dec 2010 20:41:43 +0000 (20:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2010 17:33:21 +0000 (09:33 -0800)
commit091056b2ad04df09a3cb78a4c4ea098709b98eb3
treef5772aa434447bce309568e90f8767514c938d20
parent97319a270da37a5eab14a770f1417d8229245270
qlcnic: validate eswitch config values for PF

Currently driver set default eswitch configuration values for PF function,
instead of validating values sent by application.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c