Date: Mon, 20 Jan 1997 06:23:29 -0500 (EST) From: Peter Dufault <dufault@hda.com> To: julian@freefall.freebsd.org (Julian Elischer) Cc: hackers@freefall.freebsd.org Subject: Re: Would like to us a BIT in buf.h Message-ID: <199701201123.GAA20525@hda.hda.com> In-Reply-To: <199701200414.UAA09566@freefall.freebsd.org> from Julian Elischer at "Jan 19, 97 08:14:20 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I would like to get a bit in the buf b_flags lword. > > however it's full :( > > If I could get it I would like to call this bit B_UIO. > > the setting of this bit would indicate to some drivers > that the (initially b_driver2 field but eventually b_addr) field > points to a UIO struct that details the physical > scatter/gather (page) segments of the io requested, rather than > a kv mapping of said space. Isn't this a bus mapping issue? Based on the device being talked to you have a different bus resource you have to set up in physio. You could be allocating mapping registers, or setting up bounce buffers, etc., and you can't have a bit for each flavor. You also have to free this resource when done. I don't see why anyone outside of bus setup / driver entry / bus free should poke around in the raw transfers buffers. Peter -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701201123.GAA20525>