Skip to content

Commit

Permalink
hdat: add new sppcrd_chip_info fields
Browse files Browse the repository at this point in the history
A number of new fields have been defined over the last few HDAT versions
that we have not used up until this point. This patch adds them to the
structure.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[stewart@linux.vnet.ibm.com: add 'possibly' around field that only maybe is in
 0x20 of spec. Spotted by Vasant]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
oohal authored and stewartsmith committed Jan 15, 2017
1 parent 371e88e commit 7c5c6ca
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions hdata/spira.h
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,19 @@ struct sppcrd_chip_info {
__be32 reserved;
__be32 dbob_id;
__be32 occ_state;
/* Version 0xC - none of these are used */
__be32 processor_fru_id;
__be32 chip_ec_level;
__be32 hw_module_id;
__be32 hw_card_id;
__be32 internal_drawer_nid;
__be32 ccm_nid;
/* Version 0xD */
__be32 capp0_func_state;
/* Version 0xE */
__be32 capp1_func_state;
/* *possibly* from Version 0x20 - check spec */
__be32 stop_levels;
} __packed;

/* Idata index 1 : Chip TOD */
Expand Down

0 comments on commit 7c5c6ca

Please sign in to comment.