chip.h (c26bf377) | chip.h (f2dbfd32) |
---|---|
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 (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. | 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 (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2018, Joyent, Inc. | 23 * Copyright 2019, Joyent, Inc. |
24 */ 25 26#ifndef _CHIP_H 27#define _CHIP_H 28 29#include <kstat.h> 30#include <libnvpair.h> 31#include <fm/libtopo.h> --- 184 unchanged lines hidden (view full) --- 216extern int chip_fru_smbios_get(topo_mod_t *, id_t); 217extern const char *chip_label_smbios_get(topo_mod_t *, tnode_t *, id_t, char *); 218extern const char *chip_serial_smbios_get(topo_mod_t *, id_t); 219extern const char *chip_part_smbios_get(topo_mod_t *, id_t); 220extern const char *chip_rev_smbios_get(topo_mod_t *, id_t); 221extern id_t memnode_to_smbiosid(topo_mod_t *, uint16_t, const char *, 222 uint64_t, void *); 223 | 24 */ 25 26#ifndef _CHIP_H 27#define _CHIP_H 28 29#include <kstat.h> 30#include <libnvpair.h> 31#include <fm/libtopo.h> --- 184 unchanged lines hidden (view full) --- 216extern int chip_fru_smbios_get(topo_mod_t *, id_t); 217extern const char *chip_label_smbios_get(topo_mod_t *, tnode_t *, id_t, char *); 218extern const char *chip_serial_smbios_get(topo_mod_t *, id_t); 219extern const char *chip_part_smbios_get(topo_mod_t *, id_t); 220extern const char *chip_rev_smbios_get(topo_mod_t *, id_t); 221extern id_t memnode_to_smbiosid(topo_mod_t *, uint16_t, const char *, 222 uint64_t, void *); 223 |
224/* 225 * Prototypes for chip_temp.c 226 */ 227extern int chip_create_chip_temp_sensor(topo_mod_t *, tnode_t *); 228extern int chip_create_core_temp_sensor(topo_mod_t *, tnode_t *); |
|
224 225#ifdef __cplusplus 226} 227#endif 228 229#endif /* _CHIP_H */ | 229 230#ifdef __cplusplus 231} 232#endif 233 234#endif /* _CHIP_H */ |