diff options
author | phk <phk@FreeBSD.org> | 1996-09-06 23:09:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-09-06 23:09:20 +0000 |
commit | bca885205da7f15208946f0896edc2eda3caff01 (patch) | |
tree | 35dad08bf59366e84921fd4aad9718c2f9426a1b /sys/i386/isa/pcaudio.c | |
parent | 9640e2d9e8f825813ec445d294de60884ad82bc8 (diff) | |
download | FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.zip FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.tar.gz |
Remove devconf, it never grew up to be of any use.
Diffstat (limited to 'sys/i386/isa/pcaudio.c')
-rw-r--r-- | sys/i386/isa/pcaudio.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c index 22c48c0..0b41159 100644 --- a/sys/i386/isa/pcaudio.c +++ b/sys/i386/isa/pcaudio.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcaudio.c,v 1.28 1996/06/09 14:23:13 joerg Exp $ + * $Id: pcaudio.c,v 1.29 1996/07/17 20:18:56 joerg Exp $ */ #include "pca.h" @@ -38,7 +38,6 @@ #include <sys/ioctl.h> #include <sys/file.h> #include <sys/proc.h> -#include <sys/devconf.h> #include <sys/kernel.h> #include <machine/clock.h> @@ -263,34 +262,11 @@ pcaprobe(struct isa_device *dvp) } -static struct kern_devconf kdc_pca[NPCA] = { { - 0, 0, 0, /* filled in by dev_attach */ - "pca", 0, { MDDT_ISA, 0, "tty" }, - isa_generic_externalize, 0, 0, ISA_EXTERNALLEN, - &kdc_isa0, /* parent */ - 0, /* parentdata */ - DC_UNKNOWN, /* not supported */ - "PC speaker audio driver" -} }; - - -static inline void -pca_registerdev(struct isa_device *id) -{ - if(id->id_unit) - kdc_pca[id->id_unit] = kdc_pca[0]; - kdc_pca[id->id_unit].kdc_unit = id->id_unit; - kdc_pca[id->id_unit].kdc_isa = id; - dev_attach(&kdc_pca[id->id_unit]); -} - - static int pcaattach(struct isa_device *dvp) { printf("pca%d: PC speaker audio driver\n", dvp->id_unit); pca_init(); - pca_registerdev(dvp); #ifdef DEVFS pca_devfs_token = devfs_add_devswf(&pca_cdevsw, 0, DV_CHR, 0, 0, 0600, "pcaudio"); |