Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f102df2e
Commit
f102df2e
authored
Sep 18, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add two NETIF_MSG_xxx constants to linux/netdevice.h,
that are used in natsemi net driver
parent
a52c5800
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
include/linux/netdevice.h
include/linux/netdevice.h
+4
-0
No files found.
include/linux/netdevice.h
View file @
f102df2e
...
@@ -691,6 +691,8 @@ enum {
...
@@ -691,6 +691,8 @@ enum {
NETIF_MSG_TX_DONE
=
0x0400
,
NETIF_MSG_TX_DONE
=
0x0400
,
NETIF_MSG_RX_STATUS
=
0x0800
,
NETIF_MSG_RX_STATUS
=
0x0800
,
NETIF_MSG_PKTDATA
=
0x1000
,
NETIF_MSG_PKTDATA
=
0x1000
,
NETIF_MSG_HW
=
0x2000
,
NETIF_MSG_WOL
=
0x4000
,
};
};
#define netif_msg_drv(p) ((p)->msg_enable & NETIF_MSG_DRV)
#define netif_msg_drv(p) ((p)->msg_enable & NETIF_MSG_DRV)
...
@@ -706,6 +708,8 @@ enum {
...
@@ -706,6 +708,8 @@ enum {
#define netif_msg_tx_done(p) ((p)->msg_enable & NETIF_MSG_TX_DONE)
#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_rx_status(p) ((p)->msg_enable & NETIF_MSG_RX_STATUS)
#define netif_msg_pktdata(p) ((p)->msg_enable & NETIF_MSG_PKTDATA)
#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? */
/* Schedule rx intr now? */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment