Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 07:36:52 +0200
From:      Siegbert Baude <siegbert.baude@gmx.de>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Assigning IRQ for PnP-Card
Message-ID:  <3941D3F4.6A7DF6C0@gmx.de>

next in thread | raw e-mail | index | archive | help
Hello,
I have a problem to configure my Soundblaster AWE 64 Gold to use the IRQ
I want. It normally is on IRQ 5, but there is a legacy ISA-ethernet-card
(NE2000 compatible) in my system using IRQ 5. In all other OSs I use,
the AWE 64 is assigned to IRQ 10. My BIOS settings are: PnP aware OS:
yes; ISA Legacy Card using IRQ 5; (so the BIOS should do nothing about
PnP).
Until now I tried in my kernel configuration file the following
possibilities:

I)
device          ed0     at isa? port 0x300 irq 5 iomem 0xd8000
device          pcm
device          sbc0  
device          joy0    at isa? port 0x200

dmesg excerpt (with boot -v kernel):

ed0: not probed (disabled)
joy0 at port 0x200 on isa0
isa_probe_children: probing PnP devices
sbc0: <Creative SB AWE64 Gold> at port
0x220-0x22f,0x330-0x331,0x388-0x38b irq 5
 drq 1,5 on isa0
sbc0: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.16> on sbc0
joy1: <Generic PnP Joystick> at port 0x201-0x208 on isa0
unknown0: <WaveTable> at port 0x620-0x623 on isa0

II)
device          ed0     at isa? port 0x300 irq 5 iomem 0xd8000
device          pcm
device          sbc0    at isa? port 0x220 irq 10 drq 1 flags 0x15
device          joy0    at isa? port 0x200

dmesg excerpt (with boot -c -v kernel):
FreeBSD Kernel Configuration Utility - Version 1.2
ed0      0x300      5     0     d8000   0        0     0          No   
sbc0     0x220      10    1     0       0        0     0x15       Yes  
joy0     0x200      0     0     0       0        0     0          Yes  
config> quit
ed0: not probed (disabled)
joy0 at port 0x200 on isa0
isa_probe_children: probing PnP devices
sbc1: <Creative SB AWE64 Gold> at port
0x220-0x22f,0x330-0x331,0x388-0x38b irq 5
 drq 1,5 on isa0
sbc1: setting card to irq 5, drq 1, 5
pcm0: <SB DSP 4.16> on sbc1
joy1: <Generic PnP Joystick> at port 0x201-0x208 on isa0
unknown0: <WaveTable> at port 0x620-0x623 on isa0

III)
Same as II) but in config stage (with boot -c):
FreeBSD Kernel Configuration Utility - Version 1.2
ed0      0x300      5     0     d8000   0        0     0          No   
sbc0     0x220      10    1     0       0        0     0x15       Yes  
joy0     0x200      0     0     0       0        0     0          Yes 
config> enable ed0
config> quit
ed0 at port 0x300-0x31f iomem 0xd8000 irq 5 drq 0 on isa0
ed0: address 00:80:ad:aa:cf:92, type NE2000 (16 bit) 
joy0 at port 0x200 on isa0
sbc1: <Creative SB AWE64 Gold> at port
0x220-0x22f,0x330-0x331,0x388-0x38b irq 9
 drq 0,5 on isa0
sbc1: setting card to irq 9, drq 0, 5
pcm0: <SB DSP 4.16> on sbc1
joy1: <Generic PnP Joystick> at port 0x201-0x208 on isa0
unknown0: <WaveTable> at port 0x620-0x623 on isa0

So when in config-stage the irq is assigned correct to 10, but the
driver afterwards turns it back to irq 5 or 9. Why? BTW, sound is
working in cases I) and II), but not in III) (probably because the
driver is on DMA 0 whereas the card was initialised on DMA 1).

Any help appreciated, thanks in advance,

Siegbert

P.S.: BTW, why is the ed0 driver disabled by default?


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3941D3F4.6A7DF6C0>