Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 10:13:28 +0900 (JST)
From:      sanpei@sanpei.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        baumgart@nirvanet.net, tajima@ics.es.osaka-u.ac.jp
Subject:   kern/17349: [Patch] ESS18xx PnP Sound Card PnPid for sys/dev/sound/isa/sbc.c
Message-ID:  <200003130113.KAA05946@lavender.yy.cs.keio.ac.jp>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 12 18:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Yokohama, Japan.
>Environment:

>Description:

  baumgart <baumgart@nirvanet.net> and TAJIMA Shigeto
<tajima@ics.es.osaka-u.ac.jp> 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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003130113.KAA05946>