Commit 8b9d0f81 authored by Mats Karrman's avatar Mats Karrman

Support for EG400, refs #9092

parent dfcf187c
......@@ -1389,8 +1389,8 @@ struct catv_handler * catv_init(struct uci_context *uci_ctx, const char *i2c_bus
return NULL;
}
/* only run on EG300 hardware */
if ( strcasecmp("EG300", p)){
/* only run on EG300/EG400 hardware */
if (strcasecmp("EG300", p) && strcasecmp("EG400", p)) {
free(h);
return NULL;
}
......
......@@ -42,6 +42,11 @@ const struct i2c_sfp i2c_sfp_list[] = {
.ddm_addr = 0x51,
.name = "EG300"
},
{ .bus = "/dev/i2c-1",
.rom_addr = 0x50,
.ddm_addr = 0x51,
.name = "EG400"
},
};
const struct i2c_sfp *i2c_sfp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment