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
ceced1a3
Commit
ceced1a3
authored
Jan 13, 2003
by
Zwane Mwaikambo
Committed by
Linus Torvalds
Jan 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sound/oss/opl3sa2.c compile fix
Fixes compile but card doesn't get detected, perhaps the id list?
parent
db7b9e9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sound/oss/opl3sa2.c
sound/oss/opl3sa2.c
+3
-3
No files found.
sound/oss/opl3sa2.c
View file @
ceced1a3
...
@@ -851,19 +851,19 @@ static int opl3sa2_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *de
...
@@ -851,19 +851,19 @@ static int opl3sa2_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *de
opl3sa2_activated
[
card
]
=
1
;
opl3sa2_activated
[
card
]
=
1
;
/* Our own config: */
/* Our own config: */
cfg
[
card
].
io_base
=
dev
->
resource
[
4
].
start
;
cfg
[
card
].
io_base
=
dev
->
io_
resource
[
4
].
start
;
cfg
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg
[
card
].
dma
=
dev
->
dma_resource
[
0
].
start
;
cfg
[
card
].
dma
=
dev
->
dma_resource
[
0
].
start
;
cfg
[
card
].
dma2
=
dev
->
dma_resource
[
1
].
start
;
cfg
[
card
].
dma2
=
dev
->
dma_resource
[
1
].
start
;
/* The MSS config: */
/* The MSS config: */
cfg_mss
[
card
].
io_base
=
dev
->
resource
[
1
].
start
;
cfg_mss
[
card
].
io_base
=
dev
->
io_
resource
[
1
].
start
;
cfg_mss
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg_mss
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg_mss
[
card
].
dma
=
dev
->
dma_resource
[
0
].
start
;
cfg_mss
[
card
].
dma
=
dev
->
dma_resource
[
0
].
start
;
cfg_mss
[
card
].
dma2
=
dev
->
dma_resource
[
1
].
start
;
cfg_mss
[
card
].
dma2
=
dev
->
dma_resource
[
1
].
start
;
cfg_mss
[
card
].
card_subtype
=
1
;
/* No IRQ or DMA setup */
cfg_mss
[
card
].
card_subtype
=
1
;
/* No IRQ or DMA setup */
cfg_mpu
[
card
].
io_base
=
dev
->
resource
[
3
].
start
;
cfg_mpu
[
card
].
io_base
=
dev
->
io_
resource
[
3
].
start
;
cfg_mpu
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg_mpu
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg_mpu
[
card
].
dma
=
-
1
;
cfg_mpu
[
card
].
dma
=
-
1
;
cfg_mpu
[
card
].
dma2
=
-
1
;
cfg_mpu
[
card
].
dma2
=
-
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