cxgb4: support running the driver on PCI functions besides 0
authorDimitris Michailidis <dm@chelsio.com>
Mon, 2 Aug 2010 13:19:21 +0000 (13:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2010 23:26:43 +0000 (16:26 -0700)
commit060e0c752b5047ee691120b75df4c16743981e50
tree6d24a0ec7d6324ff2ca80c6f9ea6f1f1d6d1a2df
parent35d35682041686572d5158993dede90bc73dc1d9
cxgb4: support running the driver on PCI functions besides 0

Add support for running the driver on any PCI function.  Mostly this
entails replacing a constant 0 in a number of calls with the variable
function number.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4.h
drivers/net/cxgb4/cxgb4_main.c
drivers/net/cxgb4/sge.c