https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521
--- Comment #34 from Gary Jennejohn <gljennj...@gmail.com> --- I reimplemented rtsx_xfer_bounce() so that it's pretty much one-to-one the same as the way OpenBSD does it. But now the transfer always times out. The DMA addresses returned by the kernel all look good and are within the 32-bit range. If anyone is interested I can attach my code. It's full of ifdef's and trace output. Maybe other eyes can see what I can't. I've looked at the code so much that I may be blind to any errors. Comparing OpenBSD with the code I'm using doesn't reveal any obvious errors. The DMA setup for using bounce buffers appears to be the same and the steps preceeding the DMA transfer also seem identical. I'm at a loss to explain why DMA in FreeBSD does not work. What I haven't yet tried is to do the DMA setup like dwmmc.c does it. Guess I'll try that next. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"