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
68ee13b3
Commit
68ee13b3
authored
Mar 29, 2004
by
Jaroslav Kysela
Committed by
Linus Torvalds
Mar 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CS46xx driver mmap_valid is 1 by default
parent
12fa26e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/pci/cs46xx/cs46xx.c
sound/pci/cs46xx/cs46xx.c
+2
-2
No files found.
sound/pci/cs46xx/cs46xx.c
View file @
68ee13b3
...
@@ -51,7 +51,7 @@ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
...
@@ -51,7 +51,7 @@ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
static
int
enable
[
SNDRV_CARDS
]
=
SNDRV_DEFAULT_ENABLE_PNP
;
/* Enable this card */
static
int
enable
[
SNDRV_CARDS
]
=
SNDRV_DEFAULT_ENABLE_PNP
;
/* Enable this card */
static
int
external_amp
[
SNDRV_CARDS
]
=
{[
0
...
(
SNDRV_CARDS
-
1
)]
=
0
};
static
int
external_amp
[
SNDRV_CARDS
]
=
{[
0
...
(
SNDRV_CARDS
-
1
)]
=
0
};
static
int
thinkpad
[
SNDRV_CARDS
]
=
{[
0
...
(
SNDRV_CARDS
-
1
)]
=
0
};
static
int
thinkpad
[
SNDRV_CARDS
]
=
{[
0
...
(
SNDRV_CARDS
-
1
)]
=
0
};
static
int
mmap_valid
[
SNDRV_CARDS
]
=
{[
0
...
(
SNDRV_CARDS
-
1
)]
=
0
};
static
int
mmap_valid
[
SNDRV_CARDS
]
=
{[
0
...
(
SNDRV_CARDS
-
1
)]
=
1
};
MODULE_PARM
(
index
,
"1-"
__MODULE_STRING
(
SNDRV_CARDS
)
"i"
);
MODULE_PARM
(
index
,
"1-"
__MODULE_STRING
(
SNDRV_CARDS
)
"i"
);
MODULE_PARM_DESC
(
index
,
"Index value for the CS46xx soundcard."
);
MODULE_PARM_DESC
(
index
,
"Index value for the CS46xx soundcard."
);
...
@@ -70,7 +70,7 @@ MODULE_PARM_DESC(thinkpad, "Force to enable Thinkpad's CLKRUN control.");
...
@@ -70,7 +70,7 @@ MODULE_PARM_DESC(thinkpad, "Force to enable Thinkpad's CLKRUN control.");
MODULE_PARM_SYNTAX
(
thinkpad
,
SNDRV_ENABLED
","
SNDRV_BOOLEAN_FALSE_DESC
);
MODULE_PARM_SYNTAX
(
thinkpad
,
SNDRV_ENABLED
","
SNDRV_BOOLEAN_FALSE_DESC
);
MODULE_PARM
(
mmap_valid
,
"1-"
__MODULE_STRING
(
SNDRV_CARDS
)
"i"
);
MODULE_PARM
(
mmap_valid
,
"1-"
__MODULE_STRING
(
SNDRV_CARDS
)
"i"
);
MODULE_PARM_DESC
(
mmap_valid
,
"Support OSS mmap."
);
MODULE_PARM_DESC
(
mmap_valid
,
"Support OSS mmap."
);
MODULE_PARM_SYNTAX
(
mmap_valid
,
SNDRV_ENABLED
","
SNDRV_BOOLEAN_
FALS
E_DESC
);
MODULE_PARM_SYNTAX
(
mmap_valid
,
SNDRV_ENABLED
","
SNDRV_BOOLEAN_
TRU
E_DESC
);
static
struct
pci_device_id
snd_cs46xx_ids
[]
=
{
static
struct
pci_device_id
snd_cs46xx_ids
[]
=
{
{
0x1013
,
0x6001
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
,
},
/* CS4280 */
{
0x1013
,
0x6001
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
0
,
},
/* CS4280 */
...
...
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