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
56ede423
Commit
56ede423
authored
Apr 30, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN: b1dma introduce b1dma_queue_tx() wrapper
parent
2ec163ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
drivers/isdn/hardware/avm/b1dma.c
drivers/isdn/hardware/avm/b1dma.c
+13
-10
No files found.
drivers/isdn/hardware/avm/b1dma.c
View file @
56ede423
...
...
@@ -350,6 +350,12 @@ int b1pciv4_detect(avmcard *card)
return
0
;
}
static
void
b1dma_queue_tx
(
avmcard
*
card
,
struct
sk_buff
*
skb
)
{
skb_queue_tail
(
&
card
->
dma
->
send_queue
,
skb
);
b1dma_dispatch_tx
(
card
);
}
/* ------------------------------------------------------------- */
static
void
b1dma_dispatch_tx
(
avmcard
*
card
)
...
...
@@ -449,8 +455,7 @@ static void queue_pollack(avmcard *card)
_put_byte
(
&
p
,
SEND_POLLACK
);
skb_put
(
skb
,
(
u8
*
)
p
-
(
u8
*
)
skb
->
data
);
skb_queue_tail
(
&
card
->
dma
->
send_queue
,
skb
);
b1dma_dispatch_tx
(
card
);
b1dma_queue_tx
(
card
,
skb
);
}
/* ------------------------------------------------------------- */
...
...
@@ -697,8 +702,7 @@ static void b1dma_send_init(avmcard *card)
_put_word
(
&
p
,
card
->
cardnr
-
1
);
skb_put
(
skb
,
(
u8
*
)
p
-
(
u8
*
)
skb
->
data
);
skb_queue_tail
(
&
card
->
dma
->
send_queue
,
skb
);
b1dma_dispatch_tx
(
card
);
b1dma_queue_tx
(
card
,
skb
);
}
int
b1dma_load_firmware
(
struct
capi_ctr
*
ctrl
,
capiloaddata
*
data
)
...
...
@@ -803,8 +807,7 @@ void b1dma_register_appl(struct capi_ctr *ctrl,
_put_word
(
&
p
,
rp
->
datablklen
);
skb_put
(
skb
,
(
u8
*
)
p
-
(
u8
*
)
skb
->
data
);
skb_queue_tail
(
&
card
->
dma
->
send_queue
,
skb
);
b1dma_dispatch_tx
(
card
);
b1dma_queue_tx
(
card
,
skb
);
ctrl
->
appl_registered
(
ctrl
,
appl
);
}
...
...
@@ -831,8 +834,8 @@ void b1dma_release_appl(struct capi_ctr *ctrl, u16 appl)
_put_word
(
&
p
,
appl
);
skb_put
(
skb
,
(
u8
*
)
p
-
(
u8
*
)
skb
->
data
);
skb_queue_tail
(
&
card
->
dma
->
send_queue
,
skb
);
b1dma_
dispatch_tx
(
card
);
b1dma_
queue_tx
(
card
,
skb
);
}
/* ------------------------------------------------------------- */
...
...
@@ -841,8 +844,8 @@ void b1dma_send_message(struct capi_ctr *ctrl, struct sk_buff *skb)
{
avmctrl_info
*
cinfo
=
(
avmctrl_info
*
)(
ctrl
->
driverdata
);
avmcard
*
card
=
cinfo
->
card
;
skb_queue_tail
(
&
card
->
dma
->
send_queue
,
skb
);
b1dma_
dispatch_tx
(
card
);
b1dma_
queue_tx
(
card
,
skb
);
}
/* ------------------------------------------------------------- */
...
...
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