head	1.15;
access;
symbols
	RELENG_4_11_0_RELEASE:1.3.2.4
	RELENG_4_11:1.3.2.4.0.8
	RELENG_4_11_BP:1.3.2.4
	RELENG_4_10_0_RELEASE:1.3.2.4
	RELENG_4_10:1.3.2.4.0.6
	RELENG_4_10_BP:1.3.2.4
	RELENG_5_2_1_RELEASE:1.14
	RELENG_5_2_0_RELEASE:1.14
	RELENG_5_2:1.14.0.4
	RELENG_5_2_BP:1.14
	RELENG_4_9_0_RELEASE:1.3.2.4
	RELENG_4_9:1.3.2.4.0.4
	RELENG_4_9_BP:1.3.2.4
	RELENG_5_1_0_RELEASE:1.14
	RELENG_5_1:1.14.0.2
	RELENG_5_1_BP:1.14
	RELENG_4_8_0_RELEASE:1.3.2.4
	RELENG_4_8:1.3.2.4.0.2
	RELENG_4_8_BP:1.3.2.4
	RELENG_5_0_0_RELEASE:1.12
	RELENG_5_0:1.12.0.2
	RELENG_5_0_BP:1.12
	RELENG_4_7_0_RELEASE:1.3.2.3
	RELENG_4_7:1.3.2.3.0.8
	RELENG_4_7_BP:1.3.2.3
	RELENG_4_6_2_RELEASE:1.3.2.3
	RELENG_4_6_1_RELEASE:1.3.2.3
	RELENG_4_6_0_RELEASE:1.3.2.3
	RELENG_4_6:1.3.2.3.0.6
	RELENG_4_6_BP:1.3.2.3
	RELENG_4_5_0_RELEASE:1.3.2.3
	RELENG_4_5:1.3.2.3.0.4
	RELENG_4_5_BP:1.3.2.3
	RELENG_4_4_0_RELEASE:1.3.2.3
	RELENG_4_4:1.3.2.3.0.2
	RELENG_4_4_BP:1.3.2.3
	KSE_MILESTONE_2:1.11
	KSE_PRE_MILESTONE_2:1.11
	RELENG_4_3_0_RELEASE:1.3.2.2
	RELENG_4_3:1.3.2.2.0.2
	RELENG_4_3_BP:1.3.2.2
	RELENG_4_2_0_RELEASE:1.3.2.1
	RELENG_4_1_1_RELEASE:1.3.2.1
	RELENG_4:1.3.0.2
	PRE_SMPNG:1.3;
locks; strict;
comment	@# @;


1.15
date	2004.07.16.03.58.35;	author tanimura;	state dead;
branches;
next	1.14;

1.14
date	2003.02.07.14.05.34;	author nyan;	state Exp;
branches;
next	1.13;

1.13
date	2003.01.25.16.54.04;	author orion;	state Exp;
branches;
next	1.12;

1.12
date	2002.01.11.01.19.26;	author msmith;	state Exp;
branches;
next	1.11;

1.11
date	2001.06.23.17.09.38;	author cg;	state Exp;
branches;
next	1.10;

1.10
date	2001.06.07.20.16.17;	author cg;	state Exp;
branches;
next	1.9;

1.9
date	2001.04.09.12.04.44;	author cg;	state Exp;
branches;
next	1.8;

1.8
date	2001.01.06.14.00.22;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	2000.12.23.03.27.08;	author cg;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.18.06.39.01;	author green;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.18.01.36.40;	author cg;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.23.22.21.39;	author cg;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.02.23.19.47;	author cg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2000.08.29.22.00.50;	author cg;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.04.23.32.15;	author cg;	state Exp;
branches;
next	;

1.3.2.1
date	2000.09.23.19.15.09;	author cg;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2001.02.03.02.07.12;	author cg;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2001.08.01.03.41.07;	author cg;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2003.02.07.16.26.45;	author orion;	state Exp;
branches;
next	1.3.2.5;

1.3.2.5
date	2012.11.17.07.26.35;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Rename the sound device drivers:

- `sound'
  The generic sound driver, always required.

- `snd_*'
  Device-dependent drivers, named after the sound module names.
  Configure accordingly to your hardware.

In addition, rename the `snd_pcm' module to `sound' in order to sync
with the driver names.

Suggested by:	cg
@
text
@# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.14 2003/02/07 14:05:34 nyan Exp $

.PATH: ${.CURDIR}/../../../dev/sound/pcm
.PATH: ${.CURDIR}/../../../dev/sound/isa

KMOD=	snd_pcm
SRCS=	device_if.h bus_if.h isa_if.h pci_if.h
SRCS+=	ac97_if.h channel_if.h feeder_if.h mixer_if.h
SRCS+=	ac97_if.c channel_if.c feeder_if.c mixer_if.c
SRCS+=	ac97.c ac97_patch.c buffer.c channel.c dsp.c
SRCS+=	fake.c feeder.c feeder_fmt.c feeder_rate.c
SRCS+=	mixer.c sndstat.c sound.c vchan.c
SRCS+=	sndbuf_dma.c

EXPORT_SYMS=	YES	# XXX evaluate

.include <bsd.kmod.mk>
@


1.14
log
@- Clean up ISA DMA supports.
- Rename all sndbuf_isadma* functions to sndbuf_dma* and move them into
  sys/dev/sound/isa/sndbuf_dma.c.

No response from:	sound
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.13
log
@Add ac97_patch.[ch] that provide space for ac97 codec specific patches.
@
text
@d4 1
d13 1
@


1.12
log
@Turn on unconditional symbol export for modules whose API is
not clear enough, will require additional analysis, or will
require some input from their maintainers.
@
text
@d9 2
a10 2
SRCS+=	ac97.c buffer.c channel.c dsp.c fake.c
SRCS+=	feeder.c feeder_fmt.c feeder_rate.c
@


1.11
log
@add sndstat.c so module users have /dev/sndstat again
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.10 2001/06/07 20:16:17 cg Exp $
d12 2
@


1.10
log
@enable vchan building
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.9 2001/04/09 12:04:44 cg Exp $
d11 1
a11 1
SRCS+=	mixer.c sound.c vchan.c
@


1.9
log
@enable the rate conversion feeder.

the main benefit this gives for now is that via686 audio devices on
motherboards with ac97 codecs that do not support vra will be able to use
sample rates other than 48khz.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.8 2001/01/06 14:00:22 obrien Exp $
d11 1
a11 1
SRCS+=	mixer.c sound.c
@


1.8
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.7 2000/12/23 03:27:08 cg Exp $
d10 1
a10 1
SRCS+=	feeder.c feeder_fmt.c
@


1.7
log
@add sys/dev/sound/pcm/buffer.c, lefo out of last commit
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.6 2000/12/18 06:39:01 green Exp $
d3 9
a11 8
.PATH:		${.CURDIR}/../../../dev/sound/pcm
KMOD		= snd_pcm
SRCS		= device_if.h bus_if.h isa_if.h pci_if.h
SRCS		+= ac97_if.h channel_if.h feeder_if.h mixer_if.h
SRCS		+= ac97_if.c channel_if.c feeder_if.c mixer_if.c
SRCS		+= ac97.c buffer.c channel.c dsp.c fake.c
SRCS		+= feeder.c feeder_fmt.c
SRCS		+= mixer.c sound.c
@


1.6
log
@Unbreak the modules after the last commit (newpcm kobjification).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.5 2000/12/18 01:36:40 cg Exp $
d8 1
a8 1
SRCS		+= ac97.c channel.c dsp.c fake.c
@


1.5
log
@kobjify.

this gives us several benefits, including:

* easier extensibility- new optional methods can be added to
  ac97/mixer/channel classes without having to fixup every driver.

* forward compatibility for drivers, provided no new mandatory methods are
  added.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.4 2000/09/23 22:21:39 cg Exp $
d7 1
d9 1
a9 1
SRCS		+= feeder.c feeder_fmt.c feeder_rate.c
@


1.4
log
@add feeder_fmt.c
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.3 2000/09/02 23:19:47 cg Exp $
d6 1
d8 1
a8 1
SRCS		+= feeder.c feeder_fmt.c
@


1.3
log
@remove opt_devfs.h
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.2 2000/08/29 22:00:50 cg Exp $
d6 3
a8 1
SRCS		+= ac97.c channel.c dsp.c fake.c feeder.c mixer.c sound.c
@


1.3.2.1
log
@add newpcm module makefiles.  not enabled yet.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.3 2000/09/02 23:19:47 cg Exp $
d6 1
a6 3
SRCS		+= ac97.c channel.c dsp.c fake.c
SRCS		+= feeder.c
SRCS		+= mixer.c sound.c
@


1.3.2.2
log
@update sound modules for new code
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.3.2.1 2000/09/23 19:15:09 cg Exp $
d6 2
a7 4
SRCS		+= ac97_if.h channel_if.h feeder_if.h mixer_if.h
SRCS		+= ac97_if.c channel_if.c feeder_if.c mixer_if.c
SRCS		+= ac97.c buffer.c channel.c dsp.c fake.c
SRCS		+= feeder.c feeder_fmt.c
@


1.3.2.3
log
@mfc of newpcm state as at june 24.

* untypedef various structs
* rate conversion feeder
* vchan support - no automatic creation however
* many bugfixes
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.3.2.2 2001/02/03 02:07:12 cg Exp $
d9 2
a10 2
SRCS		+= feeder.c feeder_fmt.c feeder_rate.c
SRCS		+= mixer.c sndstat.c sound.c vchan.c
@


1.3.2.4
log
@MFC support for vendor specific ac97 codec patches.
@
text
@d1 1
a1 1
# $FreeBSD$
d8 2
a9 2
SRCS		+= ac97.c ac97_patch.c buffer.c channel.c dsp.c
SRCS		+= fake.c feeder.c feeder_fmt.c feeder_rate.c
@


1.3.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/sound/pcm/Makefile 110511 2003-02-07 16:26:45Z orion $
@


1.2
log
@sigh, add opt_devfs.h
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/sound/pcm/Makefile,v 1.1 2000/07/04 23:32:15 cg Exp $
d5 1
a5 1
SRCS		= device_if.h bus_if.h isa_if.h pci_if.h opt_devfs.h
@


1.1
log
@newpcm module makefiles

once built, 'kld_load snd_driver; kldunload snd_driver' will load all sound
drivers and unload all unattached ones.  attached drivers do not yet support
unloading.
@
text
@d1 1
a1 1
# $FreeBSD$
d5 1
a5 1
SRCS		= device_if.h bus_if.h isa_if.h pci_if.h
@

