/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _PCI_I86PC_H
#define _PCI_I86PC_H
#include <pcibus_labels.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Data for label lookup based on existing slot label.
*
* Platforms may need entries here if the slot labels
* provided by firmware are incorrect.
*
* Note that re-writing to NULL provides a way of getting rid of totally
* spurious labels.
*/
/* from hw, should be, test func */
};
/* from hw, should be, test func */
};
/* from hw, should be, test func */
};
{ "Sun-Fire-X4600",
sizeof (x4600_rewrites) / sizeof (slot_rwd_t),
{ "Sun-Fire-X4600-M2",
sizeof (x4600_rewrites) / sizeof (slot_rwd_t),
{ "Sun-Fire-X4250",
sizeof (x4250_rewrites) / sizeof (slot_rwd_t),
{ "Netra-X4200-M2",
sizeof (netra_x4200_rewrites) / sizeof (slot_rwd_t),
};
sizeof (plat_rewrites) / sizeof (plat_rwd_t),
};
/*
* Data for label lookup based on device info.
*
* Platforms need entries here if there is no physical slot number
* or slot-names.
*/
/* board, bridge, root-complex, bus, dev, label, test func */
};
/* board, bridge, root-complex, bus, dev, label, test func */
};
/* board, bridge, root-complex, bus, dev, label, test func */
};
/* board, bridge, root-complex, bus, dev, label, test func */
};
{ "Sun-Fire-X4600",
sizeof (x4600_missing) / sizeof (devlab_t),
{ "Sun-Fire-X4600-M2",
sizeof (x4600m2_missing) / sizeof (devlab_t),
{ "Sun-Fire-X4250",
sizeof (x4250_missing) / sizeof (devlab_t),
{ "Netra-X4200-M2",
sizeof (netra_x4200_missing) / sizeof (devlab_t),
};
/* Slot #, Label */
{ 37, "PCIe 0" },
{ 32, "PCIe 1" }
};
/* Slot #, Label */
{ 37, "PCIe 0" },
{ 32, "PCIe 1" }
};
/* Slot #, Label */
{ 6, "PCIe 0" }
};
/* Slot #, Label */
{ 55, "PCIe 0" }
};
/* Slot #, Label */
{ 1, "PCIe 0" },
{ 2, "PCIe 1" },
{ 3, "PCIe 2" }
};
/* Slot #, Label */
{ 1, "PCIe 0" },
{ 2, "PCIe 1" },
{ 3, "PCIe 2" },
{ 4, "PCIe 3" },
{ 5, "PCIe 4" },
{ 6, "PCIe 5" }
};
/* Slot #, Label */
{ 1, "PCIe 0" },
{ 2, "PCIe 1" },
{ 3, "PCIe 2" },
{ 4, "PCIe 3" },
{ 5, "PCIe 4" },
{ 6, "PCIe 5" }
};
/* Slot #, Label */
{ 1, "PCIe 0" },
{ 2, "PCIe 1" },
{ 3, "PCIe 2" },
{ 5, "PCIe 4" },
{ 6, "PCIe 5" }
};
/* Slot #, Label */
{ 40, "PCIe 0" },
{ 48, "PCIe 1" },
{ 50, "PCIe 2" }
};
/* Slot #, Label */
{ 52, "PCIe 0" },
{ 54, "PCIe 1" },
{ 40, "PCIe 2" },
{ 49, "PCIe 3" },
{ 51, "PCIe 4" },
{ 41, "PCIe 5" }
};
{ "X2100-M2",
sizeof (x2100m2_pnms) / sizeof (physnm_t),
x2100m2_pnms },
{ "Sun-Fire-X2100-M2",
sizeof (x2100m2_pnms) / sizeof (physnm_t),
x2100m2_pnms },
{ "X2200-M2",
sizeof (x2200m2_pnms) / sizeof (physnm_t),
x2200m2_pnms },
{ "Sun-Fire-X2200-M2",
sizeof (x2200m2_pnms) / sizeof (physnm_t),
x2200m2_pnms },
{ "Sun-Fire-X2250",
sizeof (x2250_pnms) / sizeof (physnm_t),
x2250_pnms },
{ "Sun-Fire-X2270",
sizeof (x2270_pnms) / sizeof (physnm_t),
x2270_pnms },
{ "Sun-Fire-X4170",
sizeof (x4170_pnms) / sizeof (physnm_t),
x4170_pnms },
{ "Sun-Fire-X4270",
sizeof (x4270_pnms) / sizeof (physnm_t),
x4270_pnms },
{ "Sun-Fire-X4275",
sizeof (x4275_pnms) / sizeof (physnm_t),
x4275_pnms },
{ "Sun-Fire-X4170-Server",
sizeof (x4170_pnms) / sizeof (physnm_t),
x4170_pnms },
{ "Sun-Fire-X4270-Server",
sizeof (x4270_pnms) / sizeof (physnm_t),
x4270_pnms },
{ "Sun-Fire-X4275-Server",
sizeof (x4275_pnms) / sizeof (physnm_t),
x4275_pnms },
{ "Sun-Netra-X4270",
sizeof (netra4270_pnms) / sizeof (physnm_t),
{ "Sun-Fire-X4150",
sizeof (x4150_pnms) / sizeof (physnm_t),
x4150_pnms },
{ "Sun-Fire-X4450",
sizeof (x4450_pnms) / sizeof (physnm_t),
};
sizeof (plats_missing) / sizeof (pdevlabs_t),
};
sizeof (plat_pnames) / sizeof (pphysnm_t),
};
#ifdef __cplusplus
}
#endif
#endif /* _PCI_I86PC_H */