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
f3fc213e
Commit
f3fc213e
authored
Jun 06, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISDN: hisax/hfc_pci.c: sync with 2.4
parent
ae554a89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/isdn/hisax/hfc_pci.c
drivers/isdn/hisax/hfc_pci.c
+2
-2
No files found.
drivers/isdn/hisax/hfc_pci.c
View file @
f3fc213e
...
@@ -76,6 +76,8 @@ release_io_hfcpci(struct IsdnCardState *cs)
...
@@ -76,6 +76,8 @@ release_io_hfcpci(struct IsdnCardState *cs)
{
{
unsigned
long
flags
;
unsigned
long
flags
;
printk
(
KERN_INFO
"HiSax: release hfcpci at %p
\n
"
,
cs
->
hw
.
hfcpci
.
pci_io
);
save_flags
(
flags
);
save_flags
(
flags
);
cli
();
cli
();
cs
->
hw
.
hfcpci
.
int_m2
=
0
;
/* interrupt output off ! */
cs
->
hw
.
hfcpci
.
int_m2
=
0
;
/* interrupt output off ! */
...
@@ -86,9 +88,7 @@ release_io_hfcpci(struct IsdnCardState *cs)
...
@@ -86,9 +88,7 @@ release_io_hfcpci(struct IsdnCardState *cs)
set_current_state
(
TASK_UNINTERRUPTIBLE
);
set_current_state
(
TASK_UNINTERRUPTIBLE
);
schedule_timeout
((
30
*
HZ
)
/
1000
);
/* Timeout 30ms */
schedule_timeout
((
30
*
HZ
)
/
1000
);
/* Timeout 30ms */
Write_hfc
(
cs
,
HFCPCI_CIRM
,
0
);
/* Reset Off */
Write_hfc
(
cs
,
HFCPCI_CIRM
,
0
);
/* Reset Off */
#if CONFIG_PCI
pcibios_write_config_word
(
cs
->
hw
.
hfcpci
.
pci_bus
,
cs
->
hw
.
hfcpci
.
pci_device_fn
,
PCI_COMMAND
,
0
);
/* disable memory mapped ports + busmaster */
pcibios_write_config_word
(
cs
->
hw
.
hfcpci
.
pci_bus
,
cs
->
hw
.
hfcpci
.
pci_device_fn
,
PCI_COMMAND
,
0
);
/* disable memory mapped ports + busmaster */
#endif
/* CONFIG_PCI */
del_timer
(
&
cs
->
hw
.
hfcpci
.
timer
);
del_timer
(
&
cs
->
hw
.
hfcpci
.
timer
);
iounmap
(
cs
->
hw
.
hfcpci
.
pci_io
);
iounmap
(
cs
->
hw
.
hfcpci
.
pci_io
);
pci_free_consistent
(
cs
->
hw
.
hfcpci
.
pdev
,
32768
,
cs
->
hw
.
hfcpci
.
fifos
,
cs
->
hw
.
hfcpci
.
fifos_dma
);
pci_free_consistent
(
cs
->
hw
.
hfcpci
.
pdev
,
32768
,
cs
->
hw
.
hfcpci
.
fifos
,
cs
->
hw
.
hfcpci
.
fifos_dma
);
...
...
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