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
51c83a94
Commit
51c83a94
authored
Nov 18, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upstream-fixes' of
git://git.tuxdriver.com/git/netdev-jwl
parents
cea00da3
eaf8f53b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
12 deletions
+21
-12
drivers/net/fec_8xx/Kconfig
drivers/net/fec_8xx/Kconfig
+1
-1
drivers/net/wireless/ipw2100.c
drivers/net/wireless/ipw2100.c
+18
-11
drivers/net/wireless/ipw2100.h
drivers/net/wireless/ipw2100.h
+2
-0
No files found.
drivers/net/fec_8xx/Kconfig
View file @
51c83a94
config FEC_8XX
tristate "Motorola 8xx FEC driver"
depends on NET_ETHERNET &&
FEC
depends on NET_ETHERNET &&
8xx
select MII
config FEC_8XX_GENERIC_PHY
...
...
drivers/net/wireless/ipw2100.c
View file @
51c83a94
...
...
@@ -6344,7 +6344,8 @@ static struct net_device *ipw2100_alloc_device(struct pci_dev *pci_dev,
dev
->
ethtool_ops
=
&
ipw2100_ethtool_ops
;
dev
->
tx_timeout
=
ipw2100_tx_timeout
;
dev
->
wireless_handlers
=
&
ipw2100_wx_handler_def
;
dev
->
get_wireless_stats
=
ipw2100_wx_wireless_stats
;
priv
->
wireless_data
.
ieee80211
=
priv
->
ieee
;
dev
->
wireless_data
=
&
priv
->
wireless_data
;
dev
->
set_mac_address
=
ipw2100_set_address
;
dev
->
watchdog_timeo
=
3
*
HZ
;
dev
->
irq
=
0
;
...
...
@@ -7178,6 +7179,11 @@ static int ipw2100_wx_get_range(struct net_device *dev,
}
range
->
num_frequency
=
val
;
/* Event capability (kernel + driver) */
range
->
event_capa
[
0
]
=
(
IW_EVENT_CAPA_K_0
|
IW_EVENT_CAPA_MASK
(
SIOCGIWAP
));
range
->
event_capa
[
1
]
=
IW_EVENT_CAPA_K_1
;
IPW_DEBUG_WX
(
"GET Range
\n
"
);
return
0
;
...
...
@@ -8446,16 +8452,6 @@ static iw_handler ipw2100_private_handler[] = {
#endif
/* CONFIG_IPW2100_MONITOR */
};
static
struct
iw_handler_def
ipw2100_wx_handler_def
=
{
.
standard
=
ipw2100_wx_handlers
,
.
num_standard
=
sizeof
(
ipw2100_wx_handlers
)
/
sizeof
(
iw_handler
),
.
num_private
=
sizeof
(
ipw2100_private_handler
)
/
sizeof
(
iw_handler
),
.
num_private_args
=
sizeof
(
ipw2100_private_args
)
/
sizeof
(
struct
iw_priv_args
),
.
private
=
(
iw_handler
*
)
ipw2100_private_handler
,
.
private_args
=
(
struct
iw_priv_args
*
)
ipw2100_private_args
,
};
/*
* Get wireless statistics.
* Called by /proc/net/wireless
...
...
@@ -8597,6 +8593,17 @@ static struct iw_statistics *ipw2100_wx_wireless_stats(struct net_device *dev)
return
(
struct
iw_statistics
*
)
NULL
;
}
static
struct
iw_handler_def
ipw2100_wx_handler_def
=
{
.
standard
=
ipw2100_wx_handlers
,
.
num_standard
=
sizeof
(
ipw2100_wx_handlers
)
/
sizeof
(
iw_handler
),
.
num_private
=
sizeof
(
ipw2100_private_handler
)
/
sizeof
(
iw_handler
),
.
num_private_args
=
sizeof
(
ipw2100_private_args
)
/
sizeof
(
struct
iw_priv_args
),
.
private
=
(
iw_handler
*
)
ipw2100_private_handler
,
.
private_args
=
(
struct
iw_priv_args
*
)
ipw2100_private_args
,
.
get_wireless_stats
=
ipw2100_wx_wireless_stats
,
};
static
void
ipw2100_wx_event_work
(
struct
ipw2100_priv
*
priv
)
{
union
iwreq_data
wrqu
;
...
...
drivers/net/wireless/ipw2100.h
View file @
51c83a94
...
...
@@ -571,6 +571,8 @@ struct ipw2100_priv {
struct
net_device
*
net_dev
;
struct
iw_statistics
wstats
;
struct
iw_public_data
wireless_data
;
struct
tasklet_struct
irq_tasklet
;
struct
workqueue_struct
*
workqueue
;
...
...
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