netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] CAN: add controller hardware name for Softing cards
@ 2011-02-21  9:04 Kurt Van Dijck
  2011-02-21  9:13 ` Marc Kleine-Budde
  0 siblings, 1 reply; 4+ messages in thread
From: Kurt Van Dijck @ 2011-02-21  9:04 UTC (permalink / raw)
  To: netdev

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>
---
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c
index 5157e15..aeea9f9 100644
--- a/drivers/net/can/softing/softing_main.c
+++ b/drivers/net/can/softing/softing_main.c
@@ -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,

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-28 20:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21  9:04 [PATCH] CAN: add controller hardware name for Softing cards Kurt Van Dijck
2011-02-21  9:13 ` Marc Kleine-Budde
2011-02-21 17:26   ` OT: " Oliver Hartkopp
2011-02-28 20:09   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).