Patchwork [v7,1/6] pcie_regs.h: more constants

login
register
mail settings
Submitter Isaku Yamahata
Date Nov. 2, 2010, 9:32 a.m.
Message ID <d1c21bcf3841dd5495dc68067a1c5b60163ba6c6.1288689399.git.yamahata@valinux.co.jp>
Download mbox | patch
Permalink /patch/69888/
State New
Headers show

Comments

Isaku Yamahata - Nov. 2, 2010, 9:32 a.m.
remove unnecessary sizeof.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
---
 hw/pcie_regs.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/pcie_regs.h b/hw/pcie_regs.h
index 3461a1b..4d123d9 100644
--- a/hw/pcie_regs.h
+++ b/hw/pcie_regs.h
@@ -94,7 +94,9 @@ 
 #define PCI_ERR_CAP_MHRE                0x00000400
 #define PCI_ERR_CAP_TLP                 0x00000800
 
+#define PCI_ERR_HEADER_LOG_SIZE         16
 #define PCI_ERR_TLP_PREFIX_LOG          0x38
+#define PCI_ERR_TLP_PREFIX_LOG_SIZE     16
 
 #define PCI_SEC_STATUS_RCV_SYSTEM_ERROR         0x4000