Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openvox-dahdi
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
Raptor Engineering Public Development
openvox-dahdi
Commits
85fca6a1
Commit
85fca6a1
authored
Oct 27, 2020
by
Harald Welte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wct4xxp: Fix build without VPM_SUPPORT
parent
4897f1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/dahdi/wct4xxp/base.c
drivers/dahdi/wct4xxp/base.c
+4
-0
No files found.
drivers/dahdi/wct4xxp/base.c
View file @
85fca6a1
...
...
@@ -1794,20 +1794,24 @@ static int t4_hardware_stop(struct t4 *wc);
static
void
t4_framer_reset
(
struct
t4
*
wc
)
{
const
bool
first_time
=
false
;
#ifdef VPM_SUPPORT
bool
have_vpm
=
wc
->
vpm
!=
NULL
;
if
(
have_vpm
)
{
release_vpm450m
(
wc
->
vpm
);
wc
->
vpm
=
NULL
;
}
#endif
t4_hardware_stop
(
wc
);
__t4_set_sclk_src
(
wc
,
WC_SELF
,
0
,
0
);
__t4_hardware_init_1
(
wc
,
wc
->
devtype
->
flags
,
first_time
);
__t4_hardware_init_2
(
wc
,
first_time
);
#ifdef VPM_SUPPORT
if
(
have_vpm
)
{
t4_vpm_init
(
wc
);
wc
->
dmactrl
|=
(
wc
->
vpm
)
?
T4_VPM_PRESENT
:
0
;
t4_pci_out
(
wc
,
WC_DMACTRL
,
wc
->
dmactrl
);
}
#endif
setup_chunks
(
wc
,
0
);
wc
->
lastindex
=
0
;
}
...
...
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