From owner-freebsd-current Thu Nov 6 16:50:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA25927 for current-outgoing; Thu, 6 Nov 1997 16:50:12 -0800 (PST) (envelope-from owner-freebsd-current) Received: from ap3.gluk.apc.org (root@ap3.gluk.apc.org [194.183.183.213]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA25871 for ; Thu, 6 Nov 1997 16:49:56 -0800 (PST) (envelope-from kushnir@ap3.gluk.apc.org) Received: from localhost (kushnir@localhost) by ap3.gluk.apc.org (8.8.5/8.8.5) with SMTP id DAA02599; Fri, 7 Nov 1997 03:33:23 +0200 Date: Fri, 7 Nov 1997 03:33:23 +0200 (EET) From: Vladimir Kushnir To: Luigi Rizzo cc: freebsd-current@FreeBSD.ORG Subject: Re: attach_mss for full duplex: possible misspelling? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 6 Nov 1997, Luigi Rizzo wrote: > > ... > > hw_config->dma, > > hw_config->dma2, > > ... instead? At least, this way it initializes my card (CS4231 based > > Yamaha OPL3 PnP duplex card) correctly. > > of course you can try, but the AD1848 and some clones have only 1 DMA > channel, and I believe the code is not enough informed to know which > card it is attaching. > > BTW the Yamaha as far as I know is not based on the CS4231 -- it uses a > proprietary chip which _emulates_ some features of the CS423x but has > some differences (e.g. a master volume control using separate > registers). > > Cheers > Luigi Sure, it can be different chip, but it _is_ recognized by the kernel as CS4231, and it does have 2 dma channels. Here's what /dev/sndstat gives: <....> Card config: MS Sound System at 0x530 irq 9 drq 1,3 OPL-2/OPL-3 FM at 0x388 irq 1 Roland MPU-401 at 0x330 irq 1 Audio devices: 0: MS Sound System0 (CS4231) (DUPLEX) <....> More, without this (with the original ad1848.c), it's initialized with dma 1,1, and it shows up as impossibility to record. Regards Vladimir