summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Slattery <mslattery@solarflare.com>2013-08-23 17:32:55 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-08-29 18:12:17 +0100
commitbedca866f854daa1f6b9a9c3e94949567cdc3409 (patch)
treea30ac5d17de87b961d43631c45c70e213ca9ba87
parent9c51716512c1e73523b685f389fbb748c15436e4 (diff)
downloadblackbird-op-linux-bedca866f854daa1f6b9a9c3e94949567cdc3409.tar.gz
blackbird-op-linux-bedca866f854daa1f6b9a9c3e94949567cdc3409.zip
sfc: Allocate NVRAM partition ID range for PHY images
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-rw-r--r--drivers/net/ethernet/sfc/mcdi_pcol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi_pcol.h b/drivers/net/ethernet/sfc/mcdi_pcol.h
index 9e824f74e8a1..b5cf62492f8e 100644
--- a/drivers/net/ethernet/sfc/mcdi_pcol.h
+++ b/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) */
OpenPOWER on IntegriCloud