mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
CAN: add controller hardware name for Softing cards
I just found that the controller hardware name is not set for the Softing driver. After this patch, "$ ip -d link show" looks nicer. Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
19d73f3c6f
commit
dad3d44dcb
@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = {
|
||||
};
|
||||
|
||||
static const struct can_bittiming_const softing_btr_const = {
|
||||
.name = "softing",
|
||||
.tseg1_min = 1,
|
||||
.tseg1_max = 16,
|
||||
.tseg2_min = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user