Skip to content

Commit

Permalink
CAN: add controller hardware name for Softing cards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kurt Van Dijck authored and David S. Miller committed Feb 28, 2011
1 parent 19d73f3 commit dad3d44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/can/softing/softing_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dad3d44

Please sign in to comment.