diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-08-02 09:19:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-02 19:26:43 -0400 |
commit | 060e0c752b5047ee691120b75df4c16743981e50 (patch) | |
tree | 6d24a0ec7d6324ff2ca80c6f9ea6f1f1d6d1a2df /drivers/net/cxgb4/cxgb4.h | |
parent | 35d35682041686572d5158993dede90bc73dc1d9 (diff) |
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 { | |||
482 | struct pci_dev *pdev; | 482 | struct pci_dev *pdev; |
483 | struct device *pdev_dev; | 483 | struct device *pdev_dev; |
484 | unsigned long registered_device_map; | 484 | unsigned long registered_device_map; |
485 | unsigned long flags; | 485 | unsigned int fn; |
486 | unsigned int flags; | ||
486 | 487 | ||
487 | const char *name; | 488 | const char *name; |
488 | int msg_enable; | 489 | int msg_enable; |