diff options
| author | Jeff Garzik <jgarzik@mandrakesoft.com> | 2002-09-18 12:47:37 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@mandrakesoft.com> | 2002-09-18 12:47:37 -0400 |
| commit | f102df2e6421cdb4fafff9f44caaf49605c4f635 (patch) | |
| tree | 9da5bb550f42179441592f36efedcbaddb812849 /include/linux/netdevice.h | |
| parent | a52c5800011c49f7fd2458ed514881cc7dda32f0 (diff) | |
Add two NETIF_MSG_xxx constants to linux/netdevice.h,
that are used in natsemi net driver
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 6ed74303fbda..c73a00744bc8 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -691,6 +691,8 @@ enum { NETIF_MSG_TX_DONE = 0x0400, NETIF_MSG_RX_STATUS = 0x0800, NETIF_MSG_PKTDATA = 0x1000, + NETIF_MSG_HW = 0x2000, + NETIF_MSG_WOL = 0x4000, }; #define netif_msg_drv(p) ((p)->msg_enable & NETIF_MSG_DRV) @@ -706,6 +708,8 @@ enum { #define netif_msg_tx_done(p) ((p)->msg_enable & NETIF_MSG_TX_DONE) #define netif_msg_rx_status(p) ((p)->msg_enable & NETIF_MSG_RX_STATUS) #define netif_msg_pktdata(p) ((p)->msg_enable & NETIF_MSG_PKTDATA) +#define netif_msg_hw(p) ((p)->msg_enable & NETIF_MSG_HW) +#define netif_msg_wol(p) ((p)->msg_enable & NETIF_MSG_WOL) /* Schedule rx intr now? */ |
