]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/SmBus.h
Add EFI_NETWORK_INTERFACE_TYPE definition
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / SmBus.h
CommitLineData
a7ed1e2e 1/** @file\r
4135253b 2 This file declares the SMBus definitions defined in SmBus Specifciation V2.0.\r
a7ed1e2e 3\r
4135253b 4 Copyright (c) 2007 - 2008, Intel Corporation \r
a7ed1e2e 5 All rights reserved. This program and the accompanying materials \r
6 are licensed and made available under the terms and conditions of the BSD License \r
7 which accompanies this distribution. The full text of the license may be found at \r
8 http://opensource.org/licenses/bsd-license.php \r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
a7ed1e2e 13**/\r
14\r
15#ifndef _SMBUS_H_\r
16#define _SMBUS_H_\r
17\r
18\r
1bc5d021 19///\r
20/// UDID of SMBUS device.\r
21///\r
a7ed1e2e 22typedef struct {\r
23 UINT32 VendorSpecificId;\r
24 UINT16 SubsystemDeviceId;\r
25 UINT16 SubsystemVendorId;\r
26 UINT16 Interface;\r
27 UINT16 DeviceId;\r
28 UINT16 VendorId;\r
29 UINT8 VendorRevision;\r
30 UINT8 DeviceCapabilities;\r
31} EFI_SMBUS_UDID;\r
32\r
1bc5d021 33///\r
4135253b 34/// Smbus Device Address\r
1bc5d021 35///\r
a7ed1e2e 36typedef struct {\r
37 UINTN SmbusDeviceAddress : 7;\r
38} EFI_SMBUS_DEVICE_ADDRESS;\r
39\r
4135253b 40///\r
41/// Smbus Operations\r
42///\r
a7ed1e2e 43typedef enum _EFI_SMBUS_OPERATION\r
44{\r
45 EfiSmbusQuickRead,\r
46 EfiSmbusQuickWrite,\r
47 EfiSmbusReceiveByte,\r
48 EfiSmbusSendByte,\r
49 EfiSmbusReadByte,\r
50 EfiSmbusWriteByte,\r
51 EfiSmbusReadWord,\r
52 EfiSmbusWriteWord,\r
53 EfiSmbusReadBlock,\r
54 EfiSmbusWriteBlock,\r
55 EfiSmbusProcessCall,\r
56 EfiSmbusBWBRProcessCall\r
57} EFI_SMBUS_OPERATION;\r
58\r
59#endif\r
60\r