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
16fa5fe8
Commit
16fa5fe8
authored
Oct 12, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make eicon build
parent
a97bdbb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/isdn/hardware/eicon/divasmain.c
drivers/isdn/hardware/eicon/divasmain.c
+5
-5
No files found.
drivers/isdn/hardware/eicon/divasmain.c
View file @
16fa5fe8
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/io.h>
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/
t
queue.h>
#include <linux/
work
queue.h>
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/delay.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
...
@@ -73,7 +73,7 @@ static devfs_handle_t devfs_handle;
...
@@ -73,7 +73,7 @@ static devfs_handle_t devfs_handle;
typedef
struct
_diva_os_thread_dpc
{
typedef
struct
_diva_os_thread_dpc
{
struct
tasklet_struct
divas_task
;
struct
tasklet_struct
divas_task
;
diva_os_soft_isr_t
*
psoft_isr
;
diva_os_soft_isr_t
*
psoft_isr
;
struct
tq
_struct
trap_script_task
;
struct
work
_struct
trap_script_task
;
int
card_failed
;
int
card_failed
;
}
diva_os_thread_dpc_t
;
}
diva_os_thread_dpc_t
;
...
@@ -297,7 +297,7 @@ void diva_run_trap_script (PISDN_ADAPTER IoAdapter, dword ANum)
...
@@ -297,7 +297,7 @@ void diva_run_trap_script (PISDN_ADAPTER IoAdapter, dword ANum)
if
(
context
&&
!
context
->
card_failed
)
{
if
(
context
&&
!
context
->
card_failed
)
{
context
->
card_failed
=
ANum
+
1
;
context
->
card_failed
=
ANum
+
1
;
schedule_
tas
k
(
&
context
->
trap_script_task
);
schedule_
wor
k
(
&
context
->
trap_script_task
);
}
}
}
}
...
@@ -607,7 +607,7 @@ int diva_os_initialize_soft_isr (diva_os_soft_isr_t* psoft_isr,
...
@@ -607,7 +607,7 @@ int diva_os_initialize_soft_isr (diva_os_soft_isr_t* psoft_isr,
psoft_isr
->
callback
=
callback
;
psoft_isr
->
callback
=
callback
;
psoft_isr
->
callback_context
=
callback_context
;
psoft_isr
->
callback_context
=
callback_context
;
pdpc
->
psoft_isr
=
psoft_isr
;
pdpc
->
psoft_isr
=
psoft_isr
;
INIT_
TQUEUE
(
&
pdpc
->
trap_script_task
,
diva_adapter_trapped
,
pdpc
);
INIT_
WORK
(
&
pdpc
->
trap_script_task
,
diva_adapter_trapped
,
pdpc
);
tasklet_init
(
&
pdpc
->
divas_task
,
diva_os_dpc_proc
,
(
unsigned
long
)
pdpc
);
tasklet_init
(
&
pdpc
->
divas_task
,
diva_os_dpc_proc
,
(
unsigned
long
)
pdpc
);
return
(
0
);
return
(
0
);
...
@@ -643,7 +643,7 @@ void diva_os_remove_soft_isr (diva_os_soft_isr_t* psoft_isr)
...
@@ -643,7 +643,7 @@ void diva_os_remove_soft_isr (diva_os_soft_isr_t* psoft_isr)
mem
=
psoft_isr
->
object
;
mem
=
psoft_isr
->
object
;
psoft_isr
->
object
=
0
;
psoft_isr
->
object
=
0
;
flush_scheduled_tasks
();
flush_scheduled_work
();
diva_os_free
(
0
,
mem
);
diva_os_free
(
0
,
mem
);
}
}
}
}
...
...
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