diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-06-09 05:39:32 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-10 01:04:14 -0700 |
commit | e4552f51ceefcf51b79c5bf8dafc7abb4bb7657d (patch) | |
tree | e151217b00245847863e64f09286bc1d2735d7de /drivers/net/qlge/qlge_ethtool.c | |
parent | 542512e4824c1cecc05478f279dccbde1d8bf97a (diff) |
qlge: Add support for varied pcie function numbers.
Currently we support only PCIe NIC functions zero and one, and FCoE
functions as 3 and 4. Future configurations can mix these up in any
fashion.
This patch removes the 0-1 dependancy and allows usage of any of the 4
functions. We also find the alternate NIC function (if exist) and
determine our port number based on the comparison of the two functions:
Lower function number gets first port, higher function gets second port.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge_ethtool.c')
0 files changed, 0 insertions, 0 deletions