From nobody  Thu Jan 22 19:38:39 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id TAA21347;
          Thu, 22 Jan 1998 19:38:39 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199801230338.TAA21347@hub.freebsd.org>
Date: Thu, 22 Jan 1998 19:38:39 -0800 (PST)
From: mcdouga9@cartman.egr.msu.edu
To: freebsd-gnats-submit@freebsd.org
Subject: 3.0-current doesnt probe a pci card that gets probed fine in 2.2.5-release
X-Send-Pr-Version: www-1.0

>Number:         5550
>Category:       kern
>Synopsis:       3.0-current doesnt probe a pci card that gets probed fine in 2.2.5-release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 19:40:00 PST 1998
>Closed-Date:    Sun Feb 1 19:41:34 PST 1998
>Last-Modified:  Sun Feb  1 19:42:30 PST 1998
>Originator:     Adam McDougall
>Release:        3.0-current
>Organization:
>Environment:
FreeBSD bsdx.dyn.ml.org 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Thu Jan 22 01:19:02 EST 1998     user1@bsdx.dyn.ml.org:/usr/src/sys/compile/BSDXKRNL  i386

>Description:
I have an Ensoniq AudioPCI card that is not detected by the pci probe under 3.0-current but is probed under 2.2.5-release.  I know that OSS has support for my particular code but I think it is not functioning correctly because the card is not being found by the pci probe.  When I try to use sound devices under OSS, it locks up my computer.
My motherboard is an Mtech Mustang R534F with a SiS5571 chipset.

hand written kernel messages from a 2.2.5 probe:
chip0 <generic PCI bridge (vendor=1039 device=1039 SubClass=0)> rev 0 on pci:0:0
chip1 <SiS 85c503> rev 1 on pci0:1:0
pci0:1:1: Silicon Integrated Systems, device=0x5513, class=storage (ide) int a irq 14 [no driver assigned]
pci0:1:2: Silicon Integrated Systems, device=0x7001, class=0x0c, subclass=0x03, int a irq ?? [no driver assigned]
vga0 <VGA-compatible display device> rev 2 int a irq 11 on pci0:11
pci0:15: vendor=0x1274, device=0x5000 class=multimedia (audio) int a irq 12 [no driver assigned]

related section from 3.0-current's probe:
chip0: <Host to PCI bridge (vendor=1039 device=5571)> rev 0x00 on pci0.0.0
chip1: <SiS 85c503> rev 0x01 on pci0.1.0
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0xc0 int a irq 14 on pci0.1.1
vga0: <Matrox MGA 1024SG graphics accelerator> rev 0x02 int a irq 11 on pci0.11.0

I tried changing slots, nothing helped. 

>How-To-Repeat:
put AudioPCI card in a computer. Boot 2.2.5, its probed. boot 3.0, its not.

>Fix:

>Release-Note:
>Audit-Trail:

From: Stefan Esser <se@FreeBSD.ORG>
To: mcdouga9@cartman.egr.msu.edu
Cc: freebsd-gnats-submit@freebsd.org, Stefan Esser <se@freebsd.org>
Subject: Re: kern/5550: 3.0-current doesnt probe a pci card that gets probed fine in 2.2.5-release
Date: Fri, 23 Jan 1998 23:41:35 +0100

 On 1998-01-22 19:38 -0800, mcdouga9@cartman.egr.msu.edu wrote:
 > >Description:
 > I have an Ensoniq AudioPCI card that is not detected by the pci probe under 3.0-current but is probed under 2.2.5-release.  I know that OSS has support for my particular code but I think it is not functioning correctly because the card is not being fou nd by the pci probe.  When I try to use sound devices under OSS, it locks up my computer.
 > My motherboard is an Mtech Mustang R534F with a SiS5571 chipset.
 > 
 > hand written kernel messages from a 2.2.5 probe:
 > pci0:15: vendor=0x1274, device=0x5000 class=multimedia (audio) int a irq 12 [no driver assigned]
 > 
 > related section from 3.0-current's probe:
 > chip0: <Host to PCI bridge (vendor=1039 device=5571)> rev 0x00 on pci0.0.0
 > chip1: <SiS 85c503> rev 0x01 on pci0.1.0
 > ide_pci0: <PCI IDE controller (busmaster capable)> rev 0xc0 int a irq 14 on pci0.1.1
 > vga0: <Matrox MGA 1024SG graphics accelerator> rev 0x02 int a irq 11 on pci0.11.0
 > 
 > I tried changing slots, nothing helped. 
 
 Could you please enter "-v" at the "Boot: " prompt 
 and send me the boot message log ?
 
 I guess the card is still found, but just not shown,
 since no PCI driver exists for it.
 
 Regards, STefan

From: Adam McDougall <mcdouga9@cartman.egr.msu.edu>
To: Stefan Esser <se@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/5550: 3.0-current doesnt probe a pci card that gets probed fine in 2.2.5-release
Date: Mon, 26 Jan 1998 03:19:03 -0500 (EST)

 yes, you are correct, it is found when I do Boot: -v
 Jan 23 21:41:14 bsdx /kernel: found->   vendor=0x1039, dev=0x7001,
 revid=0xb0
 Jan 23 21:41:14 bsdx /kernel:   class=0c-03-10, hdrtype=0x00, mfdev=1
 Jan 23 21:41:14 bsdx /kernel:   intpin=a, irq=0
 Jan 23 21:41:14 bsdx /kernel: found->   vendor=0x1274, dev=0x5000,
 revid=0x00
 Jan 23 21:41:14 bsdx /kernel:   class=04-01-00, hdrtype=0x00, mfdev=0
 Jan 23 21:41:14 bsdx /kernel:   intpin=a, irq=11   
 
 the 1274 one is the sound card.
 
 On Fri, 23 Jan 1998, Stefan Esser wrote:
 
 > On 1998-01-22 19:38 -0800, mcdouga9@cartman.egr.msu.edu wrote:
 > > >Description:
 > > I have an Ensoniq AudioPCI card that is not detected by the pci probe under 3.0-current but is probed under 2.2.5-release.  I know that OSS has support for my particular code but I think it is not functioning correctly because the card is not being f ound by the pci probe.  When I try to use sound devices under OSS, it locks up my computer.
 > > My motherboard is an Mtech Mustang R534F with a SiS5571 chipset.
 > > 
 > > hand written kernel messages from a 2.2.5 probe:
 > > pci0:15: vendor=0x1274, device=0x5000 class=multimedia (audio) int a irq 12 [no driver assigned]
 > > 
 > > related section from 3.0-current's probe:
 > > chip0: <Host to PCI bridge (vendor=1039 device=5571)> rev 0x00 on pci0.0.0
 > > chip1: <SiS 85c503> rev 0x01 on pci0.1.0
 > > ide_pci0: <PCI IDE controller (busmaster capable)> rev 0xc0 int a irq 14 on pci0.1.1
 > > vga0: <Matrox MGA 1024SG graphics accelerator> rev 0x02 int a irq 11 on pci0.11.0
 > > 
 > > I tried changing slots, nothing helped. 
 > 
 > Could you please enter "-v" at the "Boot: " prompt 
 > and send me the boot message log ?
 > 
 > I guess the card is still found, but just not shown,
 > since no PCI driver exists for it.
 > 
 > Regards, STefan
 > 
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Feb 1 19:41:34 PST 1998 
State-Changed-Why:  
The card is indeed probed just not configured as no driver is present 
as of yet. 
>Unformatted:
