Date: Wed, 17 Jan 2001 21:18:15 +0100 From: Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> To: "David E. Cross" <crossd@intrepid.cs.rpi.edu> Cc: hackers@FreeBSD.ORG Subject: Re: Device Driver Question (bus_set_resource) Message-ID: <20010117211815.A36621@lucifer.bart.nl> In-Reply-To: <200101171555.KAA03762@cs.rpi.edu>; from crossd@intrepid.cs.rpi.edu on Wed, Jan 17, 2001 at 10:55:52AM -0500 References: <200101171555.KAA03762@cs.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
-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: <CIO-DAS1400-ADC> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010117211815.A36621>