Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 1997 22:35:27 -0700 (PDT)
From:      Rich Wales <richw@webcom.com>
To:        smpatel@freebsd.org, hackers@freebsd.org
Subject:   Couldn't change IRQ on Creative SB16 PnP
Message-ID:  <Pine.BSF.3.96.970822213453.268A-100000@localhost>
Resent-Message-ID: <Pine.BSF.3.95.970823122058.8261A@sujal.prognet.com>

next in thread | raw e-mail | index | archive | help
I tried to use FreeBSD-ISA_PnP_June8.tar.gz (with a 2.2.1 kernel) to
change the IRQ on my Creative SB16 PnP from 5 to 10.

I eventually got the new code to compile, and it recognized my SB16 and
seemed to go through the motions of configuring it, but the card simply
doesn't work right (kept getting "DMA timed out - IRQ/DRQ config error?"
kernel errors).

I can change the IRQ for the card in DOS (it works fine at IRQ10 under
DOS and Windows) -- but in order to do so, I have to select one of the
card's non-default configurations first (configuration 0 only allows
IRQ5).  Is it possible that this might be why the FreeBSD code couldn't
change the IRQ?

See below for the output of "pnpinfo" on my system.

BTW, I had problems getting the code to compile properly at first,
apparently because of confusion between the "pnp.h" file in i386/isa
and the "pnp.h" file in my build directory.  I eventually got it to
work by giving i386/isa/pnp.h a different name and fiddling with the
#include line in pnp.c.

Rich Wales         richw@webcom.com         http://www.webcom.com/richw/

========================================================================

Checking for Plug-n-Play devices...
Trying Read_Port at 203
Card assigned CSN #1
Board Vendor ID: CTL0028
Board Serial Number: 100a5cc1
PnP Version: 1.0
Vendor Version: 16
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
Sub-optimal 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
Sub-optimal 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
Sub-optimal 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
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
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
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 12 15 
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x100
I/O Range maximum address: 0x1f8
I/O alignment for minimum: 8
I/O length: 8
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x300
I/O Range maximum address: 0x3fe
I/O alignment for minimum: 2
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: PNPffff (ffffd041)
Device Description: Reserved
Device decodes the full 16-bit ISA address
I/O Range maximum address: 0x100
I/O Range maximum address: 0x3f8
I/O alignment for minimum: 8
I/O length: 1
Logical Device ID: CTL7001 (01708c0e)
Compatible Device ID: PNPb02f (2fb0d041)
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

========================================================================






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970822213453.268A-100000>