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
cbb7a3d9
Commit
cbb7a3d9
authored
Apr 07, 2003
by
Alan Cox
Committed by
Linus Torvalds
Apr 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] small pc98xx fix for sound
parent
67ea13bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
sound/isa/cs423x/pc98.c
sound/isa/cs423x/pc98.c
+7
-1
No files found.
sound/isa/cs423x/pc98.c
View file @
cbb7a3d9
...
...
@@ -3,6 +3,7 @@
* Copyright (c) by Jaroslav Kysela <perex@suse.cz>
* Osamu Tomita <tomita@cinet.co.jp>
* Takashi Iwai <tiwai@suse.de>
* Hideaki Okubo <okubo@msh.biglobe.ne.jp>
*
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -290,8 +291,13 @@ static int __init pc98_cs4231_chip_init(int dev)
snd_printk
(
KERN_ERR
IDENT
": Bad DMA %d
\n
"
,
dma2
[
dev
]);
return
-
EINVAL
;
}
if
(
dma1
[
dev
]
!=
dma2
[
dev
]
&&
dma2
[
dev
]
>=
0
)
outb
(
dma1
[
dev
],
0x29
);
/* dma1 boundary 64KB */
if
(
dma1
[
dev
]
!=
dma2
[
dev
]
&&
dma2
[
dev
]
>=
0
)
{
outb
(
0
,
0x5f
);
/* wait */
outb
(
dma2
[
dev
],
0x29
);
/* dma2 boundary 64KB */
intr_bits
|=
0x04
;
}
if
(
PC9800_SOUND_ID
()
==
PC9800_SOUND_ID_118
)
{
/* Set up CanBe control registers. */
...
...
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