diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_mbx.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_mbx.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/net/ixgbe/ixgbe_mbx.h b/drivers/net/ixgbe/ixgbe_mbx.h index be7ab3309ab7..b239bdac38da 100644 --- a/drivers/net/ixgbe/ixgbe_mbx.h +++ b/drivers/net/ixgbe/ixgbe_mbx.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /******************************************************************************* | 1 | /******************************************************************************* |
2 | 2 | ||
3 | Intel 10 Gigabit PCI Express Linux driver | 3 | Intel 10 Gigabit PCI Express Linux driver |
4 | Copyright(c) 1999 - 2009 Intel Corporation. | 4 | Copyright(c) 1999 - 2011 Intel Corporation. |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
7 | under the terms and conditions of the GNU General Public License, | 7 | under the terms and conditions of the GNU General Public License, |
@@ -36,9 +36,6 @@ | |||
36 | #define IXGBE_VFMAILBOX 0x002FC | 36 | #define IXGBE_VFMAILBOX 0x002FC |
37 | #define IXGBE_VFMBMEM 0x00200 | 37 | #define IXGBE_VFMBMEM 0x00200 |
38 | 38 | ||
39 | #define IXGBE_PFMAILBOX(x) (0x04B00 + (4 * x)) | ||
40 | #define IXGBE_PFMBMEM(vfn) (0x13000 + (64 * vfn)) | ||
41 | |||
42 | #define IXGBE_PFMAILBOX_STS 0x00000001 /* Initiate message send to VF */ | 39 | #define IXGBE_PFMAILBOX_STS 0x00000001 /* Initiate message send to VF */ |
43 | #define IXGBE_PFMAILBOX_ACK 0x00000002 /* Ack message recv'd from VF */ | 40 | #define IXGBE_PFMAILBOX_ACK 0x00000002 /* Ack message recv'd from VF */ |
44 | #define IXGBE_PFMAILBOX_VFU 0x00000004 /* VF owns the mailbox buffer */ | 41 | #define IXGBE_PFMAILBOX_VFU 0x00000004 /* VF owns the mailbox buffer */ |
@@ -70,6 +67,7 @@ | |||
70 | #define IXGBE_VF_SET_MULTICAST 0x03 /* VF requests PF to set MC addr */ | 67 | #define IXGBE_VF_SET_MULTICAST 0x03 /* VF requests PF to set MC addr */ |
71 | #define IXGBE_VF_SET_VLAN 0x04 /* VF requests PF to set VLAN */ | 68 | #define IXGBE_VF_SET_VLAN 0x04 /* VF requests PF to set VLAN */ |
72 | #define IXGBE_VF_SET_LPE 0x05 /* VF requests PF to set VMOLR.LPE */ | 69 | #define IXGBE_VF_SET_LPE 0x05 /* VF requests PF to set VMOLR.LPE */ |
70 | #define IXGBE_VF_SET_MACVLAN 0x06 /* VF requests PF for unicast filter */ | ||
73 | 71 | ||
74 | /* length of permanent address message returned from PF */ | 72 | /* length of permanent address message returned from PF */ |
75 | #define IXGBE_VF_PERMADDR_MSG_LEN 4 | 73 | #define IXGBE_VF_PERMADDR_MSG_LEN 4 |
@@ -83,14 +81,13 @@ | |||
83 | 81 | ||
84 | s32 ixgbe_read_mbx(struct ixgbe_hw *, u32 *, u16, u16); | 82 | s32 ixgbe_read_mbx(struct ixgbe_hw *, u32 *, u16, u16); |
85 | s32 ixgbe_write_mbx(struct ixgbe_hw *, u32 *, u16, u16); | 83 | s32 ixgbe_write_mbx(struct ixgbe_hw *, u32 *, u16, u16); |
86 | s32 ixgbe_read_posted_mbx(struct ixgbe_hw *, u32 *, u16, u16); | ||
87 | s32 ixgbe_write_posted_mbx(struct ixgbe_hw *, u32 *, u16, u16); | ||
88 | s32 ixgbe_check_for_msg(struct ixgbe_hw *, u16); | 84 | s32 ixgbe_check_for_msg(struct ixgbe_hw *, u16); |
89 | s32 ixgbe_check_for_ack(struct ixgbe_hw *, u16); | 85 | s32 ixgbe_check_for_ack(struct ixgbe_hw *, u16); |
90 | s32 ixgbe_check_for_rst(struct ixgbe_hw *, u16); | 86 | s32 ixgbe_check_for_rst(struct ixgbe_hw *, u16); |
91 | void ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw); | 87 | #ifdef CONFIG_PCI_IOV |
92 | void ixgbe_init_mbx_params_pf(struct ixgbe_hw *); | 88 | void ixgbe_init_mbx_params_pf(struct ixgbe_hw *); |
89 | #endif /* CONFIG_PCI_IOV */ | ||
93 | 90 | ||
94 | extern struct ixgbe_mbx_operations mbx_ops_82599; | 91 | extern struct ixgbe_mbx_operations mbx_ops_generic; |
95 | 92 | ||
96 | #endif /* _IXGBE_MBX_H_ */ | 93 | #endif /* _IXGBE_MBX_H_ */ |