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
2ed55743
Commit
2ed55743
authored
Jan 14, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/spare/repo/netdev-2.6/airo
into redhat.com:/spare/repo/net-drivers-2.5
parents
80440f48
335fcc78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+2
-11
No files found.
drivers/net/wireless/airo.c
View file @
2ed55743
...
...
@@ -1027,7 +1027,6 @@ struct airo_info {
#define FLAG_802_11 7
#define FLAG_PENDING_XMIT 9
#define FLAG_PENDING_XMIT11 10
#define FLAG_PCI 11
#define JOB_MASK 0x1ff0000
#define JOB_DIE 16
#define JOB_XMIT 17
...
...
@@ -4623,7 +4622,6 @@ static int __devinit airo_pci_probe(struct pci_dev *pdev,
return
-
ENODEV
;
pci_set_drvdata
(
pdev
,
dev
);
set_bit
(
FLAG_PCI
,
&
((
struct
airo_info
*
)
dev
->
priv
)
->
flags
);
return
0
;
}
...
...
@@ -4653,7 +4651,7 @@ static int __init airo_init_module( void )
#ifdef CONFIG_PCI
printk
(
KERN_INFO
"airo: Probing for PCI adapters
\n
"
);
pci_
module_init
(
&
airo_driver
);
pci_
register_driver
(
&
airo_driver
);
printk
(
KERN_INFO
"airo: Finished probing for PCI adapters
\n
"
);
#endif
...
...
@@ -4665,22 +4663,15 @@ static int __init airo_init_module( void )
static
void
__exit
airo_cleanup_module
(
void
)
{
int
is_pci
=
0
;
while
(
airo_devices
)
{
printk
(
KERN_INFO
"airo: Unregistering %s
\n
"
,
airo_devices
->
dev
->
name
);
#ifdef CONFIG_PCI
if
(
test_bit
(
FLAG_PCI
,
&
((
struct
airo_info
*
)
airo_devices
->
dev
->
priv
)
->
flags
))
is_pci
=
1
;
#endif
stop_airo_card
(
airo_devices
->
dev
,
1
);
}
remove_proc_entry
(
"aironet"
,
proc_root_driver
);
if
(
is_pci
)
{
#ifdef CONFIG_PCI
pci_unregister_driver
(
&
airo_driver
);
pci_unregister_driver
(
&
airo_driver
);
#endif
}
}
#ifdef WIRELESS_EXT
...
...
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