summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/hotplug')
-rw-r--r--usr/src/uts/common/sys/hotplug/hpcsvc.h15
-rw-r--r--usr/src/uts/common/sys/hotplug/hpctrl.h13
2 files changed, 4 insertions, 24 deletions
diff --git a/usr/src/uts/common/sys/hotplug/hpcsvc.h b/usr/src/uts/common/sys/hotplug/hpcsvc.h
index 9975731c64..7ef8935cef 100644
--- a/usr/src/uts/common/sys/hotplug/hpcsvc.h
+++ b/usr/src/uts/common/sys/hotplug/hpcsvc.h
@@ -21,6 +21,8 @@
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1999-2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
@@ -28,8 +30,6 @@
#ifndef _SYS_HOTPLUG_HPCSVC_H
#define _SYS_HOTPLUG_HPCSVC_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/hotplug/hpctrl.h>
#ifdef __cplusplus
@@ -40,7 +40,6 @@ extern "C" {
#define HPC_EVENT_NORMAL 0 /* normal, queued event handling */
#define HPC_EVENT_SYNCHRONOUS 1 /* unqueued sync. event handling */
-#ifdef __STDC__
extern int hpc_nexus_register_bus(dev_info_t *dip,
int (* callback)(dev_info_t *dip, hpc_slot_t handle,
hpc_slot_info_t *slot_info, int slot_state),
@@ -54,16 +53,6 @@ extern int hpc_nexus_control(hpc_slot_t handle, int request, caddr_t arg);
extern int hpc_install_event_handler(hpc_slot_t handle, uint_t event_mask,
int (*event_handler)(caddr_t, uint_t), caddr_t arg);
extern int hpc_remove_event_handler(hpc_slot_t handle);
-#else
-extern int hpc_nexus_register_bus();
-extern int hpc_nexus_unregister_bus();
-extern int hpc_nexus_connect();
-extern int hpc_nexus_disconnect();
-extern int hpc_nexus_insert();
-extern int hpc_nexus_remove();
-extern int hpc_nexus_control();
-extern int hpc_install_event_handler();
-#endif
#ifdef __cplusplus
}
diff --git a/usr/src/uts/common/sys/hotplug/hpctrl.h b/usr/src/uts/common/sys/hotplug/hpctrl.h
index 1d1c83a8af..1fbd75964e 100644
--- a/usr/src/uts/common/sys/hotplug/hpctrl.h
+++ b/usr/src/uts/common/sys/hotplug/hpctrl.h
@@ -20,6 +20,8 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -27,8 +29,6 @@
#ifndef _SYS_HOTPLUG_HPCTRL_H
#define _SYS_HOTPLUG_HPCTRL_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ****************************************************************
* Hot Plug Controller interfaces for PCI and CompactPCI platforms.
@@ -270,7 +270,6 @@ typedef enum { HPC_BOARD_UNKNOWN, HPC_BOARD_PCI_HOTPLUG,
* function prototype definitions for interfaces between HPC driver
* and Hot Plug Services framework.
*/
-#ifdef __STDC__
extern int hpc_slot_register(dev_info_t *dip, char *bus_path,
hpc_slot_info_t *slot_info, hpc_slot_t *slot_hdl,
hpc_slot_ops_t *slot_ops, caddr_t ops_arg, uint_t flags);
@@ -280,14 +279,6 @@ extern void hpc_free_slot_ops(hpc_slot_ops_t *ops);
extern int hpc_slot_event_notify(hpc_slot_t slot_hdl, uint_t event,
uint_t flags);
extern boolean_t hpc_bus_registered(hpc_slot_t slot_hdl);
-#else
-extern int hpc_slot_register();
-extern int hpc_slot_unregister();
-extern struct hpc_slot_ops *hpc_alloc_slot_ops();
-extern void hpc_free_slot_ops();
-extern int hpc_slot_event_notify();
-extern boolean_t hpc_bus_registered();
-#endif /* __STDC__ */
/*
* *****************************************************************