Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sfc: Allocate NVRAM partition ID range for PHY images

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

authored by

Matthew Slattery and committed by
Ben Hutchings
bedca866 9c517165

+4
+4
drivers/net/ethernet/sfc/mcdi_pcol.h
··· 3799 3799 #define NVRAM_PARTITION_TYPE_DUMP 0x800 3800 3800 /* enum: Application license key storage partition */ 3801 3801 #define NVRAM_PARTITION_TYPE_LICENSE 0x900 3802 + /* enum: Start of range used for PHY partitions (low 8 bits are the PHY ID) */ 3803 + #define NVRAM_PARTITION_TYPE_PHY_MIN 0xa00 3804 + /* enum: End of range used for PHY partitions (low 8 bits are the PHY ID) */ 3805 + #define NVRAM_PARTITION_TYPE_PHY_MAX 0xaff 3802 3806 /* enum: Start of reserved value range (firmware may use for any purpose) */ 3803 3807 #define NVRAM_PARTITION_TYPE_RESERVED_VALUES_MIN 0xff00 3804 3808 /* enum: End of reserved value range (firmware may use for any purpose) */