Re: [PATCH] tmscsim: clean up endianness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2006-10-08 at 22:24 +0200, Guennadi Liakhovetski wrote:
> -               pSRB->SGBusAddr =
> cpu_to_le32(pci_dma_lo32(sg_dma_address(psgl)));
> -               pSRB->SGToBeXferLen = cpu_to_le32(sg_dma_len(psgl));
> +               pSRB->SGBusAddr = sg_dma_address(psgl);
> +               pSRB->SGToBeXferLen = sg_dma_len(psgl);

Are you sure that's what you want to do?  Your Scsi Request Block must
therefore be purely internal to the driver and not passed across to the
card in any way, is that correct?

James


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux