Re: busdma documentation
On Mon, 24 Feb 2003, Hiten Pandya wrote: HPHarti Brandt (Mon, Feb 24, 2003 at 11:41:57AM +0100) wrote: HP On Mon, 24 Feb 2003, Dag-Erling Smorgrav wrote: HP HP DSis there any? if so, where? HP HP Hiten Pandya was/is working on this. Last time I had a look it had not HP much moved from NetBSD towards FreeBSD. Don't know about the current HP state: HP HP [1] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.txt HP [2] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.patch HP HPI am still working on it, and the URLs provided above are old. The new HPURL to busdma documentation stuff, is: HP HP http://www.unixdaemons.com/~hiten/work/busdma/ HP HPThere are some issues I am sorting out, and you can check my progress HPwith the TODO list in the directory. It will be finished sometime this HPweek as I was busy last week with other things, like school etc. Just a comment: the alignment argument to bus_dma_tag_create is unfortunately not used in the way you describe. It is ignored, except when bus_dmamem_alloc calls contigmalloc on all architectures. And it is used if it is larger than an IOPAGE on sparc64. If you need a smaller aligment, you must either fiddle around with a larger memory allocation (if you are going to call bus_dmamem_alloc) or rely on the undocumented fact, that aligning the virtual address also aligns the physical address (for small alignments). The latter is true at least for all architectures that have no IOMMU and for sparc. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: busdma documentation
Harti Brandt (Mon, Feb 24, 2003 at 11:41:57AM +0100) wrote: On Mon, 24 Feb 2003, Dag-Erling Smorgrav wrote: DSis there any? if so, where? Hiten Pandya was/is working on this. Last time I had a look it had not much moved from NetBSD towards FreeBSD. Don't know about the current state: [1] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.txt [2] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.patch I am still working on it, and the URLs provided above are old. The new URL to busdma documentation stuff, is: http://www.unixdaemons.com/~hiten/work/busdma/ There are some issues I am sorting out, and you can check my progress with the TODO list in the directory. It will be finished sometime this week as I was busy last week with other things, like school etc. Cheers. -- Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED]) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
busdma documentation
is there any? if so, where? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: busdma documentation
Dag-Erling Smorgrav wrote: is there any? if so, where? Me too. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: busdma documentation
On Mon, 24 Feb 2003, Dag-Erling Smorgrav wrote: DSis there any? if so, where? Hiten Pandya was/is working on this. Last time I had a look it had not much moved from NetBSD towards FreeBSD. Don't know about the current state: [1] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.txt [2] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.patch harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
busdma documentation
Hi all, is there any documentation on the FreeBSD-busdma stuff? FreeBSD seems differ substantially from NetBSD in this regard. As far as I understand FreeBSD uses an older version. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: busdma documentation
On Mon, Dec 16, 2002 at 01:12:33PM +0100, Harti Brandt wrote the words in effect of: Hi all, is there any documentation on the FreeBSD-busdma stuff? FreeBSD seems differ substantially from NetBSD in this regard. As far as I understand FreeBSD uses an older version. Hello Harti, I recentley started writing a bus_dma manual page, and also adding bits from the NetBSD manual page. You can view a copy which gets updated about every day or two: [1] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.txt [2] http://www.unixdaemons.com/~hiten/work/misc/bus_dma.9.patch Yes, FreeBSD does use an old version of bus_dma, but things are being ported as needed AFAIK. For example, it would be good to have the BUS_SPACE_DEBUG functionality ported to our bus_space/dma implementation -- I am working on this at the moment; and also the naming o some flags, like BUS_DMAMEM_NOSYNC, which is BUS_DMA_COHERENT on NetBSD. I was gonna compose a mail to Warner about this, but now its being asked on a list, I am letting it out. :) There is also stuff about bounce thresholds, and the nature of DMA transfers (i.e. BUS_DMA_READ/WRITE) which needs to be ported. Once step at a time, and hopefully I will have all this done. If I get enough time after this, I will be doing an article on bus_dma, but not sure yet. NOTE: The above copy is work in progress -- the man page conversion should be finished hopefully by end of this week. Cheers. -- Hiten Pandya ([EMAIL PROTECTED], [EMAIL PROTECTED]) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message