struct fru_picmgext_amc_link_info {
   unsigned char linkInfo[3];
} __attribute__ ((packed));


            unsigned char type;
            unsigned char ext;
            unsigned char grouping;
            unsigned char port;
            unsigned char enabled;
            d = (struct fru_picmgext_amc_link_info *)&(rsp->data[1 + 
(index*4)]);

            #ifndef WORDS_BIGENDIAN
            /* I don't know what kind of frug addict defined this record */
            port     = d->linkInfo[0] & 0x0F;
            type     = ((d->linkInfo[0] & 0xF0) >> 4 )|(d->linkInfo[1] & 0x0F );
            ext      = ((d->linkInfo[1] & 0xF0) >> 4 );
            grouping = d->linkInfo[2];

            #else
            #error "FIXME"
            #endif

Does anyone know defnition for this record so we can fix bigendian?

-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to