... and while we are at it, for (miter = 0, s = optrom, d = dwptr; miter < OPTROM_BURST_DWORDS; miter++, s++, d++) *s = cpu_to_le32(*d); ret = qla2x00_load_ram(ha, optrom_dma, flash_data_to_access_addr(faddr), OPTROM_BURST_DWORDS); in qla24xx_write_flash_data() looks bloody odd. We have dwptr pointing to fixed-endian data, so conversion gets us host-endian and then we pass the area filled with results of conversion for DMA? And yes, dwptr points to fixed-endian - it comes from qla24xx_write_optrom_data(struct scsi_qla_host *ha, uint8_t *buf, uint32_t offset, uint32_t length) { ... rval = qla24xx_write_flash_data(ha, (uint32_t *)buf, offset >> 2, length >> 2); Comments? -- 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