]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
qlcnic: Add support to run firmware POST
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Wed, 27 Aug 2014 16:43:20 +0000 (12:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 03:15:37 +0000 (20:15 -0700)
commit3ced0a88cd4c86587cf9545f67a7b9ae63f78a4a
tree1a488a0d9c18dae8e67c8d5447a51d1d61bfd295
parentc1b2037fc141cc838435e58a9e4efb0b92a696e4
qlcnic: Add support to run firmware POST

This patch adds support to run Power On Self Test (POST) for 83xx adapters.
POST can be run in 3 different speed modes :
i)  Fast mode (takes about 690 ms)
ii) Medium mode (takes about 2930 ms)
iii) Slow mode (takes about 7500 ms)

To run POST, firmware file with name "83xx_post_fw.bin" should be present under
/lib/firmware directory. load_fw_file module parameter is used to specify
POST operation and its speed mode.
load_fw_file = 2 : Fast mode
load_fw_file = 3 : Medium mode
load_fw_file = 4 : Slow mode

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c