Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/net/dsa/microchip/ksz_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,7 @@ const struct ksz_chip_data ksz_switch_chips[] = {
.num_vlans = 4096,
.num_alus = 1024,
.num_statics = 256,
.cpu_ports = 0x30, /* can be configured as cpu port */
.cpu_ports = 0x38, /* can be configured as cpu port */
.port_cnt = 8, /* total physical port count */
.port_nirqs = 6,
.num_tx_queues = 8,
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/dsa/microchip/lan937x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ void lan937x_config_cpu_port(struct dsa_switch *ds)

/* enable cpu port */
lan937x_port_setup(dev, dp->index, true);
} else {
dev_warn(ds->dev, "port %d cannot be used as cpu port on this device.\n", dp->index);
}
}

Expand Down