Skip to content

Commit

Permalink
hdata: Add Axone IOHUB support
Browse files Browse the repository at this point in the history
The PEC / PHB mapping is the same on P9P / Axone as it is on Nimbus
add it to the HDAT parser so we get PCI.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
oohal committed Aug 23, 2019
1 parent 1af237b commit f945230
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hdata/iohub.c
Expand Up @@ -809,6 +809,10 @@ static void io_parse_fru(const void *sp_iohubs)
prlog(PR_INFO, "CEC: Cumulus !\n");
io_add_p9(hub, sp_iohubs);
break;
case CECHUB_HUB_AXONE_HOPPER:
prlog(PR_INFO, "CEC: Axone !\n");
io_add_p9(hub, sp_iohubs);
break;
default:
prlog(PR_ERR, "CEC: Hub ID 0x%04x unsupported !\n",
hub_id);
Expand Down
1 change: 1 addition & 0 deletions hdata/spira.h
Expand Up @@ -650,6 +650,7 @@ struct cechub_io_hub {
#define CECHUB_HUB_NIMBUS_MONZA 0x0021 /* Nimbus+monza from spec */
#define CECHUB_HUB_NIMBUS_LAGRANGE 0x0022 /* Nimbus+lagrange from spec */
#define CECHUB_HUB_CUMULUS_DUOMO 0x0030 /* cumulus+duomo from spec */
#define CECHUB_HUB_AXONE_HOPPER 0x0040 /* axone+hopper */
__be32 ec_level;
__be32 aff_dom2; /* HDAT < v9.x only */
__be32 aff_dom3; /* HDAT < v9.x only */
Expand Down

0 comments on commit f945230

Please sign in to comment.