/*
* 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
*/
/*
*/
/*
* The file has been code generated. Do NOT modify this file directly. Please
* use the sun4v PCIe FMA code generation tool.
*
* This file was generated for the following platforms:
* - Fire
* - N2PIU
* - Rainbow Falls
* - Victoria Falls
*/
#include <sys/pcie_impl.h>
/* ARGSUSED */
static int
{
int err = 0;
/* STOP bit indicates a secondary error. Panic if it is set */
return (PX_PANIC);
case OP_DMA:
case PH_ADDR:
case CND_ILL:
case DIR_WRITE:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_DATA:
case CND_INT:
case DIR_READ:
break;
case DIR_RDWR:
break;
case DIR_UNKNOWN:
break;
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_TO:
case DIR_READ:
break;
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_UE:
case DIR_READ:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_READ:
break;
} /* DIR */
break;
case CND_UNKNOWN:
case DIR_READ:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_PIO:
case PH_ADDR:
case CND_UNMAP:
case DIR_READ:
break;
case DIR_WRITE:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_DATA:
case CND_INT:
case DIR_RDWR:
break;
case DIR_UNKNOWN:
break;
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_ILL:
case DIR_WRITE:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_READ:
break;
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_TO:
case DIR_RDWR:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_UNKNOWN:
case PH_ADDR:
case CND_UNMAP:
case DIR_RDWR:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
case CND_UE:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
} /* CND */
} /* PH */
} /* OP */
return (err);
}
/* ARGSUSED */
static int
{
int err = 0;
/* STOP bit indicates a secondary error. Panic if it is set */
return (PX_PANIC);
case OP_BYPASS:
case PH_ADDR:
case CND_ILL:
case DIR_RDWR:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_UNKNOWN:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_TBW:
case PH_ADDR:
case CND_UNKNOWN:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
case CND_UNMAP:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_DATA:
case CND_INT:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
case CND_UNKNOWN:
case DIR_IRR:
break;
case DIR_UNKNOWN:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_XLAT:
case PH_ADDR:
case CND_ILL:
case DIR_RDWR:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
case CND_IRR:
case DIR_IRR:
break;
} /* DIR */
break;
case CND_PROT:
case DIR_RDWR:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
case CND_UNMAP:
case DIR_RDWR:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
} /* CND */
break;
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
case CND_INV:
case DIR_RDWR:
err = PX_NO_PANIC;
break;
case DIR_UNKNOWN:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
case CND_IRR:
case DIR_IRR:
break;
} /* DIR */
break;
case CND_PROT:
case DIR_RDWR:
err = PX_NO_PANIC;
break;
case DIR_WRITE:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
} /* CND */
} /* PH */
} /* OP */
err = PX_NO_PANIC;
return (err);
}
/* ARGSUSED */
static int
{
int err = 0;
/* STOP bit indicates a secondary error. Panic if it is set */
return (PX_PANIC);
case OP_FIXED:
case PH_UNKNOWN:
case CND_ILL:
case DIR_INGRESS:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_MSI32:
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_MSI64:
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_MSIQ:
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
case CND_OV:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_PCIEMSG:
case PH_UNKNOWN:
case CND_ILL:
case DIR_INGRESS:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_UNKNOWN:
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
break;
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_UNKNOWN:
case CND_ILL:
case DIR_IRR:
break;
} /* DIR */
} /* CND */
} /* PH */
} /* OP */
return (err);
}
/* ARGSUSED */
static int
{
int err = 0;
/* STOP bit indicates a secondary error. Panic if it is set */
return (PX_PANIC);
case OP_DMA:
case PH_DATA:
case CND_INT:
case DIR_READ:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_LINK:
case PH_FC:
case CND_TO:
case DIR_IRR:
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_PIO:
case PH_DATA:
case CND_INT:
case DIR_READ:
break;
case DIR_UNKNOWN:
break;
} /* DIR */
break;
} /* CND */
break;
case PH_IRR:
case CND_INV:
case DIR_RDWR:
break;
} /* DIR */
break;
case CND_RCA:
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_RUR:
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_TO:
case DIR_WRITE:
break;
} /* DIR */
break;
case CND_UC:
case DIR_IRR:
err = PX_NO_PANIC;
break;
} /* DIR */
break;
} /* CND */
break;
} /* PH */
break;
case OP_UNKNOWN:
case PH_DATA:
case CND_INT:
case DIR_UNKNOWN:
break;
} /* DIR */
} /* CND */
} /* PH */
} /* OP */
return (err);
}