net: dsa: add support for ksz9897 ethernet switch
ksz9477 is superset of ksz9xx series, driver just works out of the box for ksz9897 chip with this patch. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
7797b93b75
commit
4531681837
@@ -195,6 +195,7 @@ static int ksz_spi_remove(struct spi_device *spi)
|
||||
|
||||
static const struct of_device_id ksz_dt_ids[] = {
|
||||
{ .compatible = "microchip,ksz9477" },
|
||||
{ .compatible = "microchip,ksz9897" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, ksz_dt_ids);
|
||||
|
Reference in New Issue
Block a user