diff options
author | Sathya Perla <sathyap@serverengines.com> | 2009-07-27 18:52:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-02 02:06:26 -0400 |
commit | eec368fb3ce3ee9e7bb042bbafb03f297d96e55e (patch) | |
tree | 1aa525ff817ea1cbcc6c95bc5beb1d01d38b1e26 /drivers/net/benet/be_hw.h | |
parent | 8788fdc2a53cf012a43808877eaa6ac7e3c923b4 (diff) |
be2net: remove pci_func field from be_adapter struct
pci function is available as PCI_FUNC(pdev->devfn); no need for a
separate field.
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_hw.h')
-rw-r--r-- | drivers/net/benet/be_hw.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h index 29c33c709c6d..d28f0c679bc8 100644 --- a/drivers/net/benet/be_hw.h +++ b/drivers/net/benet/be_hw.h | |||
@@ -51,9 +51,6 @@ | |||
51 | * with the OS. | 51 | * with the OS. |
52 | */ | 52 | */ |
53 | #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK (1 << 29) /* bit 29 */ | 53 | #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK (1 << 29) /* bit 29 */ |
54 | /* PCI physical function number */ | ||
55 | #define MEMBAR_CTRL_INT_CTRL_PFUNC_MASK 0x7 /* bits 26 - 28 */ | ||
56 | #define MEMBAR_CTRL_INT_CTRL_PFUNC_SHIFT 26 | ||
57 | 54 | ||
58 | /********* ISR0 Register offset **********/ | 55 | /********* ISR0 Register offset **********/ |
59 | #define CEV_ISR0_OFFSET 0xC18 | 56 | #define CEV_ISR0_OFFSET 0xC18 |