From owner-freebsd-questions Fri Oct 6 15:40: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from radiant.net (radiant.net [207.194.200.18]) by hub.freebsd.org (Postfix) with ESMTP id 18C8E37B503; Fri, 6 Oct 2000 15:40:04 -0700 (PDT) Received: from shula [208.181.145.20] by radiant.net (SMTPD32-6.04) id A40CA570096; Fri, 06 Oct 2000 15:37:00 -0700 Reply-To: From: "Simon Block" To: , , , , , , , , Subject: PCI resource issues on FreeBSD Date: Fri, 6 Oct 2000 15:34:34 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: High X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear NewBus/FreeBSD Guru's, I am sending this to you after posting on all the newgroups without success, perhaps you can help: I am writing a driver for a PCI device I am having problems allocating the resources (IRQ's and memory regions) for my card. (I am using FreeBSD 4.1 STABLE). I have a driver that opens three independent PCI devices (they are all built into the one card as seperate PCI to local bus ASIC chips). My driver maps all the memory regions ok and will map the first two interrupts (using rid=0) but the mapping of the third interrupt fails. These mapping are called by the system as 3 distinct calls to the attach routine. On another platform (motherboard) we are having problems allocating the third memory region as well. Is there possibly a resource issue with IRQ's and PCI memory that would mean I cannot get another one? How much address space does BSD allocate to the PCI bus? Can I get around this somehow? How do we deal with these PCI resource issues? What are the limits? How can we modify them? Is there any documentation on this? Thanks in advance for any help. Regards, Simon Block Shula Consulting Incorporated 1-1430 Maple St Vancouver, BC V6J 3R9 Phone: 604 736 8791 Fax: 604 736 8796 Cell: 604 841 8791 Email: sblock@computer.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message