summaryrefslogtreecommitdiff
path: root/drivers/net/usb/smsc75xx.h
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@shawell.net>2012-05-04 04:57:11 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-08 07:43:56 +0400
commit7749622d7fc958ecfbec67bc76c9e0d861a872d8 (patch)
tree8b1049945caa0332055ca893b4e938330a099f9a /drivers/net/usb/smsc75xx.h
parent0d6c4a2e4641bbc556dd74d3aa158c413a972492 (diff)
downloadlinux-7749622d7fc958ecfbec67bc76c9e0d861a872d8.tar.xz
smsc75xx: replace 0xffff with PHY_INT_SRC_CLEAR_ALL
This patch defines PHY_INT_SRC_CLEAR_ALL to replace the value 0xffff in order to be more self-documenting. This patch should make no functional change, it is purely cosmetic. Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/smsc75xx.h')
-rw-r--r--drivers/net/usb/smsc75xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/smsc75xx.h b/drivers/net/usb/smsc75xx.h
index 16e98c778344..67eba39e6ee2 100644
--- a/drivers/net/usb/smsc75xx.h
+++ b/drivers/net/usb/smsc75xx.h
@@ -388,6 +388,7 @@
#define PHY_INT_SRC_ANEG_COMP ((u16)0x0040)
#define PHY_INT_SRC_REMOTE_FAULT ((u16)0x0020)
#define PHY_INT_SRC_LINK_DOWN ((u16)0x0010)
+#define PHY_INT_SRC_CLEAR_ALL ((u16)0xffff)
#define PHY_INT_MASK (30)
#define PHY_INT_MASK_ENERGY_ON ((u16)0x0080)