提交 4630d142 编写于 作者: R Rakesh Sankaranarayanan 提交者: David S. Miller

net: dsa: microchip: ksz8563: Add number of port irq

KSZ8563 have three port interrupts: PTP, PHY and ACL. Add
port_nirq as 3 for KSZ8563 inside ksz_chip_data.
Signed-off-by: NRakesh Sankaranarayanan <rakesh.sankaranarayanan@microchip.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e06999c3
...@@ -1039,6 +1039,7 @@ const struct ksz_chip_data ksz_switch_chips[] = { ...@@ -1039,6 +1039,7 @@ const struct ksz_chip_data ksz_switch_chips[] = {
.num_statics = 16, .num_statics = 16,
.cpu_ports = 0x07, /* can be configured as cpu port */ .cpu_ports = 0x07, /* can be configured as cpu port */
.port_cnt = 3, /* total port count */ .port_cnt = 3, /* total port count */
.port_nirqs = 3,
.ops = &ksz9477_dev_ops, .ops = &ksz9477_dev_ops,
.mib_names = ksz9477_mib_names, .mib_names = ksz9477_mib_names,
.mib_cnt = ARRAY_SIZE(ksz9477_mib_names), .mib_cnt = ARRAY_SIZE(ksz9477_mib_names),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册