Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
All conflicts seemed rather trivial, with some guidance from Saeed Mameed on the tc_ct.c one. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1251,6 +1251,9 @@ static int ksz8795_switch_init(struct ksz_device *dev)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/* set the real number of ports */
|
||||
dev->ds->num_ports = dev->port_cnt;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -1570,6 +1570,9 @@ static int ksz9477_switch_init(struct ksz_device *dev)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
/* set the real number of ports */
|
||||
dev->ds->num_ports = dev->port_cnt;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -79,6 +79,7 @@ MODULE_DEVICE_TABLE(i2c, ksz9477_i2c_id);
|
||||
static const struct of_device_id ksz9477_dt_ids[] = {
|
||||
{ .compatible = "microchip,ksz9477" },
|
||||
{ .compatible = "microchip,ksz9897" },
|
||||
{ .compatible = "microchip,ksz9893" },
|
||||
{ .compatible = "microchip,ksz9567" },
|
||||
{},
|
||||
};
|
||||
|
Reference in New Issue
Block a user