Skip to content

Commit

Permalink
ixgbe: register defines cleanup
Browse files Browse the repository at this point in the history
Remove duplicates.
Fix incorrect defines.
Fix/Update comments.
Fix whitespace.
Add new register defines.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Emil Tantilov authored and Jeff Kirsher committed Apr 27, 2011
1 parent 50c022e commit 83dfde4
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 67 deletions.
3 changes: 0 additions & 3 deletions drivers/net/ixgbe/ixgbe_mbx.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
#define IXGBE_VFMAILBOX 0x002FC
#define IXGBE_VFMBMEM 0x00200

#define IXGBE_PFMAILBOX(x) (0x04B00 + (4 * x))
#define IXGBE_PFMBMEM(vfn) (0x13000 + (64 * vfn))

#define IXGBE_PFMAILBOX_STS 0x00000001 /* Initiate message send to VF */
#define IXGBE_PFMAILBOX_ACK 0x00000002 /* Ack message recv'd from VF */
#define IXGBE_PFMAILBOX_VFU 0x00000004 /* VF owns the mailbox buffer */
Expand Down
Loading

0 comments on commit 83dfde4

Please sign in to comment.