From owner-freebsd-bugs Tue Oct 6 10:10:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA28349 for freebsd-bugs-outgoing; Tue, 6 Oct 1998 10:10:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA28340 for ; Tue, 6 Oct 1998 10:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA11943; Tue, 6 Oct 1998 10:10:02 -0700 (PDT) Received: from mail.kt.rim.or.jp (mail.kt.rim.or.jp [202.247.130.53]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27509 for ; Tue, 6 Oct 1998 10:03:33 -0700 (PDT) (envelope-from yoshiaki@kt.rim.or.jp) Received: from singer.kt.rim.or.jp (ppp391.kt.rim.or.jp [202.247.140.91]) by mail.kt.rim.or.jp (8.8.5/3.6W-RIMNET-98-06-09) with ESMTP id CAA01026 for ; Wed, 7 Oct 1998 02:03:21 +0900 (JST) Received: (from yoshiaki@localhost) by singer.kt.rim.or.jp (8.9.1/3.4Wbeta3-96070610) id BAA00647; Wed, 7 Oct 1998 01:39:33 +0900 (JST) Message-Id: <199810061639.BAA00647@singer.kt.rim.or.jp> Date: Wed, 7 Oct 1998 01:39:33 +0900 (JST) From: yoshiaki@kt.rim.or.jp Reply-To: yoshiaki@kt.rim.or.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/8169: sound driver (pcm : Luigi's driver) YMF-719 probrem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8169 >Category: kern >Synopsis: probe fail PnP sound card (YMF-719 base board) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 6 10:10:01 PDT 1998 >Last-Modified: >Originator: Yoshiaki Uchikawa >Organization: Rimnet >Release: FreeBSD 3.0-BETA i386 >Environment: Mainboad Tekram P6F40-B5 Bios revision 1.2 FreeBSD 3.0-BETA #0: Wed Oct 7 01:11:19 JST 1998 CPU: Pentium Pro (232.67-MHz 686-class CPU) real memory = 100663296 (98304K bytes) avail memory = 95350784 (93116K bytes) vga0: rev 0x10 int a irq 9 on pci0.9.0 ncr0: rev 0x03 int a irq 11 on pci0.11.0 bktr0: rev 0x12 int a irq 15 on pci0.13.0 Miro TV, Temic NTSC tuner. mss_attach 1 at 0x530 irq 5 dma 0:1 flags 0x11 da0: Fixed Direct Access SCSI2 device da1: Fixed Direct Access SCSI2 device >Description: I use YMF-719 base sound card. This card was failed mss_attach by PnP configure. In /var/log/messages Oct 6 07:15:36 singer /kernel: CSN 1 Vendor ID: YMH0800 [0x0008a865] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041] Oct 6 07:15:36 singer /kernel: mss_attach 1 at 0x21c irq 5 dma 0:1 flags 0x11 ^^^^^ Oct 6 07:15:36 singer /kernel: pcm1 (CS423x/Yamaha sn 0xffffffff) at 0x21c-0x223 irq 5 drq 0 flags 0x11 on isa ^^^^^^^^^^^ >How-To-Repeat: In UserConfig Config> pnp 1 0 enable bios >Fix: This is simple mistake. "vend_id" is law ID. "id" was masked by 0xff00ffff . So... it is easy to confuse. --- ad1848.c.orig Wed Oct 7 01:04:07 1998 +++ ad1848.c Wed Oct 7 01:22:34 1998 @@ -1412,7 +1412,7 @@ s = "Yamaha SA2"; else if ( id == 0x3000a865) s = "Yamaha SA3"; - else if (vend_id == 0x0000a865) + else if (vend_id == 0x0008a865) s = "Yamaha YMF719 OPL-SA3"; else if (vend_id == 0x8140d315) s = "SoundscapeVIVO"; @@ -1467,7 +1467,7 @@ case 0x2000a865: /* Yamaha SA2 */ case 0x3000a865: /* Yamaha SA3 */ - case 0x0000a865: /* Yamaha TMF719 SA3 */ + case 0x0000a865: /* Yamaha YMF719 SA3 */ dev->id_iobase = d.port[1]; tmp_d.alt_base = d.port[0]; tmp_d.conf_base = d.port[4]; ----- yoshiaki@kt.rim.or.jp yoshiaki@jp.freebsd.org Yoshiaki UCHIKAWA >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message