Date: Thu, 24 Jun 2004 10:09:09 -0700 (PDT) From: Buzz Slye <buzz@gaia.arc.nasa.gov> To: freebsd-firewire@freebsd.org Subject: userland fix Message-ID: <Pine.GSO.4.58.0406241006550.7558@erast1.arc.nasa.gov>
next in thread | raw e-mail | index | archive | help
The following code may be substituted for the broken code in fwdev.c, line 325 (in the routine fw_read) to allow downloading of digital camera images. #if 1 /* XXX fixed ? */ /* per packet mode or FWACT_CH bind?*/ s = splfw(); ir->queued --; STAILQ_REMOVE_HEAD(&ir->q, link); splx(s); fp = &xfer->recv.hdr; if (sc->fc->irx_post != NULL) sc->fc->irx_post(sc->fc, fp->mode.ld); err = uiomove((caddr_t)fp, sizeof(struct fw_isohdr), uio); err = uiomove((caddr_t)xfer->recv.payload, xfer->recv.pay_len, uio); #endif Changing the receive channel, however, results in the message: fwohci0: IR DMA no free chunk Is changing channels not supported? After the above message, the code returns 0. So maybe this message is not really an error. Buzz Slye NASA/Ames
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0406241006550.7558>
