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
Kirill Smelkov
linux
Commits
0ccca8d5
Commit
0ccca8d5
authored
Aug 15, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN: Remove debugging code
parent
4f609391
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
24 deletions
+5
-24
drivers/isdn/hisax/ipacx.c
drivers/isdn/hisax/ipacx.c
+5
-24
No files found.
drivers/isdn/hisax/ipacx.c
View file @
0ccca8d5
...
...
@@ -66,9 +66,6 @@ ph_command(struct IsdnCardState *cs, unsigned int command)
if
(
cs
->
debug
&
L1_DEB_ISAC
)
debugl1
(
cs
,
"ph_command (%#x) in (%#x)"
,
command
,
cs
->
dc
.
isac
.
ph_state
);
//###################################
// printk(KERN_INFO "ph_command (%#x)\n", command);
//###################################
cs
->
writeisac
(
cs
,
IPACX_CIX0
,
(
command
<<
4
)
|
0x0E
);
}
...
...
@@ -82,9 +79,6 @@ cic_int(struct IsdnCardState *cs)
event
=
cs
->
readisac
(
cs
,
IPACX_CIR0
)
>>
4
;
if
(
cs
->
debug
&
L1_DEB_ISAC
)
debugl1
(
cs
,
"cic_int(event=%#x)"
,
event
);
//#########################################
// printk(KERN_INFO "cic_int(%x)\n", event);
//#########################################
cs
->
dc
.
isac
.
ph_state
=
event
;
dch_sched_event
(
cs
,
D_L1STATECHANGE
);
}
...
...
@@ -417,9 +411,6 @@ dch_int(struct IsdnCardState *cs)
int
count
;
istad
=
cs
->
readisac
(
cs
,
IPACX_ISTAD
);
//##############################################
// printk(KERN_WARNING "dch_int(istad=%02x)\n", istad);
//##############################################
if
(
istad
&
0x80
)
{
// RME
rstad
=
cs
->
readisac
(
cs
,
IPACX_RSTAD
);
...
...
@@ -714,9 +705,6 @@ bch_int(struct IsdnCardState *cs, u_char hscx)
bcs
=
cs
->
bcs
+
hscx
;
istab
=
cs
->
BC_Read_Reg
(
cs
,
hscx
,
IPACX_ISTAB
);
//##############################################
// printk(KERN_WARNING "bch_int(istab=%02x)\n", istab);
//##############################################
if
(
!
test_bit
(
BC_FLG_INIT
,
&
bcs
->
Flag
))
return
;
if
(
istab
&
0x80
)
{
// RME
...
...
@@ -963,12 +951,8 @@ interrupt_ipacx(struct IsdnCardState *cs)
u_char
ista
;
while
((
ista
=
cs
->
readisac
(
cs
,
IPACX_ISTA
)))
{
//#################################################
// printk(KERN_WARNING "interrupt_ipacx(ista=%02x)\n", ista);
//#################################################
if
(
ista
&
0x80
)
bch_int
(
cs
,
0
);
// B channel interrupts
if
(
ista
&
0x40
)
bch_int
(
cs
,
1
);
if
(
ista
&
0x01
)
dch_int
(
cs
);
// D channel
if
(
ista
&
0x10
)
cic_int
(
cs
);
// Layer 1 state
}
...
...
@@ -1003,9 +987,6 @@ void __init
init_ipacx
(
struct
IsdnCardState
*
cs
,
int
part
)
{
if
(
part
&
1
)
{
// initialise chip
//##################################################
// printk(KERN_INFO "init_ipacx(%x)\n", part);
//##################################################
clear_pending_ints
(
cs
);
bch_init
(
cs
,
0
);
bch_init
(
cs
,
1
);
...
...
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