summaryrefslogtreecommitdiff
path: root/drivers/net/ixgb/ixgb_hw.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-04-27 04:50:58 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-27 23:53:30 +0400
commitd328bc839eac685cdd91f5d9d8ad95c070252038 (patch)
tree29554a44d55d4b8433ed525556412eb9f3bee910 /drivers/net/ixgb/ixgb_hw.h
parentc0dfb90e5b2d41c907de9b624657a6688541837e (diff)
downloadlinux-d328bc839eac685cdd91f5d9d8ad95c070252038.tar.xz
ixgb: Use pr_<level> and netdev_<level>
Convert DEBUGOUTx to pr_debug Convert DEBUGFUNC to more commonly used ENTER Convert mac address output to %pM Use #define pr_fmt Convert a few printks to pr_<level> Improve ixgb_mc_addr_list_update: use a temporary for current mc address Use etherdevice.h functions for mac address testing Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgb/ixgb_hw.h')
-rw-r--r--drivers/net/ixgb/ixgb_hw.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ixgb/ixgb_hw.h b/drivers/net/ixgb/ixgb_hw.h
index af6ca3aab5ad..873d32b89fba 100644
--- a/drivers/net/ixgb/ixgb_hw.h
+++ b/drivers/net/ixgb/ixgb_hw.h
@@ -636,18 +636,6 @@ struct ixgb_flash_buffer {
u8 filler3[0xAAAA];
};
-/*
- * This is a little-endian specific check.
- */
-#define IS_MULTICAST(Address) \
- (bool)(((u8 *)(Address))[0] & ((u8)0x01))
-
-/*
- * Check whether an address is broadcast.
- */
-#define IS_BROADCAST(Address) \
- ((((u8 *)(Address))[0] == ((u8)0xff)) && (((u8 *)(Address))[1] == ((u8)0xff)))
-
/* Flow control parameters */
struct ixgb_fc {
u32 high_water; /* Flow Control High-water */