From sanpei@sanpei.org Sun Mar 12 18:44:11 2000 Return-Path: Received: from oxygen.yy.ics.keio.ac.jp (oxygen.yy.ics.keio.ac.jp [131.113.47.3]) by hub.freebsd.org (Postfix) with ESMTP id B638837B605 for ; Sun, 12 Mar 2000 18:43:43 -0800 (PST) (envelope-from sanpei@sanpei.org) Received: from lavender.yy.cs.keio.ac.jp (lavender.yy.ics.keio.ac.jp [131.113.47.22]) by oxygen.yy.ics.keio.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id LAA19446; Mon, 13 Mar 2000 11:36:47 +0900 (JST) (envelope-from sanpei@sanpei.org) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id KAA05946; Mon, 13 Mar 2000 10:13:28 +0900 (JST) Message-Id: <200003130113.KAA05946@lavender.yy.cs.keio.ac.jp> Date: Mon, 13 Mar 2000 10:13:28 +0900 (JST) From: sanpei@sanpei.org Reply-To: sanpei@sanpei.org To: FreeBSD-gnats-submit@freebsd.org Cc: baumgart@nirvanet.net, tajima@ics.es.osaka-u.ac.jp Subject: [Patch] ESS18xx PnP Sound Card PnPid for sys/dev/sound/isa/sbc.c X-Send-Pr-Version: 3.2 >Number: 17349 >Category: kern >Synopsis: [Patch] ESS18xx PnP Sound Card PnPid for sys/dev/sound/isa/sbc.c >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 12 18:50:01 PST 2000 >Closed-Date: Mon May 29 00:44:24 PDT 2000 >Last-Modified: Mon May 29 00:44:43 PDT 2000 >Originator: MIHIRA Yoshiro >Release: FreeBSD 4.0-CURRENT i386 >Organization: Yokohama, Japan. >Environment: >Description: baumgart and TAJIMA Shigeto have yet another ESS1869 PnP Sound Card. Vendor ID ESS0003 (0x03007316), Serial Number 0xffffffff And if we add above PnPid to sys/dev/sound/isa/sbc.c, we can use this sound card under 4-current. I hope to add this PnPid. Thank you. >How-To-Repeat: # /usr/sbin/pnpinfo Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID ESS0003 (0x03007316), Serial Number 0xffffffff PnP Version 1.0, Vendor Version 16 Device Description: ESS ES1869 Plug and Play AudioDrive Logical Device ID: ESS0006 0x06007316 #0 I/O Range 0x800 .. 0xff8, alignment 0x8, len 0x8 [16-bit addr] Logical Device ID: ESS1869 0x69187316 #1 TAG Start DF Good Configuration DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 0 3 8-bit, not a bus master, count by byte, , Compatibility mode IRQ: 5 - only one type (true/edge) I/O Range 0x220 .. 0x220, alignment 0x0, len 0x10 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x0, len 0x4 [16-bit addr] I/O Range 0x330 .. 0x330, alignment 0x0, len 0x2 [16-bit addr] TAG Start DF Acceptable Configuration DMA: channel(s) 1 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 0 3 8-bit, not a bus master, count by byte, , Compatibility mode IRQ: 5 7 9 10 - only one type (true/edge) I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x0, len 0x4 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Acceptable Configuration DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode IRQ: 5 7 9 10 11 12 - only one type (true/edge) I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x0, len 0x4 [16-bit addr] I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2 [16-bit addr] TAG Start DF Acceptable Configuration DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode IRQ: 5 7 9 10 11 12 - only one type (true/edge) I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x388 .. 0x388, alignment 0x0, len 0x4 [16-bit addr] I/O Range 0x800 .. 0xffe, alignment 0x2, len 0x2 [16-bit addr] TAG Start DF Sub-optimal Configuration DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode DMA: channel(s) 0 1 3 8-bit, not a bus master, count by byte, , Compatibility mode IRQ: 5 7 9 10 11 12 - only one type (true/edge) I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10 [16-bit addr] I/O Range 0x800 .. 0xffc, alignment 0x4, len 0x4 [16-bit addr] I/O Range 0x800 .. 0xffe, alignment 0x2, len 0x2 [16-bit addr] TAG End DF Logical Device ID: ESS0001 0x01007316 #2 TAG Start DF Good Configuration I/O Range 0x201 .. 0x201, alignment 0x0, len 0x1 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x200 .. 0x20f, alignment 0x1, len 0x1 [16-bit addr] TAG End DF Compatible Device ID: PNPb02f (2fb0d041) End Tag Successfully got 48 resources, 3 logical fdevs -- card select # 0x0001 CSN ESS0003 (0x03007316), Serial Number 0xffffffff Logical device #0 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 Logical device #1 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 Logical device #2 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x00 >Fix: --- /sys/dev/sound/isa/sbc.c Sat Feb 5 11:46:25 2000 +++ /tmp/sbc.c Sun Mar 12 23:30:26 2000 @@ -208,6 +208,7 @@ {0x02017316, "ESS ES1688"}, /* ESS1688 */ {0x68187316, "ESS ES1868"}, /* ESS1868 */ {0x69187316, "ESS ES1869"}, /* ESS1869 */ + {0x03007316, "ESS ES1869"}, /* ESS1869 */ {0xacb0110e, "ESS ES1869 (Compaq OEM)"}, /* CPQb0ac */ {0x78187316, "ESS ES1878"}, /* ESS1878 */ {0x79187316, "ESS ES1879"}, /* ESS1879 */ >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: kuriyama State-Changed-When: Mon May 29 00:44:24 PDT 2000 State-Changed-Why: Committed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=17349 >Unformatted: