PC Card Standard, 8.0\r
PCI Power Management Interface Specifiction, Revision 1.2\r
\r
- Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
Copyright (c) 2014 - 2015, Hewlett-Packard Development Company, L.P.<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
///\r
} EFI_PCI_CAPABILITY_HOTPLUG;\r
\r
-#define DEVICE_ID_NOCARE 0xFFFF\r
+///\r
+/// Below macros (till PCI_BAR_NOCHANGE) were used by EfiIncompatiblePciDeviceSupport Protocol.\r
+///\r
+#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
+\r
+///\r
+/// [ATTENTION] These macros are deprecated because they don't match Spec or not defined in Spec.\r
+///\r
+#define DEVICE_ID_NOCARE 0xFFFF ///< Deprecated. Value doesn't match Spec.\r
+#define PCI_BAR_OLD_ALIGN 0xFFFFFFFFFFFFFFFFULL ///< Deprecated. Value isn't defined in Spec.\r
+#define PCI_BAR_EVEN_ALIGN 0xFFFFFFFFFFFFFFFEULL ///< Deprecated. Value isn't defined in Spec.\r
+#define PCI_BAR_SQUAD_ALIGN 0xFFFFFFFFFFFFFFFDULL ///< Deprecated. Value isn't defined in Spec.\r
+#define PCI_BAR_DQUAD_ALIGN 0xFFFFFFFFFFFFFFFCULL ///< Deprecated. Value isn't defined in Spec.\r
+#define PCI_BAR_ALL 0xFF ///< Deprecated. Value doesn't match Spec.\r
+#define PCI_ACPI_UNUSED 0 ///< Deprecated. Macro name is too general.\r
+#define PCI_BAR_NOCHANGE 0 ///< Deprecated. Macro name is too general.\r
\r
-#define PCI_ACPI_UNUSED 0\r
-#define PCI_BAR_NOCHANGE 0\r
-#define PCI_BAR_OLD_ALIGN 0xFFFFFFFFFFFFFFFFULL\r
-#define PCI_BAR_EVEN_ALIGN 0xFFFFFFFFFFFFFFFEULL\r
-#define PCI_BAR_SQUAD_ALIGN 0xFFFFFFFFFFFFFFFDULL\r
-#define PCI_BAR_DQUAD_ALIGN 0xFFFFFFFFFFFFFFFCULL\r
+#endif\r
\r
#define PCI_BAR_IDX0 0x00\r
#define PCI_BAR_IDX1 0x01\r
#define PCI_BAR_IDX3 0x03\r
#define PCI_BAR_IDX4 0x04\r
#define PCI_BAR_IDX5 0x05\r
-#define PCI_BAR_ALL 0xFF\r
\r
///\r
/// EFI PCI Option ROM definitions\r