Messages in this thread | | | Date | Fri, 02 Mar 2007 17:42:59 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH] libata-core: Fix simplex handling |
| |
Alan wrote: > The initial simplex handling code is fooled if you suspend and resume. > This also causes problems with some single channel controllers which > claim to be simplex. > > The fix is fairly simple, instead of keeping a flag to remember if we > gave away the simplex channel we remember the actual owner. As the owner > is always part of the host_set we don't even need a refcount. > > Knowing the owner also means we can reassign simplex DMA channels in > future hotplug code etc if we need to > > Signed-off-by: Alan Cox <alan@redhat.com> > (and a signed-off for the patch I sent before while I remember)
applied
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |