From owner-freebsd-new-bus Tue Mar 14 12:53: 8 2000 Delivered-To: freebsd-new-bus@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 5957437B6F6 for ; Tue, 14 Mar 2000 12:53:03 -0800 (PST) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (monica.cs.rpi.edu [128.213.7.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id PAA15847 for ; Tue, 14 Mar 2000 15:52:45 -0500 (EST) Message-Id: <200003142052.PAA15847@cs.rpi.edu> To: freebsd-new-bus@freebsd.org Subject: Spring Break and CardBus Date: Tue, 14 Mar 2000 15:52:44 -0500 From: "David E. Cross" Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Spring break has descended upon me, and I find myself with less overwork, enough so that I think I can finish up an alpha CardBus port in this next week. What I need is some answers to a couple of questions. The first is regarding resource allocation. Normally this is done for us by the BIOS when it walks the PCI bus is my understanding. This is, understandably, not possible with something dynamic like CardBus. What I have is a card is inserted into socket 0, it asks for 4k of memory space, and 16 bytes of IO space. I need to allocate this space out of the pool available to its parent controller (also, in some cases I need to allocate it to the parent controller in the first place). How do I do this? What about IRQ binding? As above mentioned, I sometimes need to configure the parent controller itself... in these cases I also need to assign PCI bus numbers... how do I do this? -- David Cross | email: crossd@cs.rpi.edu Acting Lab Director | NYSLP: FREEBSD Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message