From owner-freebsd-questions Fri Jun 9 22:36:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-giga.rz.uni-ulm.de [134.60.241.36]) by hub.freebsd.org (Postfix) with ESMTP id C6D0937BD16 for ; Fri, 9 Jun 2000 22:36:53 -0700 (PDT) (envelope-from siegbert.baude@gmx.de) Received: from gmx.de (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with ESMTP id HAA23067 for ; Sat, 10 Jun 2000 07:36:52 +0200 (MET DST) Message-ID: <3941D3F4.6A7DF6C0@gmx.de> Date: Sat, 10 Jun 2000 07:36:52 +0200 From: Siegbert Baude X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Assigning IRQ for PnP-Card Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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: on sbc0 joy1: at port 0x201-0x208 on isa0 unknown0: 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: 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: on sbc1 joy1: at port 0x201-0x208 on isa0 unknown0: 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: 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: on sbc1 joy1: at port 0x201-0x208 on isa0 unknown0: 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