Messages in this thread | | | Date | Mon, 25 Sep 2006 11:29:38 -0700 | From | Mike Anderson <> | Subject | Re: [PATCH] fix idiocy in asd_init_lseq_mdp() |
| |
James Bottomley <James.Bottomley@SteelEye.com> wrote: > On Mon, 2006-09-25 at 18:39 +0100, Al Viro wrote: > > Far more interesting question: where does the hardware expect to see > > the > > upper 16 bits of that 32bit value? Which one it is - > > LmSEQ_INTEN_SAVE(lseq) > > ori LmSEQ_INTEN_SAVE(lseq) + 2? > > I don't honestly know. The change was made as part of a slew of changes > by Robert Tarte at Adaptec to make the driver run on Big Endian > platforms. I've copied Jack Hammer who's now looking after it in the > hope that he can enlighten us.
This was not Rob. I sent this bad code out in a roll up of support for non-x86 systems (and bad process for not running sparse on the patch which passed the buck onto someone else to find).
I think it might have been for an IA64 offset issue someone was seeing. I cannot find the original mail on the issue in my mail archives.
I will try and track down a IA64 system to see if we can verify this is really needed. If not we should revert back to the original dword implementation.
-andmike -- Michael Anderson andmike@us.ibm.com - 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/
| |