On Sun, Nov 24, 2013 at 07:29:25PM +0100, Edgar Fuß wrote: > > You shouln't bus_dmamap_unload() before stopping the IOC. > Thanks. > > Well, in my case, it's not going to matter because I will, on timeout, > restart the IOC anyway. > But if I could get away without restarting the IOC, what am I supposed to do? > I can't know whether the IOC thinks its still processing the command, can I?
No you can't. that's why you have to reset it. Otherwise, the command descriptor you're going to free may be used by something else, and the IOC may either read nonsense from it, or corrupt existing data here. > Can I instruct the IOC to stop processing this particular command? AFAIK no. -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
