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
Kirill Smelkov
linux
Commits
36d56656
Commit
36d56656
authored
Sep 20, 2002
by
Jean Tourrilhes
Committed by
Linus Torvalds
Sep 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wavelan_cs net driver build
parent
985dcc74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/net/wireless/wavelan_cs.c
drivers/net/wireless/wavelan_cs.c
+6
-7
drivers/net/wireless/wavelan_cs.p.h
drivers/net/wireless/wavelan_cs.p.h
+1
-0
No files found.
drivers/net/wireless/wavelan_cs.c
View file @
36d56656
...
@@ -56,8 +56,7 @@
...
@@ -56,8 +56,7 @@
*
*
*/
*/
#include <linux/ethtool.h>
/* Do *NOT* add other headers here, you are guaranteed to be wrong - Jean II */
#include <asm/uaccess.h>
#include "wavelan_cs.p.h"
/* Private header */
#include "wavelan_cs.p.h"
/* Private header */
/************************* MISC SUBROUTINES **************************/
/************************* MISC SUBROUTINES **************************/
...
@@ -2890,8 +2889,8 @@ static const struct iw_handler_def wavelan_handler_def =
...
@@ -2890,8 +2889,8 @@ static const struct iw_handler_def wavelan_handler_def =
.
private
=
(
iw_handler
*
)
wavelan_private_handler
,
.
private
=
(
iw_handler
*
)
wavelan_private_handler
,
.
private_args
=
(
struct
iw_priv_args
*
)
wavelan_private_args
,
.
private_args
=
(
struct
iw_priv_args
*
)
wavelan_private_args
,
};
};
#endif
/* WIRELESS_EXT > 12 */
#else
/* WIRELESS_EXT > 12 */
/*------------------------------------------------------------------*/
/*------------------------------------------------------------------*/
/*
/*
* Perform ioctl : config & info stuff
* Perform ioctl : config & info stuff
...
@@ -2916,8 +2915,9 @@ wavelan_ioctl(struct net_device * dev, /* Device on wich the ioctl apply */
...
@@ -2916,8 +2915,9 @@ wavelan_ioctl(struct net_device * dev, /* Device on wich the ioctl apply */
ret
=
netdev_ethtool_ioctl
(
dev
,
(
void
*
)
rq
->
ifr_data
);
ret
=
netdev_ethtool_ioctl
(
dev
,
(
void
*
)
rq
->
ifr_data
);
break
;
break
;
#if WIRELESS_EXT <= 12
/* --------------- WIRELESS EXTENSIONS --------------- */
/* --------------- WIRELESS EXTENSIONS --------------- */
/* Now done as iw_handler - Jean II */
case
SIOCGIWNAME
:
case
SIOCGIWNAME
:
wavelan_get_name
(
dev
,
NULL
,
&
(
wrq
->
u
),
NULL
);
wavelan_get_name
(
dev
,
NULL
,
&
(
wrq
->
u
),
NULL
);
break
;
break
;
...
@@ -3191,6 +3191,7 @@ wavelan_ioctl(struct net_device * dev, /* Device on wich the ioctl apply */
...
@@ -3191,6 +3191,7 @@ wavelan_ioctl(struct net_device * dev, /* Device on wich the ioctl apply */
}
}
break
;
break
;
#endif
/* HISTOGRAM */
#endif
/* HISTOGRAM */
#endif
/* WIRELESS_EXT <= 12 */
/* ------------------- OTHER IOCTL ------------------- */
/* ------------------- OTHER IOCTL ------------------- */
...
@@ -3203,7 +3204,6 @@ wavelan_ioctl(struct net_device * dev, /* Device on wich the ioctl apply */
...
@@ -3203,7 +3204,6 @@ wavelan_ioctl(struct net_device * dev, /* Device on wich the ioctl apply */
#endif
#endif
return
ret
;
return
ret
;
}
}
#endif
/* WIRELESS_EXT > 12 */
/*------------------------------------------------------------------*/
/*------------------------------------------------------------------*/
/*
/*
...
@@ -5199,9 +5199,8 @@ wavelan_attach(void)
...
@@ -5199,9 +5199,8 @@ wavelan_attach(void)
#ifdef WIRELESS_EXT
/* If wireless extension exist in the kernel */
#ifdef WIRELESS_EXT
/* If wireless extension exist in the kernel */
#if WIRELESS_EXT > 12
#if WIRELESS_EXT > 12
dev
->
wireless_handlers
=
(
struct
iw_handler_def
*
)
&
wavelan_handler_def
;
dev
->
wireless_handlers
=
(
struct
iw_handler_def
*
)
&
wavelan_handler_def
;
#else
/* WIRELESS_EXT > 12 */
dev
->
do_ioctl
=
wavelan_ioctl
;
/* wireless extensions */
#endif
/* WIRELESS_EXT > 12 */
#endif
/* WIRELESS_EXT > 12 */
dev
->
do_ioctl
=
wavelan_ioctl
;
/* old wireless extensions */
dev
->
get_wireless_stats
=
wavelan_get_wireless_stats
;
dev
->
get_wireless_stats
=
wavelan_get_wireless_stats
;
#endif
#endif
...
...
drivers/net/wireless/wavelan_cs.p.h
View file @
36d56656
...
@@ -439,6 +439,7 @@
...
@@ -439,6 +439,7 @@
#include <linux/if_arp.h>
#include <linux/if_arp.h>
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/fcntl.h>
#include <linux/fcntl.h>
#include <linux/ethtool.h>
#ifdef CONFIG_NET_RADIO
#ifdef CONFIG_NET_RADIO
#include <linux/wireless.h>
/* Wireless extensions */
#include <linux/wireless.h>
/* Wireless extensions */
...
...
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