• K
    [SCSI] mpt2sas : PPC (power pc) endian bug fix's · 463217bf
    Kashyap, Desai 提交于
    (1) EEDP(End to End data protection) was not working. This was due to not
    setting EEDP BlockSize and Flags to little endian format in the message
    frame.
    (2) Some expander sysfs attributes were not getting set properly.  The sas
    format was not getting set due to endian issues with sas_format field in the
    struct rep_manu_reply. Since sas_format was not set properly, the
    component_vendor_id, component_revision_id, and component_id were not set.
    (3) In _transport_smp_handler: we don't need to convert the smid from little
    endian to cpu prior to calling mpt2sas_base_free_smid, because its allready
    in cpu format. (4) Some loginfos and ioc status were not xonverted from
    little endian to cpu.
    Signed-off-by: NKashyap Desai <kashyap.desai@lsi.com>
    Signed-off-by: NEric Moore <Eric.moore@lsi.com>
    Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
    463217bf
mpt2sas_scsih.c 178.2 KB