nxge_hio.h revision ef523517a9229b22f61e722d44116e21a7a2675a
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */ * ------------------------------------------------------------- * These definitions are used to handle the virtual PIO_LDSV * ------------------------------------------------------------- /* ------------------------------------------------------------------ */ int rdc_tbl;
/* 1 of 8 RDC tables. */ int tdc_tbl;
/* 1 of 8 TDC tables. */ int slot;
/* According to nxge_m_mmac_add(). */ int vector;
/* The DDI vector number (index) */ * ------------------------------------------------------------- * The service domain driver makes use of both <index>, the index * into a VR's virtual page, and <channel>, the absolute channel * number, what we will call here the physical channel number. * The guest domain will set both fields to the same value, since * it doesn't know any better. And if a service domain owns a * DMA channel, it will also set both fields to the same value, * since it is not using a VR per se. * ------------------------------------------------------------- * <channel> has its normal meaning. <page> refers to the * virtual page of the VR that <channel> has been bound to. * Therefore, in the service domain, <page> & <channel> * are almost always different. While in a guest domain, * they are always the same. /* vr[0] is reserved for the service domain. */ * ------------------------------------------------------------- * ------------------------------------------------------------- * --------------------------------------------------------------------- * These are the general-purpose DMA channel group functions. That is, * these functions are used to manage groups of TDCs or RDCs in an HIO * But is also expected that in the future they will be able to manage * --------------------------------------------------------------------- * --------------------------------------------------------------------- * These are the Sun4v HIO function prototypes. * --------------------------------------------------------------------- #
endif /* _SYS_NXGE_NXGE_HIO_H */