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
53e2eed2
Commit
53e2eed2
authored
Mar 06, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove 2.2 bits fromw anpipe
parent
8dc6c284
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
include/linux/if_wanpipe.h
include/linux/if_wanpipe.h
+2
-6
include/linux/if_wanpipe_common.h
include/linux/if_wanpipe_common.h
+1
-5
No files found.
include/linux/if_wanpipe.h
View file @
53e2eed2
...
@@ -100,13 +100,9 @@ typedef struct
...
@@ -100,13 +100,9 @@ typedef struct
#define WAN_PACKET_MR_ALLMULTI 2
#define WAN_PACKET_MR_ALLMULTI 2
#ifdef __KERNEL__
#ifdef __KERNEL__
#ifndef netdevice_t
#ifndef netdevice_t
#include <linux/version.h>
#define netdevice_t struct net_device
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
#define netdevice_t struct net_device
#else
#define netdevice_t struct device
#endif
#endif
#endif
/* Private wanpipe socket structures. */
/* Private wanpipe socket structures. */
...
...
include/linux/if_wanpipe_common.h
View file @
53e2eed2
...
@@ -19,11 +19,7 @@
...
@@ -19,11 +19,7 @@
#include <linux/version.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
#define netdevice_t struct net_device
#define netdevice_t struct net_device
#else
#define netdevice_t struct device
#endif
typedef
struct
{
typedef
struct
{
...
...
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