Commit dad3d44d authored by Kurt Van Dijck's avatar Kurt Van Dijck Committed by David S. Miller

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: default avatarKurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19d73f3c
...@@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = { ...@@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = {
}; };
static const struct can_bittiming_const softing_btr_const = { static const struct can_bittiming_const softing_btr_const = {
.name = "softing",
.tseg1_min = 1, .tseg1_min = 1,
.tseg1_max = 16, .tseg1_max = 16,
.tseg2_min = 1, .tseg2_min = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment