summaryrefslogtreecommitdiffstats
path: root/include/APE_DEVICE3.h
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-01-29 20:54:08 -0700
committerGitHub <noreply@github.com>2020-01-29 20:54:08 -0700
commit3479bccff3e1a45efefdd5bc178a97d4f43b18cf (patch)
tree6c333e5f4132d68642c9e1336adb720dd1da0d9e /include/APE_DEVICE3.h
parentd0e143ed6a338dc33241563d8784de8075ab8e3f (diff)
downloadbcm5719-ortega-3479bccff3e1a45efefdd5bc178a97d4f43b18cf.tar.gz
bcm5719-ortega-3479bccff3e1a45efefdd5bc178a97d4f43b18cf.zip
ipxact: Update ipxact and regenerate to include updated error checking. (#19)
Diffstat (limited to 'include/APE_DEVICE3.h')
-rw-r--r--include/APE_DEVICE3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/APE_DEVICE3.h b/include/APE_DEVICE3.h
index 38589d2..a81413e 100644
--- a/include/APE_DEVICE3.h
+++ b/include/APE_DEVICE3.h
@@ -220,7 +220,7 @@ typedef uint32_t APE_DEVICE3_H_uint32_t;
#define REG_DEVICE3_EXPANSION_ROM_ADDR ((volatile APE_DEVICE3_H_uint32_t*)0xa00768ec) /* Expansion ROM base address, expect to be d- word aligned. */
#define REG_DEVICE3_68F0 ((volatile APE_DEVICE3_H_uint32_t*)0xa00768f0) /* */
#define REG_DEVICE3_EAV_REF_CLOCK_CONTROL ((volatile APE_DEVICE3_H_uint32_t*)0xa0076908) /* */
-#define REG_DEVICE3_7C04 ((volatile APE_DEVICE3_H_uint32_t*)0xa0077c04) /* PCIe-related. tg3 driver calls this */
+#define REG_DEVICE3_7C04 ((volatile APE_DEVICE3_H_uint32_t*)0xa0077c04) /* PCIe Transaction Cfg */
/** @brief Device Registers, function 3 */
extern volatile DEVICE_t DEVICE3;
@@ -235,6 +235,10 @@ extern volatile DEVICE_t DEVICE3;
#undef BITFIELD_MEMBER
#undef BITFIELD_END
+#ifndef CXX_SIMULATOR
+_Static_assert(sizeof(DEVICE_t) == 31752, "sizeof(DEVICE_t) must be 31752");
+#endif
+
#endif /* !APE_DEVICE3_H */
/** @} */
OpenPOWER on IntegriCloud