OSDN Git Service

net: dsa: add support for ksz9897 ethernet switch
[tomoyo/tomoyo-test1.git] / drivers / net / dsa / microchip / ksz_common.c
index 7210c49..54e0ca6 100644 (file)
@@ -1102,6 +1102,15 @@ static const struct ksz_chip_data ksz_switch_chips[] = {
                .cpu_ports = 0x7F,      /* can be configured as cpu port */
                .port_cnt = 7,          /* total physical port count */
        },
+       {
+               .chip_id = 0x00989700,
+               .dev_name = "KSZ9897",
+               .num_vlans = 4096,
+               .num_alus = 4096,
+               .num_statics = 16,
+               .cpu_ports = 0x7F,      /* can be configured as cpu port */
+               .port_cnt = 7,          /* total physical port count */
+       },
 };
 
 static int ksz_switch_init(struct ksz_device *dev)