pci_cfgacc_4u.c revision 586fe2c2bfa4216c91ca1ccaf9b43738d60ede7e
/*
* 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
*/
/*
*/
#include <sys/sysmacros.h>
#include <sys/pcie_impl.h>
#include <sys/machsystm.h>
#include <sys/byteorder.h>
#include <sys/pci_cfgacc.h>
/* RC BDF Shift in a Phyiscal Address */
#define RC_PA_BDF_SHIFT 12
static boolean_t
{
return (B_TRUE);
return (B_FALSE);
}
/*
*/
static uint64_t
{
switch (size) {
case 1:
break;
case 2:
break;
case 4:
break;
case 8:
break;
default:
return ((uint64_t)-1);
}
}
static void
{
switch (size) {
case 1:
break;
case 2:
break;
case 4:
break;
case 8:
break;
default:
break;
}
}
void
{
if (!pci_cfgacc_valid(req))
return;
} else {
}
}