[SCSI] pm80xx: Firmware logging support.
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / pm8001 / pm8001_ctl.h
index 63ad4aa0c4222b0240068e7168af6f9ea79c3dd2..d0d43a250b9ed68b273eba9050661d98e07330da 100644 (file)
@@ -45,6 +45,8 @@
 #define HEADER_LEN                     28
 #define SIZE_OFFSET                    16
 
+#define BIOSOFFSET                     56
+#define BIOS_OFFSET_LIMIT              61
 
 #define FLASH_OK                        0x000000
 #define FAIL_OPEN_BIOS_FILE             0x000100
@@ -53,5 +55,9 @@
 #define FAIL_OUT_MEMORY                 0x000c00
 #define FLASH_IN_PROGRESS               0x001000
 
+#define IB_OB_READ_TIMES                256
+#define SYSFS_OFFSET                    1024
+#define PM80XX_IB_OB_QUEUE_SIZE         (32 * 1024)
+#define PM8001_IB_OB_QUEUE_SIZE         (16 * 1024)
 #endif /* PM8001_CTL_H_INCLUDED */