Browse Source

sfc: Allocate NVRAM partition ID range for PHY images

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Matthew Slattery 12 years ago
parent
commit
bedca866f8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      drivers/net/ethernet/sfc/mcdi_pcol.h

+ 4 - 0
drivers/net/ethernet/sfc/mcdi_pcol.h

@@ -3799,6 +3799,10 @@
 #define          NVRAM_PARTITION_TYPE_DUMP                 0x800
 /* enum: Application license key storage partition */
 #define          NVRAM_PARTITION_TYPE_LICENSE              0x900
+/* enum: Start of range used for PHY partitions (low 8 bits are the PHY ID) */
+#define          NVRAM_PARTITION_TYPE_PHY_MIN              0xa00
+/* enum: End of range used for PHY partitions (low 8 bits are the PHY ID) */
+#define          NVRAM_PARTITION_TYPE_PHY_MAX              0xaff
 /* enum: Start of reserved value range (firmware may use for any purpose) */
 #define          NVRAM_PARTITION_TYPE_RESERVED_VALUES_MIN  0xff00
 /* enum: End of reserved value range (firmware may use for any purpose) */