diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-08-02 17:19:21 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-03 03:26:43 +0400 |
commit | 060e0c752b5047ee691120b75df4c16743981e50 (patch) | |
tree | 6d24a0ec7d6324ff2ca80c6f9ea6f1f1d6d1a2df /drivers/net/cxgb4/cxgb4.h | |
parent | 35d35682041686572d5158993dede90bc73dc1d9 (diff) | |
download | linux-060e0c752b5047ee691120b75df4c16743981e50.tar.xz |
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>
Diffstat (limited to 'drivers/net/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/cxgb4/cxgb4.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/cxgb4.h b/drivers/net/cxgb4/cxgb4.h index 4769c1c58e85..6e562c0dad7d 100644 --- a/drivers/net/cxgb4/cxgb4.h +++ b/drivers/net/cxgb4/cxgb4.h @@ -482,7 +482,8 @@ struct adapter { struct pci_dev *pdev; struct device *pdev_dev; unsigned long registered_device_map; - unsigned long flags; + unsigned int fn; + unsigned int flags; const char *name; int msg_enable; |