Date: Fri, 19 May 2000 09:12:30 +0200 From: Alexander Langer <alex@big.endian.de> To: "Matthew N. Dodd" <winter@jurai.net> Cc: doc@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: request for review: bus_alloc_resource(9) Message-ID: <20000519091230.C2729@cichlids.cichlids.com> In-Reply-To: <Pine.BSF.4.21.0005181732310.1136-100000@sasami.jurai.net>; from winter@jurai.net on Thu, May 18, 2000 at 05:42:43PM -0400 References: <20000518223846.A16098@cichlids.cichlids.com> <Pine.BSF.4.21.0005181732310.1136-100000@sasami.jurai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Matthew N. Dodd (winter@jurai.net): > is just a range; start and length, and a type. The 'rid' has nothing to > do with offsets into a memory/port resource. Hmm. When I wrote Doug Rabson about newbus months ago, he gave me that part of code: rid = 0x10; /* offset of pci mapping register - check your docs */ res = bus_alloc_resource(dev, SYS_RES_IOPORTS, &rid, 0, ~0, 1, RF_ACTIVE); st = rman_get_bustag(res); sh = rman_get_bushandle(res); This "offset of the pci mapping register" is quite confusing for me then. Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000519091230.C2729>