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
0cb53a3f
Commit
0cb53a3f
authored
Mar 22, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make opl3sa2 build again
parent
f7371879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
sound/oss/opl3sa2.c
sound/oss/opl3sa2.c
+10
-10
No files found.
sound/oss/opl3sa2.c
View file @
0cb53a3f
...
...
@@ -851,20 +851,20 @@ static int opl3sa2_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *de
opl3sa2_activated
[
card
]
=
1
;
/* Our own config: */
cfg
[
card
].
io_base
=
dev
->
io_resource
[
4
].
start
;
cfg
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg
[
card
].
dma
=
dev
->
dma_resource
[
0
].
start
;
cfg
[
card
].
dma2
=
dev
->
dma_resource
[
1
].
start
;
cfg
[
card
].
io_base
=
pnp_port_start
(
dev
,
4
)
;
cfg
[
card
].
irq
=
pnp_irq
(
dev
,
0
)
;
cfg
[
card
].
dma
=
pnp_dma
(
dev
,
0
)
;
cfg
[
card
].
dma2
=
pnp_dma
(
dev
,
1
)
;
/* The MSS config: */
cfg_mss
[
card
].
io_base
=
dev
->
io_resource
[
1
].
start
;
cfg_mss
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg_mss
[
card
].
dma
=
dev
->
dma_resource
[
0
].
start
;
cfg_mss
[
card
].
dma2
=
dev
->
dma_resource
[
1
].
start
;
cfg_mss
[
card
].
io_base
=
pnp_port_start
(
dev
,
1
)
;
cfg_mss
[
card
].
irq
=
pnp_irq
(
dev
,
0
)
;
cfg_mss
[
card
].
dma
=
pnp_dma
(
dev
,
0
)
;
cfg_mss
[
card
].
dma2
=
pnp_dma
(
dev
,
1
)
;
cfg_mss
[
card
].
card_subtype
=
1
;
/* No IRQ or DMA setup */
cfg_mpu
[
card
].
io_base
=
dev
->
io_resource
[
3
].
start
;
cfg_mpu
[
card
].
irq
=
dev
->
irq_resource
[
0
].
start
;
cfg_mpu
[
card
].
io_base
=
pnp_port_start
(
dev
,
3
)
;
cfg_mpu
[
card
].
irq
=
pnp_irq
(
dev
,
0
)
;
cfg_mpu
[
card
].
dma
=
-
1
;
cfg_mpu
[
card
].
dma2
=
-
1
;
cfg_mpu
[
card
].
always_detect
=
1
;
/* It's there, so use shared IRQs */
...
...
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