From owner-freebsd-current Sat Apr 17 0:28:27 1999 Delivered-To: freebsd-current@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id CC31B14EA1 for ; Sat, 17 Apr 1999 00:28:22 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (Postfix) with ESMTP id 578211F69; Sat, 17 Apr 1999 15:25:56 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Brian Feldman Cc: current@FreeBSD.ORG Subject: Re: new-bus breaks both sound drivers In-reply-to: Your message of "Fri, 16 Apr 1999 22:30:43 PST." Date: Sat, 17 Apr 1999 15:25:56 +0800 From: Peter Wemm Message-Id: <19990417072558.578211F69@spinner.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Piazza wrote: > On 17-Apr-99 Brian Feldman wrote: > > Both sound drivers are broken with the new-bus code. My SB16, in the old > > driver, now gets recognized but sbxvi is never looked for. pcm0, the new > > driver, never initializes with the new code :( > > > > device pcm0 at isa? port? tty irq 5 drq 1 flags 0x16 > > > > The pcm0 sounddriver works for me. In fact, the only problem I had with new > bus was it is now pcm0 instead of pcm1 ;-). > > es0: at device 9.0 on pci0 > pcm0: using I/O space register mapping at 0xd800 > es0: interrupting at irq 4 > > device pcm0 On two different systems it works for me using pcm0.. This is an ESS clone card: Probing for PnP devices: CSN 1 Vendor ID: ESS1868 [0x68187316] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0 d041] ESS1868 (rev 11) pcm1 (ESS1868 sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 on isa This is an on-board Crystal SB-like PnP device: Probing for PnP devices: CSN 1 Vendor ID: CSC0b36 [0x360b630e] Serial 0xffffffff Comp ID: @@@0000 [0x0000 0000] mss_attach 1 at 0x530 irq 5 dma 1:0 flags 0x10 pcm1 (CS423x/Yamaha/AD1816 sn 0xffffffff) at 0x530-0x537 irq 5 drq 1 fl ags 0x10 on isa For what it's worth, PnP has for the most part not been changed under new-bus and is using the old mechanisms. The only significant risk is that the attach code doesn't like what I've done with the emulation of isa_device->id_id for "unit numbers". I'm sorry, you're going to need to have a bit of a look around and turning on or inserting some debug code to see what's happening. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message