px_lib4u.c (f9721e07) px_lib4u.c (b65731f1)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 6 unchanged lines hidden (view full) ---

15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 6 unchanged lines hidden (view full) ---

15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#pragma ident "%Z%%M% %I% %E% SMI"
28
29#include <sys/types.h>
30#include <sys/kmem.h>
31#include <sys/conf.h>

--- 5 unchanged lines hidden (view full) ---

37#include <sys/disp.h>
38#include <sys/stat.h>
39#include <sys/ddi_impldefs.h>
40#include <sys/vmem.h>
41#include <sys/iommutsb.h>
42#include <sys/cpuvar.h>
43#include <sys/ivintr.h>
44#include <sys/byteorder.h>
24 * Use is subject to license terms.
25 */
26
27#pragma ident "%Z%%M% %I% %E% SMI"
28
29#include <sys/types.h>
30#include <sys/kmem.h>
31#include <sys/conf.h>

--- 5 unchanged lines hidden (view full) ---

37#include <sys/disp.h>
38#include <sys/stat.h>
39#include <sys/ddi_impldefs.h>
40#include <sys/vmem.h>
41#include <sys/iommutsb.h>
42#include <sys/cpuvar.h>
43#include <sys/ivintr.h>
44#include <sys/byteorder.h>
45#include <sys/hotplug/pci/pciehpc.h>
45#include <px_obj.h>
46#include <pcie_pwr.h>
47#include <px_regs.h>
48#include <px_csr.h>
49#include <sys/machsystm.h>
50#include "px_lib4u.h"
51#include "px_err.h"
52

--- 1967 unchanged lines hidden (view full) ---

2020/*
2021 * remove cpr callback
2022 */
2023void
2024px_cpr_rem_callb(px_t *px_p)
2025{
2026 (void) callb_delete(px_p->px_cprcb_id);
2027}
46#include <px_obj.h>
47#include <pcie_pwr.h>
48#include <px_regs.h>
49#include <px_csr.h>
50#include <sys/machsystm.h>
51#include "px_lib4u.h"
52#include "px_err.h"
53

--- 1967 unchanged lines hidden (view full) ---

2021/*
2022 * remove cpr callback
2023 */
2024void
2025px_cpr_rem_callb(px_t *px_p)
2026{
2027 (void) callb_delete(px_p->px_cprcb_id);
2028}
2029
2030/*ARGSUSED*/
2031int
2032px_lib_hotplug_init(dev_info_t *dip, void *arg)
2033{
2034 return (DDI_ENOTSUP);
2035}
2036
2037/*ARGSUSED*/
2038void
2039px_lib_hotplug_uninit(dev_info_t *dip)
2040{
2041}