diff options
author | Mithlesh Thukral <mithlesh@netxen.com> | 2007-04-20 10:52:37 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-28 11:01:05 -0400 |
commit | 3176ff3ee71bddbd1d68e6a9e28dbcf0a2960c95 (patch) | |
tree | 260ba783bbd24bf21f17c11f9a6f06a7c50a9fc6 /drivers/net/netxen/netxen_nic_hdr.h | |
parent | d52df4a35af569071fda3f4eb08e47cc7023f094 (diff) |
NetXen: Use multiple PCI functions
NetXen: Make driver use multiple PCI functions.
This patch will make NetXen driver work with multiple PCI functions. This will
make the usage of memory resources as well as interrupts more independent
among different functions which results in better throughput. This change has
been done after the multiport support is added in firmware.
Signed-off by: Mithlesh Thukral <mithlesh@netxen.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_hdr.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic_hdr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_hdr.h b/drivers/net/netxen/netxen_nic_hdr.h index fe8b675f9e72..b67a5c3ca99d 100644 --- a/drivers/net/netxen/netxen_nic_hdr.h +++ b/drivers/net/netxen/netxen_nic_hdr.h | |||
@@ -649,11 +649,19 @@ enum { | |||
649 | #define PCIX_MS_WINDOW (0x10204) | 649 | #define PCIX_MS_WINDOW (0x10204) |
650 | #define PCIX_SN_WINDOW (0x10208) | 650 | #define PCIX_SN_WINDOW (0x10208) |
651 | #define PCIX_CRB_WINDOW (0x10210) | 651 | #define PCIX_CRB_WINDOW (0x10210) |
652 | #define PCIX_CRB_WINDOW_F0 (0x10210) | ||
653 | #define PCIX_CRB_WINDOW_F1 (0x10230) | ||
654 | #define PCIX_CRB_WINDOW_F2 (0x10250) | ||
655 | #define PCIX_CRB_WINDOW_F3 (0x10270) | ||
652 | 656 | ||
653 | #define PCIX_TARGET_STATUS (0x10118) | 657 | #define PCIX_TARGET_STATUS (0x10118) |
654 | #define PCIX_TARGET_MASK (0x10128) | 658 | #define PCIX_TARGET_MASK (0x10128) |
655 | 659 | ||
656 | #define PCIX_MSI_F0 (0x13000) | 660 | #define PCIX_MSI_F0 (0x13000) |
661 | #define PCIX_MSI_F1 (0x13004) | ||
662 | #define PCIX_MSI_F2 (0x13008) | ||
663 | #define PCIX_MSI_F3 (0x1300c) | ||
664 | #define PCIX_MSI_F(i) (0x13000+((i)*4)) | ||
657 | 665 | ||
658 | #define PCIX_PS_MEM_SPACE (0x90000) | 666 | #define PCIX_PS_MEM_SPACE (0x90000) |
659 | 667 | ||