[phantom] Add CLP settings interface
[people/sha0/gpxe.git] / src / drivers / net / phantom / phantom.h
index ad56ad6..17aea28 100644 (file)
@@ -106,6 +106,15 @@ enum unm_reg_blocks {
 #define UNM_CAM_RAM_DMESG_SIG(n)       ( UNM_CAM_RAM + 0x0003c + (n) * 0x10 )
 #define UNM_CAM_RAM_DMESG_SIG_MAGIC            0xcafebabeUL
 #define UNM_CAM_RAM_NUM_DMESG_BUFFERS          5
+#define UNM_CAM_RAM_CLP_COMMAND                ( UNM_CAM_RAM + 0x000c0 )
+#define UNM_CAM_RAM_CLP_COMMAND_LAST           0x00000080UL
+#define UNM_CAM_RAM_CLP_DATA_LO                ( UNM_CAM_RAM + 0x000c4 )
+#define UNM_CAM_RAM_CLP_DATA_HI                ( UNM_CAM_RAM + 0x000c8 )
+#define UNM_CAM_RAM_CLP_STATUS         ( UNM_CAM_RAM + 0x000cc )
+#define UNM_CAM_RAM_CLP_STATUS_START           0x00000001UL
+#define UNM_CAM_RAM_CLP_STATUS_DONE            0x00000002UL
+#define UNM_CAM_RAM_CLP_STATUS_ERROR           0x0000ff00UL
+#define UNM_CAM_RAM_CLP_STATUS_UNINITIALISED   0xffffffffUL
 #define UNM_CAM_RAM_WOL_PORT_MODE      ( UNM_CAM_RAM + 0x00198 )
 #define UNM_CAM_RAM_MAC_ADDRS          ( UNM_CAM_RAM + 0x001c0 )
 #define UNM_CAM_RAM_COLD_BOOT          ( UNM_CAM_RAM + 0x001fc )