From owner-freebsd-hackers Wed Jan 17 12:18:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from lucifer.ninth-circle.org (lucifer.bart.nl [194.158.168.74]) by hub.freebsd.org (Postfix) with ESMTP id ECD4737B6B4 for ; Wed, 17 Jan 2001 12:18:33 -0800 (PST) Received: (from asmodai@localhost) by lucifer.ninth-circle.org (8.11.1/8.11.0) id f0HKIFg36732; Wed, 17 Jan 2001 21:18:15 +0100 (CET) (envelope-from asmodai) Date: Wed, 17 Jan 2001 21:18:15 +0100 From: Jeroen Ruigrok van der Werven To: "David E. Cross" Cc: hackers@FreeBSD.ORG Subject: Re: Device Driver Question (bus_set_resource) Message-ID: <20010117211815.A36621@lucifer.bart.nl> References: <200101171555.KAA03762@cs.rpi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101171555.KAA03762@cs.rpi.edu>; from crossd@intrepid.cs.rpi.edu on Wed, Jan 17, 2001 at 10:55:52AM -0500 Organisation: VIA Net.Works The Netherlands Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20010117 17:00], David E. Cross (crossd@intrepid.cs.rpi.edu) wrote: >Given that code, I get the following attach messages from the kernel: > >"das1400adc2: at port 0x310-0x312 irq 5 drq 1,5 on isa0" >Uhm... I set neither the IRQ nor the drq... where does it get these from, and >how can I get it to "do the right thing"? Also, If I uncomment the settings >for the additional ranges "really weird things" start to happen. An example >of 'weirdness' is that exact same code, when kldload-ed will attach a totally >different device. Look at http://people.freebsd.org/~asmodai/newbus-draft.txt and see if it remotely answers any of your questions. I am in the prospect of adding a lot of documentation to that paper, so it might be worthwhile to check back every now and then [and correct mistakes I have made]. HTH, -- Jeroen Ruigrok van der Werven VIA Net.Works The Netherlands BSD: Technical excellence at its best Network- and systemadministrator D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 Killing me is not enough to make me go away... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message