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
b81346bc
Commit
b81346bc
authored
May 09, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
1d89057b
8f555e6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/isdn/hardware/eicon/idifunc.c
drivers/isdn/hardware/eicon/idifunc.c
+5
-5
No files found.
drivers/isdn/hardware/eicon/idifunc.c
View file @
b81346bc
/* $Id: idifunc.c,v 1.14
2004/03/21 18:13:43
armin Exp $
/* $Id: idifunc.c,v 1.14
.4.2 2004/05/09 16:42:20
armin Exp $
*
*
* Driver for Eicon DIVA Server ISDN cards.
* Driver for Eicon DIVA Server ISDN cards.
* User Mode IDI Interface
* User Mode IDI Interface
...
@@ -137,14 +137,14 @@ static void um_remove_card(DESCRIPTOR * d)
...
@@ -137,14 +137,14 @@ static void um_remove_card(DESCRIPTOR * d)
static
void
DIVA_EXIT_FUNCTION
remove_all_idi_proc
(
void
)
static
void
DIVA_EXIT_FUNCTION
remove_all_idi_proc
(
void
)
{
{
udiva_card
*
card
;
udiva_card
*
card
;
struct
list_head
*
tmp
;
diva_os_spin_lock_magic_t
old_irql
;
diva_os_spin_lock_magic_t
old_irql
;
rescan:
rescan:
diva_os_enter_spin_lock
(
&
ll_lock
,
&
old_irql
,
"remove all"
);
diva_os_enter_spin_lock
(
&
ll_lock
,
&
old_irql
,
"remove all"
);
list_for_each
(
tmp
,
&
cards
)
{
if
(
!
list_empty
(
&
cards
))
{
card
=
list_entry
(
tmp
,
udiva_card
,
list
);
card
=
list_entry
(
cards
.
next
,
udiva_card
,
list
);
diva_os_leave_spin_lock
(
&
ll_lock
,
&
old_irql
,
"remove all"
);
list_del
(
&
card
->
list
);
diva_os_leave_spin_lock
(
&
ll_lock
,
&
old_irql
,
"remove all"
);
diva_user_mode_idi_remove_adapter
(
card
->
Id
);
diva_user_mode_idi_remove_adapter
(
card
->
Id
);
diva_os_free
(
0
,
card
);
diva_os_free
(
0
,
card
);
goto
rescan
;
goto
rescan
;
...
...
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