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
ae6a0c46
Commit
ae6a0c46
authored
Jun 09, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-sound.bkbits.net/linux-sound
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
a54047f1
26bfac10
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
47 additions
and
44 deletions
+47
-44
drivers/pnp/isapnp/core.c
drivers/pnp/isapnp/core.c
+1
-0
drivers/pnp/pnpbios/core.c
drivers/pnp/pnpbios/core.c
+2
-0
include/linux/isapnp.h
include/linux/isapnp.h
+2
-2
include/sound/sndmagic.h
include/sound/sndmagic.h
+2
-2
include/sound/version.h
include/sound/version.h
+1
-1
sound/core/Kconfig
sound/core/Kconfig
+1
-1
sound/isa/cs423x/cs4236_lib.c
sound/isa/cs423x/cs4236_lib.c
+1
-1
sound/isa/gus/interwave.c
sound/isa/gus/interwave.c
+1
-1
sound/pci/ac97/ac97_patch.c
sound/pci/ac97/ac97_patch.c
+6
-7
sound/pci/emu10k1/emufx.c
sound/pci/emu10k1/emufx.c
+0
-1
sound/pci/ice1712/Makefile
sound/pci/ice1712/Makefile
+5
-4
sound/pci/ice1712/ak4xxx.c
sound/pci/ice1712/ak4xxx.c
+4
-0
sound/pcmcia/vx/Makefile
sound/pcmcia/vx/Makefile
+5
-4
sound/pcmcia/vx/vx_entry.c
sound/pcmcia/vx/vx_entry.c
+0
-5
sound/pcmcia/vx/vxpocket.c
sound/pcmcia/vx/vxpocket.c
+16
-15
No files found.
drivers/pnp/isapnp/core.c
View file @
ae6a0c46
...
@@ -1028,6 +1028,7 @@ int isapnp_cfg_end(void)
...
@@ -1028,6 +1028,7 @@ int isapnp_cfg_end(void)
*/
*/
EXPORT_SYMBOL
(
isapnp_protocol
);
EXPORT_SYMBOL
(
isapnp_present
);
EXPORT_SYMBOL
(
isapnp_present
);
EXPORT_SYMBOL
(
isapnp_cfg_begin
);
EXPORT_SYMBOL
(
isapnp_cfg_begin
);
EXPORT_SYMBOL
(
isapnp_cfg_end
);
EXPORT_SYMBOL
(
isapnp_cfg_end
);
...
...
drivers/pnp/pnpbios/core.c
View file @
ae6a0c46
...
@@ -1168,3 +1168,5 @@ module_init(pnpbios_init_all);
...
@@ -1168,3 +1168,5 @@ module_init(pnpbios_init_all);
module_exit
(
pnpbios_exit
);
module_exit
(
pnpbios_exit
);
#endif
#endif
EXPORT_SYMBOL
(
pnpbios_protocol
);
include/linux/isapnp.h
View file @
ae6a0c46
...
@@ -115,8 +115,8 @@ void *isapnp_alloc(long size);
...
@@ -115,8 +115,8 @@ void *isapnp_alloc(long size);
int
isapnp_proc_init
(
void
);
int
isapnp_proc_init
(
void
);
int
isapnp_proc_done
(
void
);
int
isapnp_proc_done
(
void
);
#else
#else
static
inline
isapnp_proc_init
(
void
)
{
return
0
;
}
static
inline
i
nt
i
sapnp_proc_init
(
void
)
{
return
0
;
}
static
inline
isapnp_proc_done
(
void
)
{
return
0
;
}
static
inline
i
nt
i
sapnp_proc_done
(
void
)
{
return
0
;
}
#endif
#endif
/* init/main.c */
/* init/main.c */
...
...
include/sound/sndmagic.h
View file @
ae6a0c46
...
@@ -155,6 +155,7 @@ static inline int _snd_magic_bad(void *obj, unsigned long magic)
...
@@ -155,6 +155,7 @@ static inline int _snd_magic_bad(void *obj, unsigned long magic)
#define snd_card_dummy_t_magic 0xa15a2501
#define snd_card_dummy_t_magic 0xa15a2501
#define snd_card_dummy_pcm_t_magic 0xa15a2502
#define snd_card_dummy_pcm_t_magic 0xa15a2502
#define opl3_t_magic 0xa15a2601
#define opl3_t_magic 0xa15a2601
#define opl4_t_magic 0xa15a2602
#define snd_seq_dummy_port_t_magic 0xa15a2701
#define snd_seq_dummy_port_t_magic 0xa15a2701
#define ice1712_t_magic 0xa15a2801
#define ice1712_t_magic 0xa15a2801
#define ad1816a_t_magic 0xa15a2901
#define ad1816a_t_magic 0xa15a2901
...
@@ -193,10 +194,9 @@ static inline int _snd_magic_bad(void *obj, unsigned long magic)
...
@@ -193,10 +194,9 @@ static inline int _snd_magic_bad(void *obj, unsigned long magic)
#define snd_usb_midi_in_endpoint_t_magic 0xa15a3f03
#define snd_usb_midi_in_endpoint_t_magic 0xa15a3f03
#define ak4117_t_magic 0xa15a4000
#define ak4117_t_magic 0xa15a4000
#define psic_t_magic 0xa15a4100
#define psic_t_magic 0xa15a4100
#define opl4_t_magic 0xa15a2602
#define vx_core_t_magic 0xa15a4110
#define vx_core_t_magic 0xa15a4110
#define vx_pipe_t_magic 0xa15a4112
#define vx_pipe_t_magic 0xa15a4112
#define azf3328_t_magic 0xa15a4200
#else
#else
...
...
include/sound/version.h
View file @
ae6a0c46
/* include/version.h. Generated by configure. */
/* include/version.h. Generated by configure. */
#define CONFIG_SND_VERSION "0.9.4"
#define CONFIG_SND_VERSION "0.9.4"
#define CONFIG_SND_DATE " (
Fri Jun 06 09:23:03
2003 UTC)"
#define CONFIG_SND_DATE " (
Mon Jun 09 12:01:18
2003 UTC)"
sound/core/Kconfig
View file @
ae6a0c46
...
@@ -41,7 +41,7 @@ config SND_SEQUENCER_OSS
...
@@ -41,7 +41,7 @@ config SND_SEQUENCER_OSS
bool "OSS Sequencer API"
bool "OSS Sequencer API"
depends on SND_OSSEMUL && SND_SEQUENCER
depends on SND_OSSEMUL && SND_SEQUENCER
help
help
Say 'Y'
or 'M'
to enable OSS sequencer emulation (both /dev/sequencer and
Say 'Y' to enable OSS sequencer emulation (both /dev/sequencer and
/dev/music interfaces).
/dev/music interfaces).
config SND_RTCTIMER
config SND_RTCTIMER
...
...
sound/isa/cs423x/cs4236_lib.c
View file @
ae6a0c46
...
@@ -284,7 +284,7 @@ int snd_cs4236_create(snd_card_t * card,
...
@@ -284,7 +284,7 @@ int snd_cs4236_create(snd_card_t * card,
return
err
;
return
err
;
if
(
!
(
chip
->
hardware
&
CS4231_HW_CS4236B_MASK
))
{
if
(
!
(
chip
->
hardware
&
CS4231_HW_CS4236B_MASK
))
{
snd_printk
(
"CS4236+: MODE3 and extended registers not available, hardware=0x%
l
x
\n
"
,
chip
->
hardware
);
snd_printk
(
"CS4236+: MODE3 and extended registers not available, hardware=0x%x
\n
"
,
chip
->
hardware
);
snd_device_free
(
card
,
chip
);
snd_device_free
(
card
,
chip
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
...
...
sound/isa/gus/interwave.c
View file @
ae6a0c46
...
@@ -757,7 +757,7 @@ static int __devinit snd_interwave_probe(int dev, struct pnp_card_link *pcard,
...
@@ -757,7 +757,7 @@ static int __devinit snd_interwave_probe(int dev, struct pnp_card_link *pcard,
if
(
request_irq
(
xirq
,
snd_interwave_interrupt
,
SA_INTERRUPT
,
"InterWave"
,
(
void
*
)
iwcard
))
{
if
(
request_irq
(
xirq
,
snd_interwave_interrupt
,
SA_INTERRUPT
,
"InterWave"
,
(
void
*
)
iwcard
))
{
snd_card_free
(
card
);
snd_card_free
(
card
);
snd_printk
(
"unable to grab IRQ %d
\n
"
,
irq
);
snd_printk
(
"unable to grab IRQ %d
\n
"
,
x
irq
);
return
-
EBUSY
;
return
-
EBUSY
;
}
}
iwcard
->
irq
=
xirq
;
iwcard
->
irq
=
xirq
;
...
...
sound/pci/ac97/ac97_patch.c
View file @
ae6a0c46
...
@@ -370,18 +370,17 @@ int patch_alc650(ac97_t * ac97)
...
@@ -370,18 +370,17 @@ int patch_alc650(ac97_t * ac97)
unsigned
short
val
;
unsigned
short
val
;
int
spdif
=
0
;
int
spdif
=
0
;
/* FIXME: set the
above
1 if we can detect the chip rev.E correctly.
/* FIXME: set the
below
1 if we can detect the chip rev.E correctly.
* this is used for switching mic and center/lfe, which needs
* this is used for switching mic and center/lfe, which needs
* resetting GPIO0 level on the older revision.
* resetting GPIO0 level on the older revision.
*/
*/
ac97
->
spec
.
dev_flags
=
0
;
ac97
->
spec
.
dev_flags
=
0
;
/* check spdif */
/* check spdif (should be only on rev.E) */
if
(
ac97
->
spec
.
dev_flags
)
{
val
=
snd_ac97_read
(
ac97
,
AC97_EXTENDED_STATUS
);
val
=
snd_ac97_read
(
ac97
,
AC97_EXTENDED_STATUS
);
if
(
val
&
AC97_EA_SPCV
)
if
(
val
&
AC97_EA_SPCV
)
spdif
=
1
;
spdif
=
1
;
}
if
(
spdif
)
{
if
(
spdif
)
{
/* enable spdif in */
/* enable spdif in */
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_CLOCK
,
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_CLOCK
,
...
...
sound/pci/emu10k1/emufx.c
View file @
ae6a0c46
...
@@ -1012,7 +1012,6 @@ static void snd_emu10k1_del_controls(emu10k1_t *emu, emu10k1_fx8010_code_t *icod
...
@@ -1012,7 +1012,6 @@ static void snd_emu10k1_del_controls(emu10k1_t *emu, emu10k1_fx8010_code_t *icod
ctl
=
snd_emu10k1_look_for_ctl
(
emu
,
&
id
);
ctl
=
snd_emu10k1_look_for_ctl
(
emu
,
&
id
);
snd_runtime_check
(
ctl
==
NULL
,
continue
);
snd_runtime_check
(
ctl
==
NULL
,
continue
);
snd_ctl_remove
(
emu
->
card
,
ctl
->
kcontrol
);
snd_ctl_remove
(
emu
->
card
,
ctl
->
kcontrol
);
list_del
(
&
ctl
->
list
);
}
}
}
}
...
...
sound/pci/ice1712/Makefile
View file @
ae6a0c46
...
@@ -3,9 +3,10 @@
...
@@ -3,9 +3,10 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
#
snd-ice1712-objs
:=
ice1712.o delta.o hoontech.o ews.o ak4xxx.o
snd-ice17xx-ak4xxx-objs
:=
ak4xxx.o
snd-ice1724-objs
:=
ice1724.o amp.o revo.o aureon.o ak4xxx.o
snd-ice1712-objs
:=
ice1712.o delta.o hoontech.o ews.o
snd-ice1724-objs
:=
ice1724.o amp.o revo.o aureon.o
# Toplevel Module Dependency
# Toplevel Module Dependency
obj-$(CONFIG_SND_ICE1712)
+=
snd-ice1712.o
obj-$(CONFIG_SND_ICE1712)
+=
snd-ice1712.o
snd-ice17xx-ak4xxx.o
obj-$(CONFIG_SND_ICE1724)
+=
snd-ice1724.o
obj-$(CONFIG_SND_ICE1724)
+=
snd-ice1724.o
snd-ice17xx-ak4xxx.o
sound/pci/ice1712/ak4xxx.c
View file @
ae6a0c46
...
@@ -168,3 +168,7 @@ int __devinit snd_ice1712_akm4xxx_build_controls(ice1712_t *ice)
...
@@ -168,3 +168,7 @@ int __devinit snd_ice1712_akm4xxx_build_controls(ice1712_t *ice)
}
}
return
0
;
return
0
;
}
}
EXPORT_SYMBOL
(
snd_ice1712_akm4xxx_init
);
EXPORT_SYMBOL
(
snd_ice1712_akm4xxx_free
);
EXPORT_SYMBOL
(
snd_ice1712_akm4xxx_build_controls
);
sound/pcmcia/vx/Makefile
View file @
ae6a0c46
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
#
snd-vxpocket-objs
:=
vxpocket.o vx_entry.o vxp_ops.o vxp_mixer.o
snd-vx-cs-objs
:=
vx_entry.o vxp_ops.o vxp_mixer.o
snd-vxp440-objs
:=
vxpocket.o vx_entry.o vxp_ops.o vxp_mixer.o
snd-vxpocket-objs
:=
vxpocket.o
snd-vxp440-objs
:=
vxp440.o
obj-$(CONFIG_SND_VXPOCKET)
+=
snd-vxpocket.o
obj-$(CONFIG_SND_VXPOCKET)
+=
snd-vxpocket.o
snd-vx-cs.o
obj-$(CONFIG_SND_VXP440)
+=
snd-vxp440.o
obj-$(CONFIG_SND_VXP440)
+=
snd-vxp440.o
snd-vx-cs.o
sound/pcmcia/vx/vx_entry.c
View file @
ae6a0c46
...
@@ -371,10 +371,6 @@ static int vxpocket_event(event_t event, int priority, event_callback_args_t *ar
...
@@ -371,10 +371,6 @@ static int vxpocket_event(event_t event, int priority, event_callback_args_t *ar
return
0
;
return
0
;
}
}
/* we link this module statically with the card modules
* due to the pcmcia symbol problems...
*/
#if 0
/*
/*
* exported stuffs
* exported stuffs
*/
*/
...
@@ -382,4 +378,3 @@ EXPORT_SYMBOL(snd_vxpocket_ops);
...
@@ -382,4 +378,3 @@ EXPORT_SYMBOL(snd_vxpocket_ops);
EXPORT_SYMBOL
(
snd_vxpocket_attach
);
EXPORT_SYMBOL
(
snd_vxpocket_attach
);
EXPORT_SYMBOL
(
snd_vxpocket_detach
);
EXPORT_SYMBOL
(
snd_vxpocket_detach
);
EXPORT_SYMBOL
(
snd_vxpocket_detach_all
);
EXPORT_SYMBOL
(
snd_vxpocket_detach_all
);
#endif
sound/pcmcia/vx/vxpocket.c
View file @
ae6a0c46
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#include <sound/core.h>
#include <sound/core.h>
#include <pcmcia/version.h>
#include <pcmcia/version.h>
#include "vxpocket.h"
#include "vxpocket.h"
#define SNDRV_GET_ID
#include <sound/initval.h>
#include <sound/initval.h>
/*
/*
...
@@ -81,7 +80,6 @@ MODULE_PARM_SYNTAX(ibl, SNDRV_ENABLED);
...
@@ -81,7 +80,6 @@ MODULE_PARM_SYNTAX(ibl, SNDRV_ENABLED);
*/
*/
#ifdef COMPILE_VXP440
#ifdef COMPILE_VXP440
static
dev_info_t
dev_info
=
"snd-vxp440"
;
/* 1 DSP, 1 sync UER, 1 sync World Clock (NIY) */
/* 1 DSP, 1 sync UER, 1 sync World Clock (NIY) */
/* SMPTE (NIY) */
/* SMPTE (NIY) */
...
@@ -92,9 +90,9 @@ static dev_info_t dev_info = "snd-vxp440";
...
@@ -92,9 +90,9 @@ static dev_info_t dev_info = "snd-vxp440";
#define NUM_CODECS 2
#define NUM_CODECS 2
#define CARD_TYPE VX_TYPE_VXP440
#define CARD_TYPE VX_TYPE_VXP440
#define DEV_INFO "snd-vxp440"
#else
#else
static
dev_info_t
dev_info
=
"snd-vxpocket"
;
/* 1 DSP, 1 sync UER */
/* 1 DSP, 1 sync UER */
/* 1 programmable clock (NIY) */
/* 1 programmable clock (NIY) */
...
@@ -104,8 +102,11 @@ static dev_info_t dev_info = "snd-vxpocket";
...
@@ -104,8 +102,11 @@ static dev_info_t dev_info = "snd-vxpocket";
#define NUM_CODECS 1
#define NUM_CODECS 1
#define CARD_TYPE VX_TYPE_VXPOCKET
#define CARD_TYPE VX_TYPE_VXPOCKET
#define DEV_INFO "snd-vxpocket"
#endif
#endif
static
dev_info_t
dev_info
=
DEV_INFO
;
static
struct
snd_vx_hardware
vxp_hw
=
{
static
struct
snd_vx_hardware
vxp_hw
=
{
.
name
=
CARD_NAME
,
.
name
=
CARD_NAME
,
...
@@ -146,28 +147,28 @@ static void vxp_detach(dev_link_t *link)
...
@@ -146,28 +147,28 @@ static void vxp_detach(dev_link_t *link)
snd_vxpocket_detach
(
&
hw_entry
,
link
);
snd_vxpocket_detach
(
&
hw_entry
,
link
);
}
}
/*
/*
* Module entry points
* Module entry points
*/
*/
static
struct
pcmcia_driver
vxp_cs_driver
=
{
.
owner
=
THIS_MODULE
,
.
drv
=
{
.
name
=
DEV_INFO
,
},
.
attach
=
vxp_attach
,
.
detach
=
vxp_detach
};
static
int
__init
init_vxpocket
(
void
)
static
int
__init
init_vxpocket
(
void
)
{
{
servinfo_t
serv
;
return
pcmcia_register_driver
(
&
vxp_cs_driver
);
CardServices
(
GetCardServicesInfo
,
&
serv
);
if
(
serv
.
Revision
!=
CS_RELEASE_CODE
)
{
printk
(
KERN_WARNING
"init_vxpocket: Card Services release does not match (%x != %x)!
\n
"
,
serv
.
Revision
,
CS_RELEASE_CODE
);
return
-
1
;
}
register_pccard_driver
(
&
dev_info
,
vxp_attach
,
vxp_detach
);
return
0
;
}
}
static
void
__exit
exit_vxpocket
(
void
)
static
void
__exit
exit_vxpocket
(
void
)
{
{
unregister_pccard_driver
(
&
dev_info
);
pcmcia_unregister_driver
(
&
vxp_cs_driver
);
snd_vxpocket_detach_all
(
&
hw_entry
);
snd_vxpocket_detach_all
(
&
hw_entry
);
}
}
module_init
(
init_vxpocket
);
module_init
(
init_vxpocket
);
...
...
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