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
ef6ba873
Commit
ef6ba873
authored
May 29, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5
parents
d91bd472
4a2f92b2
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
53 deletions
+21
-53
drivers/net/hamradio/dmascc.c
drivers/net/hamradio/dmascc.c
+2
-5
drivers/net/irda/ali-ircc.c
drivers/net/irda/ali-ircc.c
+2
-5
drivers/net/irda/donauboe.c
drivers/net/irda/donauboe.c
+1
-6
drivers/net/irda/irda-usb.c
drivers/net/irda/irda-usb.c
+4
-6
drivers/net/irda/irport.c
drivers/net/irda/irport.c
+2
-5
drivers/net/irda/irtty.c
drivers/net/irda/irtty.c
+2
-5
drivers/net/irda/nsc-ircc.c
drivers/net/irda/nsc-ircc.c
+2
-5
drivers/net/irda/sa1100_ir.c
drivers/net/irda/sa1100_ir.c
+2
-5
drivers/net/irda/toshoboe.c
drivers/net/irda/toshoboe.c
+2
-6
drivers/net/irda/w83977af_ir.c
drivers/net/irda/w83977af_ir.c
+2
-5
No files found.
drivers/net/hamradio/dmascc.c
View file @
ef6ba873
...
@@ -324,11 +324,8 @@ void cleanup_module(void) {
...
@@ -324,11 +324,8 @@ void cleanup_module(void) {
/* Unregister devices */
/* Unregister devices */
for
(
i
=
0
;
i
<
2
;
i
++
)
{
for
(
i
=
0
;
i
<
2
;
i
++
)
{
if
(
info
->
dev
[
i
].
name
)
{
if
(
info
->
dev
[
i
].
name
)
rtnl_lock
();
unregister_netdev
(
&
info
->
dev
[
i
]);
unregister_netdevice
(
&
info
->
dev
[
i
]);
rtnl_unlock
();
}
}
}
/* Reset board */
/* Reset board */
...
...
drivers/net/irda/ali-ircc.c
View file @
ef6ba873
...
@@ -390,11 +390,8 @@ static int __exit ali_ircc_close(struct ali_ircc_cb *self)
...
@@ -390,11 +390,8 @@ static int __exit ali_ircc_close(struct ali_ircc_cb *self)
iobase
=
self
->
io
.
fir_base
;
iobase
=
self
->
io
.
fir_base
;
/* Remove netdevice */
/* Remove netdevice */
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
rtnl_lock
();
unregister_netdev
(
self
->
netdev
);
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
/* Release the PORT that this driver is using */
/* Release the PORT that this driver is using */
IRDA_DEBUG
(
4
,
"%s(), Releasing Region %03x
\n
"
,
__FUNCTION__
,
self
->
io
.
fir_base
);
IRDA_DEBUG
(
4
,
"%s(), Releasing Region %03x
\n
"
,
__FUNCTION__
,
self
->
io
.
fir_base
);
...
...
drivers/net/irda/donauboe.c
View file @
ef6ba873
...
@@ -1579,12 +1579,7 @@ toshoboe_close (struct pci_dev *pci_dev)
...
@@ -1579,12 +1579,7 @@ toshoboe_close (struct pci_dev *pci_dev)
}
}
if
(
self
->
netdev
)
if
(
self
->
netdev
)
{
unregister_netdev
(
self
->
netdev
);
/* Remove netdevice */
rtnl_lock
();
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
kfree
(
self
->
ringbuf
);
kfree
(
self
->
ringbuf
);
self
->
ringbuf
=
NULL
;
self
->
ringbuf
=
NULL
;
...
...
drivers/net/irda/irda-usb.c
View file @
ef6ba873
...
@@ -1231,12 +1231,10 @@ static inline int irda_usb_close(struct irda_usb_cb *self)
...
@@ -1231,12 +1231,10 @@ static inline int irda_usb_close(struct irda_usb_cb *self)
ASSERT
(
self
!=
NULL
,
return
-
1
;);
ASSERT
(
self
!=
NULL
,
return
-
1
;);
/* Remove netdevice */
/* Remove netdevice */
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
rtnl_lock
();
unregister_netdev
(
self
->
netdev
);
unregister_netdevice
(
self
->
netdev
);
self
->
netdev
=
NULL
;
self
->
netdev
=
NULL
;
rtnl_unlock
();
}
/* Remove the speed buffer */
/* Remove the speed buffer */
if
(
self
->
speed_buff
!=
NULL
)
{
if
(
self
->
speed_buff
!=
NULL
)
{
kfree
(
self
->
speed_buff
);
kfree
(
self
->
speed_buff
);
...
...
drivers/net/irda/irport.c
View file @
ef6ba873
...
@@ -267,11 +267,8 @@ int irport_close(struct irport_cb *self)
...
@@ -267,11 +267,8 @@ int irport_close(struct irport_cb *self)
self
->
dongle
=
NULL
;
self
->
dongle
=
NULL
;
/* Remove netdevice */
/* Remove netdevice */
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
rtnl_lock
();
unregister_netdev
(
self
->
netdev
);
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
/* Release the IO-port that this driver is using */
/* Release the IO-port that this driver is using */
IRDA_DEBUG
(
0
,
"%s(), Releasing Region %03x
\n
"
,
IRDA_DEBUG
(
0
,
"%s(), Releasing Region %03x
\n
"
,
...
...
drivers/net/irda/irtty.c
View file @
ef6ba873
...
@@ -282,11 +282,8 @@ static void irtty_close(struct tty_struct *tty)
...
@@ -282,11 +282,8 @@ static void irtty_close(struct tty_struct *tty)
self
->
dongle
=
NULL
;
self
->
dongle
=
NULL
;
/* Remove netdevice */
/* Remove netdevice */
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
rtnl_lock
();
unregister_netdev
(
self
->
netdev
);
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
self
=
hashbin_remove
(
irtty
,
(
int
)
self
,
NULL
);
self
=
hashbin_remove
(
irtty
,
(
int
)
self
,
NULL
);
...
...
drivers/net/irda/nsc-ircc.c
View file @
ef6ba873
...
@@ -391,11 +391,8 @@ static int __exit nsc_ircc_close(struct nsc_ircc_cb *self)
...
@@ -391,11 +391,8 @@ static int __exit nsc_ircc_close(struct nsc_ircc_cb *self)
iobase
=
self
->
io
.
fir_base
;
iobase
=
self
->
io
.
fir_base
;
/* Remove netdevice */
/* Remove netdevice */
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
rtnl_lock
();
unregister_netdev
(
self
->
netdev
);
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
/* Release the PORT that this driver is using */
/* Release the PORT that this driver is using */
IRDA_DEBUG
(
4
,
"%s(), Releasing Region %03x
\n
"
,
IRDA_DEBUG
(
4
,
"%s(), Releasing Region %03x
\n
"
,
...
...
drivers/net/irda/sa1100_ir.c
View file @
ef6ba873
...
@@ -1122,11 +1122,8 @@ static void __exit sa1100_irda_exit(void)
...
@@ -1122,11 +1122,8 @@ static void __exit sa1100_irda_exit(void)
{
{
struct
net_device
*
dev
=
dev_get_drvdata
(
&
sa1100ir_device
.
dev
);
struct
net_device
*
dev
=
dev_get_drvdata
(
&
sa1100ir_device
.
dev
);
if
(
dev
)
{
if
(
dev
)
rtnl_lock
();
unregister_netdev
(
dev
);
unregister_netdevice
(
dev
);
rtnl_unlock
();
}
sys_device_unregister
(
&
sa1100ir_device
);
sys_device_unregister
(
&
sa1100ir_device
);
driver_unregister
(
&
sa1100ir_driver
);
driver_unregister
(
&
sa1100ir_driver
);
...
...
drivers/net/irda/toshoboe.c
View file @
ef6ba873
...
@@ -679,12 +679,8 @@ toshoboe_remove (struct pci_dev *pci_dev)
...
@@ -679,12 +679,8 @@ toshoboe_remove (struct pci_dev *pci_dev)
self
->
recv_bufs
[
i
]
=
NULL
;
self
->
recv_bufs
[
i
]
=
NULL
;
}
}
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
/* Remove netdevice */
unregister_netdev
(
self
->
netdev
);
rtnl_lock
();
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
kfree
(
self
->
taskfilebuf
);
kfree
(
self
->
taskfilebuf
);
self
->
taskfilebuf
=
NULL
;
self
->
taskfilebuf
=
NULL
;
...
...
drivers/net/irda/w83977af_ir.c
View file @
ef6ba873
...
@@ -299,11 +299,8 @@ static int w83977af_close(struct w83977af_ir *self)
...
@@ -299,11 +299,8 @@ static int w83977af_close(struct w83977af_ir *self)
#endif
/* CONFIG_USE_W977_PNP */
#endif
/* CONFIG_USE_W977_PNP */
/* Remove netdevice */
/* Remove netdevice */
if
(
self
->
netdev
)
{
if
(
self
->
netdev
)
rtnl_lock
();
unregister_netdev
(
self
->
netdev
);
unregister_netdevice
(
self
->
netdev
);
rtnl_unlock
();
}
/* Release the PORT that this driver is using */
/* Release the PORT that this driver is using */
IRDA_DEBUG
(
0
,
"%s(), Releasing Region %03x
\n
"
,
IRDA_DEBUG
(
0
,
"%s(), Releasing Region %03x
\n
"
,
...
...
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