]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/SmBus.h
Change NameGuid to FvFileName
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / SmBus.h
index d2755dd39acd18a8e6b72d6406c94d899877736f..c557e203dd852a149f480617e3b3ac7d8e5e6d29 100644 (file)
 #ifndef _SMBUS_H_\r
 #define _SMBUS_H_\r
 \r
+\r
 //\r
-// Smbus Device Address, Smbus Device Command, Smbus Operations\r
+// UDID of SMBUS device.\r
 //\r
 typedef struct {\r
-  UINTN SmbusDeviceAddress : 7;\r
-} EFI_SMBUS_DEVICE_ADDRESS;\r
-\r
-typedef UINTN EFI_SMBUS_DEVICE_COMMAND;\r
-\r
-typedef enum _EFI_SMBUS_OPERATION\r
-{\r
-  EfiSmbusQuickRead,\r
-  EfiSmbusQuickWrite,\r
-  EfiSmbusReceiveByte,\r
-  EfiSmbusSendByte,\r
-  EfiSmbusReadByte,\r
-  EfiSmbusWriteByte,\r
-  EfiSmbusReadWord,\r
-  EfiSmbusWriteWord,\r
-  EfiSmbusReadBlock,\r
-  EfiSmbusWriteBlock,\r
-  EfiSmbusProcessCall,\r
-  EfiSmbusBWBRProcessCall\r
-} EFI_SMBUS_OPERATION;\r
-\r
-#endif\r
-/** @file\r
-  This file declares the SMBus definitions defined in SmBus Specifciation\r
-  V2.0.\r
-\r
-  Copyright (c) 2007, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-  @par Revision Reference:\r
-  These definitions are defined in System Management Bus (SmBus) Specification V2.0.\r
-\r
-**/\r
-\r
-#ifndef _SMBUS_H_\r
-#define _SMBUS_H_\r
+  UINT32  VendorSpecificId;\r
+  UINT16  SubsystemDeviceId;\r
+  UINT16  SubsystemVendorId;\r
+  UINT16  Interface;\r
+  UINT16  DeviceId;\r
+  UINT16  VendorId;\r
+  UINT8   VendorRevision;\r
+  UINT8   DeviceCapabilities;\r
+} EFI_SMBUS_UDID;\r
 \r
 //\r
 // Smbus Device Address, Smbus Device Command, Smbus Operations\r
@@ -92,3 +60,4 @@ typedef enum _EFI_SMBUS_OPERATION
 } EFI_SMBUS_OPERATION;\r
 \r
 #endif\r
+\r