CAN: add controller hardware name for Softing cards
authorKurt Van Dijck <kurt.van.dijck@eia.be>
Sun, 20 Feb 2011 23:04:22 +0000 (23:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2011 20:08:48 +0000 (12:08 -0800)
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>
drivers/net/can/softing/softing_main.c

index 5157e15e96eba705a9e5750e0f46e725e3cebc53..aeea9f9ff6e8ac4798feb8d664f2a774f5dc9219 100644 (file)
@@ -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,