summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/realtek-smi-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dsa/realtek-smi-core.h')
-rw-r--r--drivers/net/dsa/realtek-smi-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/realtek-smi-core.h b/drivers/net/dsa/realtek-smi-core.h
index 5e2e11a26da3..6b6a3dec0984 100644
--- a/drivers/net/dsa/realtek-smi-core.h
+++ b/drivers/net/dsa/realtek-smi-core.h
@@ -71,6 +71,7 @@ struct realtek_smi {
int vlan4k_enabled;
char buf[4096];
+ void *chip_data; /* Per-chip extra variant data */
};
/**
@@ -111,6 +112,7 @@ struct realtek_smi_variant {
unsigned int clk_delay;
u8 cmd_read;
u8 cmd_write;
+ size_t chip_data_sz;
};
/* SMI core calls */