Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 1997 17:01:58 -0600 (MDT)
From:      gnat@frii.com
To:        hackers@freebsd.org
Cc:        smpatel@freebsd.org
Subject:   Plug and Play: Soundblaster 16
Message-ID:  <199705072301.RAA01387@elara.frii.com>

next in thread | raw e-mail | index | archive | help
I have an SMC8416 and a SoundBlaster 16, both PnP.  I'm trying to use
the June8 pnp snapshot in my 2.1.7.1 kernel.  I've gotten the SMC
working, but now I'm struggling with the SB16.  Following are my
pnpinfo output, pnp.c configuration, kernel configuration, and
messages from startup.  Any help you can give is greatly appreciated.
Thanks,

Nat

*** BEGIN pnpinfo output
Checking for Plug-n-Play devices...
Trying Read_Port at 203
Trying Read_Port at 243
Card assigned CSN #1
Board Vendor ID: SMC8416
Board Serial Number: bb8827c1
PnP Version: 1.0
Vendor Version: 16
Device Description: SMC EtherEZ (8416)
Logical Device ID: SMC8416 (1684a34d)
Device powers up active
Device supports I/O Range Check
IRQ: 3 5 7 8 9 10 11 
IRQ: High true edge sensitive
Device does not decode the full 16-bit ISA address
I/O Range maximum address: 0x240
I/O Range maximum address: 0x3e0
I/O alignment for minimum: 32
I/O length: 32
Memory Range: Writeable
Memory Range: Non-cacheable
Memory Range: Decode supports range length
Memory Range: 8-bit and 16-bit memory supported
Memory Range: Memory is not shadowable
Memory Range: Memory is not an expansion ROM
Memory range minimum address: 0xc0000
Memory range maximum address: 0xfe000
Memory range base alignment: 0x2000
Memory range length: 0x2000
End Tag

Card assigned CSN #2
Board Vendor ID: CTL0024
Board Serial Number: 10adad72
PnP Version: 1.0
Vendor Version: 48
Device Description: Creative SB16 PnP
Logical Device ID: CTL0031 (31008c0e)
Device Description: Audio
Start Dependent Function
Good Configuration
IRQ: 5 
DMA: 0 1 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
DMA: 5 
DMA: 16-bit only
DMA: Device is not a bus master
DMA: May not execute in count by byte mode
DMA: May execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x220
I/O alignment for minimum: 1
I/O length: 16
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x330
I/O Range maximum address: 0x330
I/O alignment for minimum: 1
I/O length: 2
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x388
I/O Range maximum address: 0x388
I/O alignment for minimum: 1
I/O length: 4
Start Dependent Function
Acceptable Configuration
IRQ: 5 7 10 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
DMA: 5 6 7 
DMA: 16-bit only
DMA: Device is not a bus master
DMA: May not execute in count by byte mode
DMA: May execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x300
I/O Range maximum address: 0x330
I/O alignment for minimum: 48
I/O length: 2
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x388
I/O Range maximum address: 0x388
I/O alignment for minimum: 1
I/O length: 4
Start Dependent Function
Acceptable Configuration
IRQ: 5 7 10 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
DMA: 5 6 7 
DMA: 16-bit only
DMA: Device is not a bus master
DMA: May not execute in count by byte mode
DMA: May execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x300
I/O Range maximum address: 0x330
I/O alignment for minimum: 48
I/O length: 2
Start Dependent Function
Acceptable Configuration
IRQ: 5 7 10 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
DMA: 5 6 7 
DMA: 16-bit only
DMA: Device is not a bus master
DMA: May not execute in count by byte mode
DMA: May execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Start Dependent Function
Acceptable Configuration
IRQ: 5 7 10 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x300
I/O Range maximum address: 0x330
I/O alignment for minimum: 48
I/O length: 2
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x388
I/O Range maximum address: 0x388
I/O alignment for minimum: 1
I/O length: 4
Start Dependent Function
Acceptable Configuration
IRQ: 5 7 10 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x300
I/O Range maximum address: 0x330
I/O alignment for minimum: 48
I/O length: 2
Start Dependent Function
Acceptable Configuration
IRQ: 5 7 10 11 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Start Dependent Function
Sub-optimal Configuration
IRQ: 5 7 10 11 
DMA: 0 1 3 
DMA: 8-bit only
DMA: Device is not a bus master
DMA: May execute in count by byte mode
DMA: May not execute in count by word mode
DMA: Compatibility mode
DMA: 5 6 7 
DMA: 16-bit only
DMA: Device is not a bus master
DMA: May not execute in count by byte mode
DMA: May execute in count by word mode
DMA: Compatibility mode
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x220
I/O Range maximum address: 0x280
I/O alignment for minimum: 32
I/O length: 16
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x300
I/O Range maximum address: 0x330
I/O alignment for minimum: 16
I/O length: 2
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x388
I/O Range maximum address: 0x394
I/O alignment for minimum: 4
I/O length: 4
End Dependent Function
Logical Device ID: CTL2011 (11208c0e)
Compatible Device ID: PNP0600 (0006d041)
Device Description: IDE
Start Dependent Function
Good Configuration
IRQ: 10 
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x168
I/O Range maximum address: 0x168
I/O alignment for minimum: 1
I/O length: 8
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x36e
I/O Range maximum address: 0x36e
I/O alignment for minimum: 1
I/O length: 2
Start Dependent Function
Acceptable Configuration
IRQ: 11 
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x1e8
I/O Range maximum address: 0x1e8
I/O alignment for minimum: 1
I/O length: 8
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x3ee
I/O Range maximum address: 0x3ee
I/O alignment for minimum: 1
I/O length: 2
Start Dependent Function
Acceptable Configuration
IRQ: 10 11 15 
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x180
I/O Range maximum address: 0x1b8
I/O alignment for minimum: 8
I/O length: 8
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x306
I/O Range maximum address: 0x33e
I/O alignment for minimum: 8
I/O length: 2
Start Dependent Function
Sub-optimal Configuration
IRQ: 15 
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x170
I/O Range maximum address: 0x170
I/O alignment for minimum: 1
I/O length: 8
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x376
I/O Range maximum address: 0x376
I/O alignment for minimum: 1
I/O length: 1
End Dependent Function
Logical Device ID: CTL7fff (ff7f8c0e)
Device Description: Reserved
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x140
I/O Range maximum address: 0x178
I/O alignment for minimum: 8
I/O length: 1
Logical Device ID: CTL7001 (01708c0e)
Device Description: Game
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x200
I/O Range maximum address: 0x200
I/O alignment for minimum: 1
I/O length: 8
End Tag

*** END pnpinfo output

*** BEGIN pnp.c configuration

static struct cinfo cinfo[] = 
{
        /* Configuration for the SMC EtherEZ */
        {
                0xbb8827c1,             /* Serial Number */
                         0,             /* Logical Device Number */
                {
                        {  11, 2 },     /* Primary IRQ Number, Type */
                        {  10, 2 }      /* Second  IRQ Number, Type */
                },
                { -1, -1 },             /* DRQ Number */
                {
                        0x280,          /* Ports 1 */
                           -1,          /* Ports 2 */
                           -1,          /* Ports 3 */
                           -1,          /* Ports 4 */
                           -1,          /* Ports 5 */
                           -1,          /* Ports 6 */
                           -1,          /* Ports 7 */
                           -1,          /* Ports 8 */
                },
                {
                        { 0xc0000, 0, 0x2000 }, /* Memory desc0 - base, ctrl, range */
                        { -1, -1, -1 }, /* Memory desc1 - base, ctrl, range */
                        { -1, -1, -1 }, /* Memory desc2 - base, ctrl, range */
                        { -1, -1, -1 }  /* Memory desc3 - base, ctrl, range */ 
                }
        },
/* Configuration for the SoundBlaster 16 PnP */
        {
          0x10adad72,             /* Serial Number */
                   1,             /* Logical Device Number */
          {
            {  5, -1 },     /* Primary IRQ Number, Type */
            { -1, -1 }      /* Second  IRQ Number, Type */
          },
          { 1, 5 },               /* DRQ Number */
          {
            0x220,          /* Ports 1 */
            0x330,          /* Ports 2 */
            0x388,          /* Ports 3 */
            -1,          /* Ports 4 */
            -1,          /* Ports 5 */
            -1,          /* Ports 6 */
            -1,          /* Ports 7 */
            -1,          /* Ports 8 */
          },
          {
            { -1, -1, -1 }, /* Memory desc0 - base, ctrl, range */
            { -1, -1, -1 }, /* Memory desc1 - base, ctrl, range */
            { -1, -1, -1 }, /* Memory desc2 - base, ctrl, range */
            { -1, -1, -1 }  /* Memory desc3 - base, ctrl, range */ 
          }
        }
};

*** END pnp.c configuration

*** BEGIN kernel configuration

device ed0 at isa? port 0x280 net irq 11 iomem 0xd8000 vector edintr

controller      pnp0

controller      snd0
device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
device sbxvi0   at isa? drq5
device sbmidi0  at isa? port 0x330

*** END kernel configuration

*** BEGIN /var/log/messages excerpt

May  7 17:05:42 prometheus /kernel: Checking for Plug-n-Play devices...
May  7 17:05:42 prometheus /kernel: Card assigned CSN #1
May  7 17:05:42 prometheus /kernel: Board Vendor ID: SMC8416     Board Serial Number: bb8827c1
May  7 17:05:42 prometheus /kernel:     Configuring (Logical Device 0)
May  7 17:05:42 prometheus /kernel: Card assigned CSN #2
May  7 17:05:42 prometheus /kernel: Board Vendor ID: CTL0024     Board Serial Number: 10adad72
May  7 17:05:42 prometheus /kernel:     Configuring (Logical Device 1)
May  7 17:05:43 prometheus /kernel: Probing for devices on the ISA bus:
May  7 17:05:43 prometheus /kernel: ed0 at 0x280-0x29f irq 11 maddr 0xd8000 msize 8192 on isa
May  7 17:05:43 prometheus /kernel: ed0: address 00:00:c0:27:88:bb, type SMC8416T (16 bit) 
May  7 17:05:45 prometheus /kernel: sb0 not found at 0x220
May  7 17:05:45 prometheus /kernel: sbxvi0 not found
May  7 17:05:45 prometheus /kernel: sbmidi0 not found at 0x330

*** END /var/log/messages excerpt



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