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
3a57312a
Commit
3a57312a
authored
Nov 14, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN: Un-split inithscxisac
It works just as nicely unsplit AFAICS, so no need for the added complexity.
parent
0a055009
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
28 additions
and
37 deletions
+28
-37
drivers/isdn/hisax/asuscom.c
drivers/isdn/hisax/asuscom.c
+1
-1
drivers/isdn/hisax/avm_a1.c
drivers/isdn/hisax/avm_a1.c
+1
-2
drivers/isdn/hisax/avm_a1p.c
drivers/isdn/hisax/avm_a1p.c
+1
-2
drivers/isdn/hisax/bkm_a8.c
drivers/isdn/hisax/bkm_a8.c
+1
-1
drivers/isdn/hisax/diva.c
drivers/isdn/hisax/diva.c
+1
-1
drivers/isdn/hisax/elsa.c
drivers/isdn/hisax/elsa.c
+1
-2
drivers/isdn/hisax/gazel.c
drivers/isdn/hisax/gazel.c
+1
-1
drivers/isdn/hisax/hscx.c
drivers/isdn/hisax/hscx.c
+10
-13
drivers/isdn/hisax/hscx.h
drivers/isdn/hisax/hscx.h
+1
-2
drivers/isdn/hisax/ix1_micro.c
drivers/isdn/hisax/ix1_micro.c
+1
-1
drivers/isdn/hisax/mic.c
drivers/isdn/hisax/mic.c
+1
-2
drivers/isdn/hisax/niccy.c
drivers/isdn/hisax/niccy.c
+1
-1
drivers/isdn/hisax/s0box.c
drivers/isdn/hisax/s0box.c
+1
-1
drivers/isdn/hisax/saphir.c
drivers/isdn/hisax/saphir.c
+1
-1
drivers/isdn/hisax/sedlbauer.c
drivers/isdn/hisax/sedlbauer.c
+1
-1
drivers/isdn/hisax/sportster.c
drivers/isdn/hisax/sportster.c
+1
-2
drivers/isdn/hisax/teles0.c
drivers/isdn/hisax/teles0.c
+1
-1
drivers/isdn/hisax/teles3.c
drivers/isdn/hisax/teles3.c
+1
-1
drivers/isdn/hisax/telespci.c
drivers/isdn/hisax/telespci.c
+1
-1
No files found.
drivers/isdn/hisax/asuscom.c
View file @
3a57312a
...
...
@@ -295,7 +295,7 @@ Asus_card_msg(struct IsdnCardState *cs, int mt, void *arg)
return
(
0
);
case
CARD_INIT
:
cs
->
debug
|=
L1_DEB_IPAC
;
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/avm_a1.c
View file @
3a57312a
...
...
@@ -163,10 +163,9 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_ioregs
(
cs
,
0x3f
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
1
);
byteout
(
cs
->
hw
.
avm
.
cfg_reg
,
0x16
);
byteout
(
cs
->
hw
.
avm
.
cfg_reg
,
0x1E
);
inithscxisac
(
cs
,
2
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/avm_a1p.c
View file @
3a57312a
...
...
@@ -224,8 +224,7 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
case
CARD_INIT
:
byteout
(
cs
->
hw
.
avm
.
cfg_reg
+
ASL0_OFFSET
,
ASL0_W_TDISABLE
|
ASL0_W_TRESET
|
ASL0_W_IRQENABLE
);
inithscxisac
(
cs
,
1
);
inithscxisac
(
cs
,
2
);
inithscxisac
(
cs
);
return
0
;
case
CARD_TEST
:
...
...
drivers/isdn/hisax/bkm_a8.c
View file @
3a57312a
...
...
@@ -251,7 +251,7 @@ BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
case
CARD_INIT
:
cs
->
debug
|=
L1_DEB_IPAC
;
set_ipac_active
(
cs
,
1
);
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
/* Enable ints */
enable_bkm_int
(
cs
,
1
);
return
(
0
);
...
...
drivers/isdn/hisax/diva.c
View file @
3a57312a
...
...
@@ -860,7 +860,7 @@ Diva_card_msg(struct IsdnCardState *cs, int mt, void *arg)
ireg
=
(
unsigned
int
*
)
cs
->
hw
.
diva
.
pci_cfg
;
*
ireg
=
PITA_INT0_ENABLE
;
}
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/elsa.c
View file @
3a57312a
...
...
@@ -679,7 +679,6 @@ Elsa_card_msg(struct IsdnCardState *cs, int mt, void *arg)
return
(
0
);
case
CARD_INIT
:
cs
->
debug
|=
L1_DEB_IPAC
;
inithscxisac
(
cs
,
1
);
if
((
cs
->
subtyp
==
ELSA_QS1000
)
||
(
cs
->
subtyp
==
ELSA_QS3000
))
{
...
...
@@ -687,7 +686,7 @@ Elsa_card_msg(struct IsdnCardState *cs, int mt, void *arg)
}
if
(
cs
->
hw
.
elsa
.
trig
)
byteout
(
cs
->
hw
.
elsa
.
trig
,
0xff
);
inithscxisac
(
cs
,
2
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
if
((
cs
->
subtyp
==
ELSA_PCMCIA
)
||
...
...
drivers/isdn/hisax/gazel.c
View file @
3a57312a
...
...
@@ -421,7 +421,7 @@ Gazel_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_gazel
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
1
);
inithscxisac
(
cs
);
if
((
cs
->
subtyp
==
R647
)
||
(
cs
->
subtyp
==
R685
))
{
int
i
;
for
(
i
=
0
;
i
<
(
2
+
MAX_WAITING_CALLS
);
i
++
)
{
...
...
drivers/isdn/hisax/hscx.c
View file @
3a57312a
...
...
@@ -257,21 +257,18 @@ inithscx(struct IsdnCardState *cs)
modehscx
(
cs
->
bcs
,
0
,
0
);
modehscx
(
cs
->
bcs
+
1
,
0
,
0
);
/* Reenable all IRQ */
cs
->
BC_Write_Reg
(
cs
,
0
,
HSCX_MASK
,
0
);
cs
->
BC_Write_Reg
(
cs
,
1
,
HSCX_MASK
,
0
);
}
void
__init
inithscxisac
(
struct
IsdnCardState
*
cs
,
int
part
)
inithscxisac
(
struct
IsdnCardState
*
cs
)
{
if
(
part
&
1
)
{
initisac
(
cs
);
inithscx
(
cs
);
}
if
(
part
&
2
)
{
/* Reenable all IRQ */
cs
->
writeisac
(
cs
,
ISAC_MASK
,
0
);
cs
->
BC_Write_Reg
(
cs
,
0
,
HSCX_MASK
,
0
);
cs
->
BC_Write_Reg
(
cs
,
1
,
HSCX_MASK
,
0
);
/* RESET Receiver and Transmitter */
cs
->
writeisac
(
cs
,
ISAC_CMDR
,
0x41
);
}
initisac
(
cs
);
inithscx
(
cs
);
/* RESET Receiver and Transmitter */
cs
->
writeisac
(
cs
,
ISAC_CMDR
,
0x41
);
}
drivers/isdn/hisax/hscx.h
View file @
3a57312a
...
...
@@ -37,5 +37,4 @@
extern
int
HscxVersion
(
struct
IsdnCardState
*
cs
,
char
*
s
);
extern
void
hscx_sched_event
(
struct
BCState
*
bcs
,
int
event
);
extern
void
modehscx
(
struct
BCState
*
bcs
,
int
mode
,
int
bc
);
extern
void
inithscx
(
struct
IsdnCardState
*
cs
);
extern
void
inithscxisac
(
struct
IsdnCardState
*
cs
,
int
part
);
extern
void
inithscxisac
(
struct
IsdnCardState
*
cs
);
drivers/isdn/hisax/ix1_micro.c
View file @
3a57312a
...
...
@@ -205,7 +205,7 @@ ix1_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_ix1micro
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/mic.c
View file @
3a57312a
...
...
@@ -188,8 +188,7 @@ mic_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_mic
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscx
(
cs
);
/* /RTSA := ISAC RST */
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/niccy.c
View file @
3a57312a
...
...
@@ -214,7 +214,7 @@ niccy_reset(struct IsdnCardState *cs)
val
|=
PCI_IRQ_ENABLE
;
outl
(
val
,
cs
->
hw
.
niccy
.
cfg_reg
+
PCI_IRQ_CTRL_REG
);
}
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
}
static
int
...
...
drivers/isdn/hisax/s0box.c
View file @
3a57312a
...
...
@@ -207,7 +207,7 @@ S0Box_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_s0box
(
cs
);
break
;
case
CARD_INIT
:
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
break
;
case
CARD_TEST
:
break
;
...
...
drivers/isdn/hisax/saphir.c
View file @
3a57312a
...
...
@@ -235,7 +235,7 @@ saphir_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_saphir
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/sedlbauer.c
View file @
3a57312a
...
...
@@ -488,7 +488,7 @@ Sedl_card_msg(struct IsdnCardState *cs, int mt, void *arg)
/* RESET Receiver and Transmitter */
cs
->
writeisac
(
cs
,
ISAC_CMDR
,
0x41
);
}
else
{
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
}
return
(
0
);
case
CARD_TEST
:
...
...
drivers/isdn/hisax/sportster.c
View file @
3a57312a
...
...
@@ -168,10 +168,9 @@ Sportster_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_sportster
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
1
);
inithscxisac
(
cs
);
cs
->
hw
.
spt
.
res_irq
|=
SPORTSTER_INTE
;
/* IRQ On */
byteout
(
cs
->
hw
.
spt
.
cfg_reg
+
SPORTSTER_RES_IRQ
,
cs
->
hw
.
spt
.
res_irq
);
inithscxisac
(
cs
,
2
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/teles0.c
View file @
3a57312a
...
...
@@ -251,7 +251,7 @@ Teles_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_teles0
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/teles3.c
View file @
3a57312a
...
...
@@ -238,7 +238,7 @@ Teles_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_teles3
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
0
);
...
...
drivers/isdn/hisax/telespci.c
View file @
3a57312a
...
...
@@ -270,7 +270,7 @@ TelesPCI_card_msg(struct IsdnCardState *cs, int mt, void *arg)
release_io_telespci
(
cs
);
return
(
0
);
case
CARD_INIT
:
inithscxisac
(
cs
,
3
);
inithscxisac
(
cs
);
return
(
0
);
case
CARD_TEST
:
return
(
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